devtools-protocol 0.0.1484773 → 0.0.1487398

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7892,6 +7892,33 @@
7892
7892
  "$ref": "NodeId"
7893
7893
  }
7894
7894
  ]
7895
+ },
7896
+ {
7897
+ "name": "forceShowPopover",
7898
+ "description": "When enabling, this API force-opens the popover identified by nodeId\nand keeps it open until disabled.",
7899
+ "experimental": true,
7900
+ "parameters": [
7901
+ {
7902
+ "name": "nodeId",
7903
+ "description": "Id of the popover HTMLElement",
7904
+ "$ref": "NodeId"
7905
+ },
7906
+ {
7907
+ "name": "enable",
7908
+ "description": "If true, opens the popover and keeps it open. If false, closes the\npopover if it was previously force-opened.",
7909
+ "type": "boolean"
7910
+ }
7911
+ ],
7912
+ "returns": [
7913
+ {
7914
+ "name": "nodeIds",
7915
+ "description": "List of popovers that were closed in order to respect popover stacking order.",
7916
+ "type": "array",
7917
+ "items": {
7918
+ "$ref": "NodeId"
7919
+ }
7920
+ }
7921
+ ]
7895
7922
  }
7896
7923
  ],
7897
7924
  "events": [
@@ -18300,6 +18327,7 @@
18300
18327
  "accelerometer",
18301
18328
  "all-screens-capture",
18302
18329
  "ambient-light-sensor",
18330
+ "aria-notify",
18303
18331
  "attribution-reporting",
18304
18332
  "autoplay",
18305
18333
  "bluetooth",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1484773",
3
+ "version": "0.0.1487398",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -3751,6 +3751,19 @@ domain DOM
3751
3751
  # The anchor element of the given anchor query.
3752
3752
  NodeId nodeId
3753
3753
 
3754
+ # When enabling, this API force-opens the popover identified by nodeId
3755
+ # and keeps it open until disabled.
3756
+ experimental command forceShowPopover
3757
+ parameters
3758
+ # Id of the popover HTMLElement
3759
+ NodeId nodeId
3760
+ # If true, opens the popover and keeps it open. If false, closes the
3761
+ # popover if it was previously force-opened.
3762
+ boolean enable
3763
+ returns
3764
+ # List of popovers that were closed in order to respect popover stacking order.
3765
+ array of NodeId nodeIds
3766
+
3754
3767
  # Fired when `Element`'s attribute is modified.
3755
3768
  event attributeModified
3756
3769
  parameters
@@ -8609,6 +8622,7 @@ domain Page
8609
8622
  accelerometer
8610
8623
  all-screens-capture
8611
8624
  ambient-light-sensor
8625
+ aria-notify
8612
8626
  attribution-reporting
8613
8627
  autoplay
8614
8628
  bluetooth
@@ -2620,6 +2620,14 @@ export namespace ProtocolMapping {
2620
2620
  paramsType: [Protocol.DOM.GetAnchorElementRequest];
2621
2621
  returnType: Protocol.DOM.GetAnchorElementResponse;
2622
2622
  };
2623
+ /**
2624
+ * When enabling, this API force-opens the popover identified by nodeId
2625
+ * and keeps it open until disabled.
2626
+ */
2627
+ 'DOM.forceShowPopover': {
2628
+ paramsType: [Protocol.DOM.ForceShowPopoverRequest];
2629
+ returnType: Protocol.DOM.ForceShowPopoverResponse;
2630
+ };
2623
2631
  /**
2624
2632
  * Returns event listeners of the given object.
2625
2633
  */
@@ -1642,6 +1642,12 @@ export namespace ProtocolProxyApi {
1642
1642
  */
1643
1643
  getAnchorElement(params: Protocol.DOM.GetAnchorElementRequest): Promise<Protocol.DOM.GetAnchorElementResponse>;
1644
1644
 
1645
+ /**
1646
+ * When enabling, this API force-opens the popover identified by nodeId
1647
+ * and keeps it open until disabled.
1648
+ */
1649
+ forceShowPopover(params: Protocol.DOM.ForceShowPopoverRequest): Promise<Protocol.DOM.ForceShowPopoverResponse>;
1650
+
1645
1651
  /**
1646
1652
  * Fired when `Element`'s attribute is modified.
1647
1653
  */
@@ -1726,6 +1726,12 @@ export namespace ProtocolTestsProxyApi {
1726
1726
  */
1727
1727
  getAnchorElement(params: Protocol.DOM.GetAnchorElementRequest): Promise<{id: number, result: Protocol.DOM.GetAnchorElementResponse, sessionId: string}>;
1728
1728
 
1729
+ /**
1730
+ * When enabling, this API force-opens the popover identified by nodeId
1731
+ * and keeps it open until disabled.
1732
+ */
1733
+ forceShowPopover(params: Protocol.DOM.ForceShowPopoverRequest): Promise<{id: number, result: Protocol.DOM.ForceShowPopoverResponse, sessionId: string}>;
1734
+
1729
1735
  /**
1730
1736
  * Fired when `Element`'s attribute is modified.
1731
1737
  */
@@ -7434,6 +7434,25 @@ export namespace Protocol {
7434
7434
  nodeId: NodeId;
7435
7435
  }
7436
7436
 
7437
+ export interface ForceShowPopoverRequest {
7438
+ /**
7439
+ * Id of the popover HTMLElement
7440
+ */
7441
+ nodeId: NodeId;
7442
+ /**
7443
+ * If true, opens the popover and keeps it open. If false, closes the
7444
+ * popover if it was previously force-opened.
7445
+ */
7446
+ enable: boolean;
7447
+ }
7448
+
7449
+ export interface ForceShowPopoverResponse {
7450
+ /**
7451
+ * List of popovers that were closed in order to respect popover stacking order.
7452
+ */
7453
+ nodeIds: NodeId[];
7454
+ }
7455
+
7437
7456
  /**
7438
7457
  * Fired when `Element`'s attribute is modified.
7439
7458
  */
@@ -14079,7 +14098,7 @@ export namespace Protocol {
14079
14098
  * All Permissions Policy features. This enum should match the one defined
14080
14099
  * in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
14081
14100
  */
14082
- export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
14101
+ export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
14083
14102
 
14084
14103
  /**
14085
14104
  * Reason for a permissions policy feature to be disabled.