devtools-protocol 0.0.1512837 → 0.0.1514079
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 +42 -2
- package/package.json +1 -1
- package/pdl/domains/Accessibility.pdl +21 -1
- package/pdl/domains/DOM.pdl +9 -0
- package/types/protocol-mapping.d.ts +5 -0
- package/types/protocol-proxy-api.d.ts +6 -0
- package/types/protocol-tests-proxy-api.d.ts +8 -0
- package/types/protocol.d.ts +22 -2
@@ -207,7 +207,7 @@
|
|
207
207
|
},
|
208
208
|
{
|
209
209
|
"id": "AXPropertyName",
|
210
|
-
"description": "Values of AXProperty name:\n- from 'busy' to 'roledescription': states which apply to every AX node\n- from 'live' to 'root': attributes which apply to nodes in live regions\n- from 'autocomplete' to 'valuetext': attributes which apply to widgets\n- from 'checked' to 'selected': states which apply to widgets\n- from 'activedescendant' to 'owns'
|
210
|
+
"description": "Values of AXProperty name:\n- from 'busy' to 'roledescription': states which apply to every AX node\n- from 'live' to 'root': attributes which apply to nodes in live regions\n- from 'autocomplete' to 'valuetext': attributes which apply to widgets\n- from 'checked' to 'selected': states which apply to widgets\n- from 'activedescendant' to 'owns': relationships between elements other than parent/child/sibling\n- from 'activeFullscreenElement' to 'uninteresting': reasons why this noode is hidden",
|
211
211
|
"type": "string",
|
212
212
|
"enum": [
|
213
213
|
"actions",
|
@@ -250,7 +250,24 @@
|
|
250
250
|
"flowto",
|
251
251
|
"labelledby",
|
252
252
|
"owns",
|
253
|
-
"url"
|
253
|
+
"url",
|
254
|
+
"activeFullscreenElement",
|
255
|
+
"activeModalDialog",
|
256
|
+
"activeAriaModalDialog",
|
257
|
+
"ariaHiddenElement",
|
258
|
+
"ariaHiddenSubtree",
|
259
|
+
"emptyAlt",
|
260
|
+
"emptyText",
|
261
|
+
"inertElement",
|
262
|
+
"inertSubtree",
|
263
|
+
"labelContainer",
|
264
|
+
"labelFor",
|
265
|
+
"notRendered",
|
266
|
+
"notVisible",
|
267
|
+
"presentationalRole",
|
268
|
+
"probablyPresentational",
|
269
|
+
"inactiveCarouselTabContent",
|
270
|
+
"uninteresting"
|
254
271
|
]
|
255
272
|
},
|
256
273
|
{
|
@@ -7004,6 +7021,12 @@
|
|
7004
7021
|
"experimental": true,
|
7005
7022
|
"optional": true,
|
7006
7023
|
"type": "boolean"
|
7024
|
+
},
|
7025
|
+
{
|
7026
|
+
"name": "affectedByStartingStyles",
|
7027
|
+
"experimental": true,
|
7028
|
+
"optional": true,
|
7029
|
+
"type": "boolean"
|
7007
7030
|
}
|
7008
7031
|
]
|
7009
7032
|
},
|
@@ -8537,6 +8560,23 @@
|
|
8537
8560
|
}
|
8538
8561
|
]
|
8539
8562
|
},
|
8563
|
+
{
|
8564
|
+
"name": "affectedByStartingStylesFlagUpdated",
|
8565
|
+
"description": "Fired when a node's starting styles changes.",
|
8566
|
+
"experimental": true,
|
8567
|
+
"parameters": [
|
8568
|
+
{
|
8569
|
+
"name": "nodeId",
|
8570
|
+
"description": "The id of the node.",
|
8571
|
+
"$ref": "DOM.NodeId"
|
8572
|
+
},
|
8573
|
+
{
|
8574
|
+
"name": "affectedByStartingStyles",
|
8575
|
+
"description": "If the node has starting styles.",
|
8576
|
+
"type": "boolean"
|
8577
|
+
}
|
8578
|
+
]
|
8579
|
+
},
|
8540
8580
|
{
|
8541
8581
|
"name": "pseudoElementRemoved",
|
8542
8582
|
"description": "Called when a pseudo element is removed from an element.",
|
package/package.json
CHANGED
@@ -110,7 +110,8 @@ experimental domain Accessibility
|
|
110
110
|
# - from 'live' to 'root': attributes which apply to nodes in live regions
|
111
111
|
# - from 'autocomplete' to 'valuetext': attributes which apply to widgets
|
112
112
|
# - from 'checked' to 'selected': states which apply to widgets
|
113
|
-
# - from 'activedescendant' to 'owns'
|
113
|
+
# - from 'activedescendant' to 'owns': relationships between elements other than parent/child/sibling
|
114
|
+
# - from 'activeFullscreenElement' to 'uninteresting': reasons why this noode is hidden
|
114
115
|
type AXPropertyName extends string
|
115
116
|
enum
|
116
117
|
actions
|
@@ -154,6 +155,25 @@ experimental domain Accessibility
|
|
154
155
|
labelledby
|
155
156
|
owns
|
156
157
|
url
|
158
|
+
# LINT.IfChange(AXIgnoredReason)
|
159
|
+
activeFullscreenElement
|
160
|
+
activeModalDialog
|
161
|
+
activeAriaModalDialog
|
162
|
+
ariaHiddenElement
|
163
|
+
ariaHiddenSubtree
|
164
|
+
emptyAlt
|
165
|
+
emptyText
|
166
|
+
inertElement
|
167
|
+
inertSubtree
|
168
|
+
labelContainer
|
169
|
+
labelFor
|
170
|
+
notRendered
|
171
|
+
notVisible
|
172
|
+
presentationalRole
|
173
|
+
probablyPresentational
|
174
|
+
inactiveCarouselTabContent
|
175
|
+
uninteresting
|
176
|
+
# LINT.ThenChange(//third_party/blink/renderer/modules/accessibility/ax_enums.cc:AXIgnoredReason)
|
157
177
|
|
158
178
|
# A node in the accessibility tree.
|
159
179
|
type AXNode extends object
|
package/pdl/domains/DOM.pdl
CHANGED
@@ -177,6 +177,7 @@ domain DOM
|
|
177
177
|
optional CompatibilityMode compatibilityMode
|
178
178
|
optional BackendNode assignedSlot
|
179
179
|
experimental optional boolean isScrollable
|
180
|
+
experimental optional boolean affectedByStartingStyles
|
180
181
|
|
181
182
|
# A structure to hold the top-level node of a detached tree and an array of its retained descendants.
|
182
183
|
type DetachedElementInfo extends object
|
@@ -898,6 +899,14 @@ domain DOM
|
|
898
899
|
# If the node is scrollable.
|
899
900
|
boolean isScrollable
|
900
901
|
|
902
|
+
# Fired when a node's starting styles changes.
|
903
|
+
experimental event affectedByStartingStylesFlagUpdated
|
904
|
+
parameters
|
905
|
+
# The id of the node.
|
906
|
+
DOM.NodeId nodeId
|
907
|
+
# If the node has starting styles.
|
908
|
+
boolean affectedByStartingStyles
|
909
|
+
|
901
910
|
# Called when a pseudo element is removed from an element.
|
902
911
|
experimental event pseudoElementRemoved
|
903
912
|
parameters
|
@@ -253,6 +253,11 @@ export namespace ProtocolMapping {
|
|
253
253
|
* @experimental
|
254
254
|
*/
|
255
255
|
'DOM.scrollableFlagUpdated': [Protocol.DOM.ScrollableFlagUpdatedEvent];
|
256
|
+
/**
|
257
|
+
* Fired when a node's starting styles changes.
|
258
|
+
* @experimental
|
259
|
+
*/
|
260
|
+
'DOM.affectedByStartingStylesFlagUpdated': [Protocol.DOM.AffectedByStartingStylesFlagUpdatedEvent];
|
256
261
|
/**
|
257
262
|
* Called when a pseudo element is removed from an element.
|
258
263
|
* @experimental
|
@@ -1887,6 +1887,12 @@ export namespace ProtocolProxyApi {
|
|
1887
1887
|
*/
|
1888
1888
|
on(event: 'scrollableFlagUpdated', listener: (params: Protocol.DOM.ScrollableFlagUpdatedEvent) => void): void;
|
1889
1889
|
|
1890
|
+
/**
|
1891
|
+
* Fired when a node's starting styles changes.
|
1892
|
+
* @experimental
|
1893
|
+
*/
|
1894
|
+
on(event: 'affectedByStartingStylesFlagUpdated', listener: (params: Protocol.DOM.AffectedByStartingStylesFlagUpdatedEvent) => void): void;
|
1895
|
+
|
1890
1896
|
/**
|
1891
1897
|
* Called when a pseudo element is removed from an element.
|
1892
1898
|
* @experimental
|
@@ -2001,6 +2001,14 @@ export namespace ProtocolTestsProxyApi {
|
|
2001
2001
|
offScrollableFlagUpdated(listener: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => void): void;
|
2002
2002
|
onceScrollableFlagUpdated(eventMatcher?: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => boolean): Promise<{ params: Protocol.DOM.ScrollableFlagUpdatedEvent }>;
|
2003
2003
|
|
2004
|
+
/**
|
2005
|
+
* Fired when a node's starting styles changes.
|
2006
|
+
* @experimental
|
2007
|
+
*/
|
2008
|
+
onAffectedByStartingStylesFlagUpdated(listener: (event: { params: Protocol.DOM.AffectedByStartingStylesFlagUpdatedEvent }) => void): void;
|
2009
|
+
offAffectedByStartingStylesFlagUpdated(listener: (event: { params: Protocol.DOM.AffectedByStartingStylesFlagUpdatedEvent }) => void): void;
|
2010
|
+
onceAffectedByStartingStylesFlagUpdated(eventMatcher?: (event: { params: Protocol.DOM.AffectedByStartingStylesFlagUpdatedEvent }) => boolean): Promise<{ params: Protocol.DOM.AffectedByStartingStylesFlagUpdatedEvent }>;
|
2011
|
+
|
2004
2012
|
/**
|
2005
2013
|
* Called when a pseudo element is removed from an element.
|
2006
2014
|
* @experimental
|
package/types/protocol.d.ts
CHANGED
@@ -2901,9 +2901,10 @@ export namespace Protocol {
|
|
2901
2901
|
* - from 'live' to 'root': attributes which apply to nodes in live regions
|
2902
2902
|
* - from 'autocomplete' to 'valuetext': attributes which apply to widgets
|
2903
2903
|
* - from 'checked' to 'selected': states which apply to widgets
|
2904
|
-
* - from 'activedescendant' to 'owns'
|
2904
|
+
* - from 'activedescendant' to 'owns': relationships between elements other than parent/child/sibling
|
2905
|
+
* - from 'activeFullscreenElement' to 'uninteresting': reasons why this noode is hidden
|
2905
2906
|
*/
|
2906
|
-
export type AXPropertyName = ('actions' | 'busy' | 'disabled' | 'editable' | 'focusable' | 'focused' | 'hidden' | 'hiddenRoot' | 'invalid' | 'keyshortcuts' | 'settable' | 'roledescription' | 'live' | 'atomic' | 'relevant' | 'root' | 'autocomplete' | 'hasPopup' | 'level' | 'multiselectable' | 'orientation' | 'multiline' | 'readonly' | 'required' | 'valuemin' | 'valuemax' | 'valuetext' | 'checked' | 'expanded' | 'modal' | 'pressed' | 'selected' | 'activedescendant' | 'controls' | 'describedby' | 'details' | 'errormessage' | 'flowto' | 'labelledby' | 'owns' | 'url');
|
2907
|
+
export type AXPropertyName = ('actions' | 'busy' | 'disabled' | 'editable' | 'focusable' | 'focused' | 'hidden' | 'hiddenRoot' | 'invalid' | 'keyshortcuts' | 'settable' | 'roledescription' | 'live' | 'atomic' | 'relevant' | 'root' | 'autocomplete' | 'hasPopup' | 'level' | 'multiselectable' | 'orientation' | 'multiline' | 'readonly' | 'required' | 'valuemin' | 'valuemax' | 'valuetext' | 'checked' | 'expanded' | 'modal' | 'pressed' | 'selected' | 'activedescendant' | 'controls' | 'describedby' | 'details' | 'errormessage' | 'flowto' | 'labelledby' | 'owns' | 'url' | 'activeFullscreenElement' | 'activeModalDialog' | 'activeAriaModalDialog' | 'ariaHiddenElement' | 'ariaHiddenSubtree' | 'emptyAlt' | 'emptyText' | 'inertElement' | 'inertSubtree' | 'labelContainer' | 'labelFor' | 'notRendered' | 'notVisible' | 'presentationalRole' | 'probablyPresentational' | 'inactiveCarouselTabContent' | 'uninteresting');
|
2907
2908
|
|
2908
2909
|
/**
|
2909
2910
|
* A node in the accessibility tree.
|
@@ -6896,6 +6897,10 @@ export namespace Protocol {
|
|
6896
6897
|
* @experimental
|
6897
6898
|
*/
|
6898
6899
|
isScrollable?: boolean;
|
6900
|
+
/**
|
6901
|
+
* @experimental
|
6902
|
+
*/
|
6903
|
+
affectedByStartingStyles?: boolean;
|
6899
6904
|
}
|
6900
6905
|
|
6901
6906
|
/**
|
@@ -7945,6 +7950,21 @@ export namespace Protocol {
|
|
7945
7950
|
isScrollable: boolean;
|
7946
7951
|
}
|
7947
7952
|
|
7953
|
+
/**
|
7954
|
+
* Fired when a node's starting styles changes.
|
7955
|
+
* @experimental
|
7956
|
+
*/
|
7957
|
+
export interface AffectedByStartingStylesFlagUpdatedEvent {
|
7958
|
+
/**
|
7959
|
+
* The id of the node.
|
7960
|
+
*/
|
7961
|
+
nodeId: DOM.NodeId;
|
7962
|
+
/**
|
7963
|
+
* If the node has starting styles.
|
7964
|
+
*/
|
7965
|
+
affectedByStartingStyles: boolean;
|
7966
|
+
}
|
7967
|
+
|
7948
7968
|
/**
|
7949
7969
|
* Called when a pseudo element is removed from an element.
|
7950
7970
|
* @experimental
|