devtools-protocol 0.0.1349043 → 0.0.1351223
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.
@@ -5680,7 +5680,13 @@
|
|
5680
5680
|
"view-transition-group",
|
5681
5681
|
"view-transition-image-pair",
|
5682
5682
|
"view-transition-old",
|
5683
|
-
"view-transition-new"
|
5683
|
+
"view-transition-new",
|
5684
|
+
"placeholder",
|
5685
|
+
"file-selector-button",
|
5686
|
+
"details-content",
|
5687
|
+
"select-fallback-button",
|
5688
|
+
"select-fallback-button-text",
|
5689
|
+
"picker"
|
5684
5690
|
]
|
5685
5691
|
},
|
5686
5692
|
{
|
@@ -5930,6 +5936,12 @@
|
|
5930
5936
|
"name": "assignedSlot",
|
5931
5937
|
"optional": true,
|
5932
5938
|
"$ref": "BackendNode"
|
5939
|
+
},
|
5940
|
+
{
|
5941
|
+
"name": "isScrollable",
|
5942
|
+
"experimental": true,
|
5943
|
+
"optional": true,
|
5944
|
+
"type": "boolean"
|
5933
5945
|
}
|
5934
5946
|
]
|
5935
5947
|
},
|
@@ -7400,6 +7412,23 @@
|
|
7400
7412
|
"description": "Called when top layer elements are changed.",
|
7401
7413
|
"experimental": true
|
7402
7414
|
},
|
7415
|
+
{
|
7416
|
+
"name": "scrollableFlagUpdated",
|
7417
|
+
"description": "Fired when a node's scrollability state changes.",
|
7418
|
+
"experimental": true,
|
7419
|
+
"parameters": [
|
7420
|
+
{
|
7421
|
+
"name": "nodeId",
|
7422
|
+
"description": "The id of the node.",
|
7423
|
+
"$ref": "DOM.NodeId"
|
7424
|
+
},
|
7425
|
+
{
|
7426
|
+
"name": "isScrollable",
|
7427
|
+
"description": "If the node is scrollable.",
|
7428
|
+
"type": "boolean"
|
7429
|
+
}
|
7430
|
+
]
|
7431
|
+
},
|
7403
7432
|
{
|
7404
7433
|
"name": "pseudoElementRemoved",
|
7405
7434
|
"description": "Called when a pseudo element is removed from an element.",
|
@@ -17158,6 +17187,7 @@
|
|
17158
17187
|
"clipboard-read",
|
17159
17188
|
"clipboard-write",
|
17160
17189
|
"compute-pressure",
|
17190
|
+
"controlled-frame",
|
17161
17191
|
"cross-origin-isolated",
|
17162
17192
|
"deferred-fetch",
|
17163
17193
|
"digital-credentials-get",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -2703,6 +2703,12 @@ domain DOM
|
|
2703
2703
|
view-transition-image-pair
|
2704
2704
|
view-transition-old
|
2705
2705
|
view-transition-new
|
2706
|
+
placeholder
|
2707
|
+
file-selector-button
|
2708
|
+
details-content
|
2709
|
+
select-fallback-button
|
2710
|
+
select-fallback-button-text
|
2711
|
+
picker
|
2706
2712
|
|
2707
2713
|
# Shadow root type.
|
2708
2714
|
type ShadowRootType extends string
|
@@ -2807,6 +2813,7 @@ domain DOM
|
|
2807
2813
|
optional boolean isSVG
|
2808
2814
|
optional CompatibilityMode compatibilityMode
|
2809
2815
|
optional BackendNode assignedSlot
|
2816
|
+
experimental optional boolean isScrollable
|
2810
2817
|
|
2811
2818
|
# A structure to hold the top-level node of a detached tree and an array of its retained descendants.
|
2812
2819
|
type DetachedElementInfo extends object
|
@@ -3496,6 +3503,14 @@ domain DOM
|
|
3496
3503
|
# Called when top layer elements are changed.
|
3497
3504
|
experimental event topLayerElementsUpdated
|
3498
3505
|
|
3506
|
+
# Fired when a node's scrollability state changes.
|
3507
|
+
experimental event scrollableFlagUpdated
|
3508
|
+
parameters
|
3509
|
+
# The id of the node.
|
3510
|
+
DOM.NodeId nodeId
|
3511
|
+
# If the node is scrollable.
|
3512
|
+
boolean isScrollable
|
3513
|
+
|
3499
3514
|
# Called when a pseudo element is removed from an element.
|
3500
3515
|
experimental event pseudoElementRemoved
|
3501
3516
|
parameters
|
@@ -8070,6 +8085,7 @@ domain Page
|
|
8070
8085
|
clipboard-read
|
8071
8086
|
clipboard-write
|
8072
8087
|
compute-pressure
|
8088
|
+
controlled-frame
|
8073
8089
|
cross-origin-isolated
|
8074
8090
|
deferred-fetch
|
8075
8091
|
digital-credentials-get
|
@@ -215,6 +215,10 @@ export namespace ProtocolMapping {
|
|
215
215
|
* Called when top layer elements are changed.
|
216
216
|
*/
|
217
217
|
'DOM.topLayerElementsUpdated': [];
|
218
|
+
/**
|
219
|
+
* Fired when a node's scrollability state changes.
|
220
|
+
*/
|
221
|
+
'DOM.scrollableFlagUpdated': [Protocol.DOM.ScrollableFlagUpdatedEvent];
|
218
222
|
/**
|
219
223
|
* Called when a pseudo element is removed from an element.
|
220
224
|
*/
|
@@ -1632,6 +1632,11 @@ export namespace ProtocolProxyApi {
|
|
1632
1632
|
*/
|
1633
1633
|
on(event: 'topLayerElementsUpdated', listener: () => void): void;
|
1634
1634
|
|
1635
|
+
/**
|
1636
|
+
* Fired when a node's scrollability state changes.
|
1637
|
+
*/
|
1638
|
+
on(event: 'scrollableFlagUpdated', listener: (params: Protocol.DOM.ScrollableFlagUpdatedEvent) => void): void;
|
1639
|
+
|
1635
1640
|
/**
|
1636
1641
|
* Called when a pseudo element is removed from an element.
|
1637
1642
|
*/
|
@@ -1736,6 +1736,13 @@ export namespace ProtocolTestsProxyApi {
|
|
1736
1736
|
offTopLayerElementsUpdated(listener: (event: ) => void): void;
|
1737
1737
|
onceTopLayerElementsUpdated(eventMatcher?: (event: ) => boolean): Promise<>;
|
1738
1738
|
|
1739
|
+
/**
|
1740
|
+
* Fired when a node's scrollability state changes.
|
1741
|
+
*/
|
1742
|
+
onScrollableFlagUpdated(listener: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => void): void;
|
1743
|
+
offScrollableFlagUpdated(listener: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => void): void;
|
1744
|
+
onceScrollableFlagUpdated(eventMatcher?: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => boolean): Promise<{ params: Protocol.DOM.ScrollableFlagUpdatedEvent }>;
|
1745
|
+
|
1739
1746
|
/**
|
1740
1747
|
* Called when a pseudo element is removed from an element.
|
1741
1748
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -6017,7 +6017,7 @@ export namespace Protocol {
|
|
6017
6017
|
/**
|
6018
6018
|
* Pseudo element type.
|
6019
6019
|
*/
|
6020
|
-
export type PseudoType = ('first-line' | 'first-letter' | 'before' | 'after' | 'marker' | 'backdrop' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-next-button' | 'scroll-prev-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-old' | 'view-transition-new');
|
6020
|
+
export type PseudoType = ('first-line' | 'first-letter' | 'before' | 'after' | 'marker' | 'backdrop' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-next-button' | 'scroll-prev-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'select-fallback-button' | 'select-fallback-button-text' | 'picker');
|
6021
6021
|
|
6022
6022
|
/**
|
6023
6023
|
* Shadow root type.
|
@@ -6172,6 +6172,7 @@ export namespace Protocol {
|
|
6172
6172
|
isSVG?: boolean;
|
6173
6173
|
compatibilityMode?: CompatibilityMode;
|
6174
6174
|
assignedSlot?: BackendNode;
|
6175
|
+
isScrollable?: boolean;
|
6175
6176
|
}
|
6176
6177
|
|
6177
6178
|
/**
|
@@ -7174,6 +7175,20 @@ export namespace Protocol {
|
|
7174
7175
|
pseudoElement: Node;
|
7175
7176
|
}
|
7176
7177
|
|
7178
|
+
/**
|
7179
|
+
* Fired when a node's scrollability state changes.
|
7180
|
+
*/
|
7181
|
+
export interface ScrollableFlagUpdatedEvent {
|
7182
|
+
/**
|
7183
|
+
* The id of the node.
|
7184
|
+
*/
|
7185
|
+
nodeId: DOM.NodeId;
|
7186
|
+
/**
|
7187
|
+
* If the node is scrollable.
|
7188
|
+
*/
|
7189
|
+
isScrollable: boolean;
|
7190
|
+
}
|
7191
|
+
|
7177
7192
|
/**
|
7178
7193
|
* Called when a pseudo element is removed from an element.
|
7179
7194
|
*/
|
@@ -13409,7 +13424,7 @@ export namespace Protocol {
|
|
13409
13424
|
* All Permissions Policy features. This enum should match the one defined
|
13410
13425
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
13411
13426
|
*/
|
13412
|
-
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-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' | 'cross-origin-isolated' | 'deferred-fetch' | 'digital-credentials-get' | 'direct-sockets' | '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' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
|
13427
|
+
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-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' | 'digital-credentials-get' | 'direct-sockets' | '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' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
|
13413
13428
|
|
13414
13429
|
/**
|
13415
13430
|
* Reason for a permissions policy feature to be disabled.
|