Skip to content

Commit 0dba65c

Browse files
committed
Roll protocol to r1514079
1 parent 60a842d commit 0dba65c

File tree

10 files changed

+186
-29
lines changed

10 files changed

+186
-29
lines changed

changelog.md

Lines changed: 70 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,76 @@
11

22

3+
## Roll protocol to r1514079 — _2025-09-11T04:31:06.000Z_
4+
###### Diff: [`60a842d...fbf125f`](https://github.com/ChromeDevTools/devtools-protocol/compare/60a842d...fbf125f)
5+
6+
```diff
7+
@@ domains/Accessibility.pdl:110 @@ experimental domain Accessibility
8+
# - from 'live' to 'root': attributes which apply to nodes in live regions
9+
# - from 'autocomplete' to 'valuetext': attributes which apply to widgets
10+
# - from 'checked' to 'selected': states which apply to widgets
11+
- # - from 'activedescendant' to 'owns' - relationships between elements other than parent/child/sibling.
12+
+ # - from 'activedescendant' to 'owns': relationships between elements other than parent/child/sibling
13+
+ # - from 'activeFullscreenElement' to 'uninteresting': reasons why this noode is hidden
14+
type AXPropertyName extends string
15+
enum
16+
actions
17+
@@ -154,6 +155,25 @@ experimental domain Accessibility
18+
labelledby
19+
owns
20+
url
21+
+ # LINT.IfChange(AXIgnoredReason)
22+
+ activeFullscreenElement
23+
+ activeModalDialog
24+
+ activeAriaModalDialog
25+
+ ariaHiddenElement
26+
+ ariaHiddenSubtree
27+
+ emptyAlt
28+
+ emptyText
29+
+ inertElement
30+
+ inertSubtree
31+
+ labelContainer
32+
+ labelFor
33+
+ notRendered
34+
+ notVisible
35+
+ presentationalRole
36+
+ probablyPresentational
37+
+ inactiveCarouselTabContent
38+
+ uninteresting
39+
+ # LINT.ThenChange(//third_party/blink/renderer/modules/accessibility/ax_enums.cc:AXIgnoredReason)
40+
41+
# A node in the accessibility tree.
42+
type AXNode extends object
43+
diff --git a/pdl/domains/DOM.pdl b/pdl/domains/DOM.pdl
44+
index 5a16c329..71a50b6f 100644
45+
--- a/pdl/domains/DOM.pdl
46+
+++ b/pdl/domains/DOM.pdl
47+
@@ -177,6 +177,7 @@ domain DOM
48+
optional CompatibilityMode compatibilityMode
49+
optional BackendNode assignedSlot
50+
experimental optional boolean isScrollable
51+
+ experimental optional boolean affectedByStartingStyles
52+
53+
# A structure to hold the top-level node of a detached tree and an array of its retained descendants.
54+
type DetachedElementInfo extends object
55+
@@ -898,6 +899,14 @@ domain DOM
56+
# If the node is scrollable.
57+
boolean isScrollable
58+
59+
+ # Fired when a node's starting styles changes.
60+
+ experimental event affectedByStartingStylesFlagUpdated
61+
+ parameters
62+
+ # The id of the node.
63+
+ DOM.NodeId nodeId
64+
+ # If the node has starting styles.
65+
+ boolean affectedByStartingStyles
66+
+
67+
# Called when a pseudo element is removed from an element.
68+
experimental event pseudoElementRemoved
69+
parameters
70+
```
71+
372
## Roll protocol to r1512837 — _2025-09-09T04:31:23.000Z_
4-
###### Diff: [`f2eea64...7729820`](https://github.com/ChromeDevTools/devtools-protocol/compare/f2eea64...7729820)
73+
###### Diff: [`f2eea64...60a842d`](https://github.com/ChromeDevTools/devtools-protocol/compare/f2eea64...60a842d)
574

675
```diff
776
@@ domains/Preload.pdl:40 @@ experimental domain Preload
@@ -41926,24 +41995,4 @@ index d4102f5c..6285d9b6 100644
4192641995
returns
4192741996
# Array of cookie objects.
4192841997
array of Cookie cookies
41929-
```
41930-
41931-
## Roll protocol to r1087487 — _2022-12-29T04:28:09.000Z_
41932-
###### Diff: [`56c97c0...1e60c0d`](https://github.com/ChromeDevTools/devtools-protocol/compare/56c97c0...1e60c0d)
41933-
41934-
```diff
41935-
@@ js_protocol.pdl:1402 @@ domain Runtime
41936-
optional string objectGroup
41937-
# Whether to throw an exception if side effect cannot be ruled out during evaluation.
41938-
experimental optional boolean throwOnSideEffect
41939-
+ # An alternative way to specify the execution context to call function on.
41940-
+ # Compared to contextId that may be reused across processes, this is guaranteed to be
41941-
+ # system-unique, so it can be used to prevent accidental function call
41942-
+ # in context different than intended (e.g. as a result of navigation across process
41943-
+ # boundaries).
41944-
+ # This is mutually exclusive with `executionContextId`.
41945-
+ experimental optional string uniqueContextId
41946-
# Whether the result should contain `webDriverValue`, serialized according to
41947-
# https://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, but
41948-
# resulting `objectId` is still provided.
4194941998
```

json/browser_protocol.json

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
},
208208
{
209209
"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' - relationships between elements other than parent/child/sibling.",
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",
211211
"type": "string",
212212
"enum": [
213213
"actions",
@@ -250,7 +250,24 @@
250250
"flowto",
251251
"labelledby",
252252
"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"
254271
]
255272
},
256273
{
@@ -7004,6 +7021,12 @@
70047021
"experimental": true,
70057022
"optional": true,
70067023
"type": "boolean"
7024+
},
7025+
{
7026+
"name": "affectedByStartingStyles",
7027+
"experimental": true,
7028+
"optional": true,
7029+
"type": "boolean"
70077030
}
70087031
]
70097032
},
@@ -8537,6 +8560,23 @@
85378560
}
85388561
]
85398562
},
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+
},
85408580
{
85418581
"name": "pseudoElementRemoved",
85428582
"description": "Called when a pseudo element is removed from an element.",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtools-protocol",
3-
"version": "0.0.1512837",
3+
"version": "0.0.1514079",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/domains/Accessibility.pdl

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ experimental domain Accessibility
110110
# - from 'live' to 'root': attributes which apply to nodes in live regions
111111
# - from 'autocomplete' to 'valuetext': attributes which apply to widgets
112112
# - from 'checked' to 'selected': states which apply to widgets
113-
# - from 'activedescendant' to 'owns' - relationships between elements other than parent/child/sibling.
113+
# - from 'activedescendant' to 'owns': relationships between elements other than parent/child/sibling
114+
# - from 'activeFullscreenElement' to 'uninteresting': reasons why this noode is hidden
114115
type AXPropertyName extends string
115116
enum
116117
actions
@@ -154,6 +155,25 @@ experimental domain Accessibility
154155
labelledby
155156
owns
156157
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)
157177

158178
# A node in the accessibility tree.
159179
type AXNode extends object

pdl/domains/DOM.pdl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ domain DOM
177177
optional CompatibilityMode compatibilityMode
178178
optional BackendNode assignedSlot
179179
experimental optional boolean isScrollable
180+
experimental optional boolean affectedByStartingStyles
180181

181182
# A structure to hold the top-level node of a detached tree and an array of its retained descendants.
182183
type DetachedElementInfo extends object
@@ -898,6 +899,14 @@ domain DOM
898899
# If the node is scrollable.
899900
boolean isScrollable
900901

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+
901910
# Called when a pseudo element is removed from an element.
902911
experimental event pseudoElementRemoved
903912
parameters

types/protocol-mapping.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,11 @@ export namespace ProtocolMapping {
253253
* @experimental
254254
*/
255255
'DOM.scrollableFlagUpdated': [Protocol.DOM.ScrollableFlagUpdatedEvent];
256+
/**
257+
* Fired when a node's starting styles changes.
258+
* @experimental
259+
*/
260+
'DOM.affectedByStartingStylesFlagUpdated': [Protocol.DOM.AffectedByStartingStylesFlagUpdatedEvent];
256261
/**
257262
* Called when a pseudo element is removed from an element.
258263
* @experimental

types/protocol-proxy-api.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,6 +1887,12 @@ export namespace ProtocolProxyApi {
18871887
*/
18881888
on(event: 'scrollableFlagUpdated', listener: (params: Protocol.DOM.ScrollableFlagUpdatedEvent) => void): void;
18891889

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+
18901896
/**
18911897
* Called when a pseudo element is removed from an element.
18921898
* @experimental

types/protocol-tests-proxy-api.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2001,6 +2001,14 @@ export namespace ProtocolTestsProxyApi {
20012001
offScrollableFlagUpdated(listener: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => void): void;
20022002
onceScrollableFlagUpdated(eventMatcher?: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => boolean): Promise<{ params: Protocol.DOM.ScrollableFlagUpdatedEvent }>;
20032003

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+
20042012
/**
20052013
* Called when a pseudo element is removed from an element.
20062014
* @experimental

types/protocol.d.ts

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2901,9 +2901,10 @@ export namespace Protocol {
29012901
* - from 'live' to 'root': attributes which apply to nodes in live regions
29022902
* - from 'autocomplete' to 'valuetext': attributes which apply to widgets
29032903
* - from 'checked' to 'selected': states which apply to widgets
2904-
* - from 'activedescendant' to 'owns' - relationships between elements other than parent/child/sibling.
2904+
* - from 'activedescendant' to 'owns': relationships between elements other than parent/child/sibling
2905+
* - from 'activeFullscreenElement' to 'uninteresting': reasons why this noode is hidden
29052906
*/
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');
29072908

29082909
/**
29092910
* A node in the accessibility tree.
@@ -6896,6 +6897,10 @@ export namespace Protocol {
68966897
* @experimental
68976898
*/
68986899
isScrollable?: boolean;
6900+
/**
6901+
* @experimental
6902+
*/
6903+
affectedByStartingStyles?: boolean;
68996904
}
69006905

69016906
/**
@@ -7945,6 +7950,21 @@ export namespace Protocol {
79457950
isScrollable: boolean;
79467951
}
79477952

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+
79487968
/**
79497969
* Called when a pseudo element is removed from an element.
79507970
* @experimental

0 commit comments

Comments
 (0)