devtools-protocol 0.0.1640722 → 0.0.1643702
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.
- package/json/browser_protocol.json +7 -0
- package/package.json +1 -1
- package/pdl/domains/DOM.pdl +5 -0
- package/pdl/domains/Page.pdl +1 -0
- package/types/protocol.d.ts +8 -1
|
@@ -8853,6 +8853,12 @@
|
|
|
8853
8853
|
"name": "enable",
|
|
8854
8854
|
"description": "If true, opens the popover and keeps it open. If false, closes the\npopover if it was previously force-opened.",
|
|
8855
8855
|
"type": "boolean"
|
|
8856
|
+
},
|
|
8857
|
+
{
|
|
8858
|
+
"name": "invokerNodeId",
|
|
8859
|
+
"description": "Optional ID of the element invoking this popover, used to establish the implicit anchor.\nIf not provided, it will fall back to the first invoker in the document, preferring\nelements with a popovertarget attribute over those with a commandfor attribute. Note that\nif there are multiple invokers, this is just an estimate.",
|
|
8860
|
+
"optional": true,
|
|
8861
|
+
"$ref": "BackendNodeId"
|
|
8856
8862
|
}
|
|
8857
8863
|
],
|
|
8858
8864
|
"returns": [
|
|
@@ -21877,6 +21883,7 @@
|
|
|
21877
21883
|
"usb-unrestricted",
|
|
21878
21884
|
"vertical-scroll",
|
|
21879
21885
|
"web-app-installation",
|
|
21886
|
+
"webnn",
|
|
21880
21887
|
"web-printing",
|
|
21881
21888
|
"web-share",
|
|
21882
21889
|
"window-management",
|
package/package.json
CHANGED
package/pdl/domains/DOM.pdl
CHANGED
|
@@ -816,6 +816,11 @@ domain DOM
|
|
|
816
816
|
# If true, opens the popover and keeps it open. If false, closes the
|
|
817
817
|
# popover if it was previously force-opened.
|
|
818
818
|
boolean enable
|
|
819
|
+
# Optional ID of the element invoking this popover, used to establish the implicit anchor.
|
|
820
|
+
# If not provided, it will fall back to the first invoker in the document, preferring
|
|
821
|
+
# elements with a popovertarget attribute over those with a commandfor attribute. Note that
|
|
822
|
+
# if there are multiple invokers, this is just an estimate.
|
|
823
|
+
optional BackendNodeId invokerNodeId
|
|
819
824
|
returns
|
|
820
825
|
# List of popovers that were closed in order to respect popover stacking order.
|
|
821
826
|
array of NodeId nodeIds
|
package/pdl/domains/Page.pdl
CHANGED
package/types/protocol.d.ts
CHANGED
|
@@ -8056,6 +8056,13 @@ export namespace Protocol {
|
|
|
8056
8056
|
* popover if it was previously force-opened.
|
|
8057
8057
|
*/
|
|
8058
8058
|
enable: boolean;
|
|
8059
|
+
/**
|
|
8060
|
+
* Optional ID of the element invoking this popover, used to establish the implicit anchor.
|
|
8061
|
+
* If not provided, it will fall back to the first invoker in the document, preferring
|
|
8062
|
+
* elements with a popovertarget attribute over those with a commandfor attribute. Note that
|
|
8063
|
+
* if there are multiple invokers, this is just an estimate.
|
|
8064
|
+
*/
|
|
8065
|
+
invokerNodeId?: BackendNodeId;
|
|
8059
8066
|
}
|
|
8060
8067
|
|
|
8061
8068
|
export interface ForceShowPopoverResponse {
|
|
@@ -16644,7 +16651,7 @@ export namespace Protocol {
|
|
|
16644
16651
|
* in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
|
|
16645
16652
|
* @experimental
|
|
16646
16653
|
*/
|
|
16647
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autofill' | '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-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | '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' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | '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-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'tools' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
|
|
16654
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autofill' | '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-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | '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' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | '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-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'tools' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'webnn' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
|
|
16648
16655
|
|
|
16649
16656
|
/**
|
|
16650
16657
|
* Reason for a permissions policy feature to be disabled.
|