Skip to content

Commit 22067e8

Browse files
committed
Roll protocol to r1451615
1 parent 376b7a3 commit 22067e8

8 files changed

Lines changed: 95 additions & 68 deletions

changelog.md

Lines changed: 45 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,51 @@
11

22

3+
## Roll protocol to r1451615 — _2025-04-25T04:30:43.000Z_
4+
###### Diff: [`376b7a3...c92fcc3`](https://github.com/ChromeDevTools/devtools-protocol/compare/376b7a3...c92fcc3)
5+
6+
```diff
7+
@@ browser_protocol.pdl:9186 @@ domain Page
8+
# Recommendation for manifest's id attribute to match current id computed from start_url
9+
optional string recommendedId
10+
11+
- experimental command getAdScriptId
12+
+ experimental command getAdScriptAncestryIds
13+
parameters
14+
FrameId frameId
15+
returns
16+
- # Identifies the bottom-most script which caused the frame to be labelled
17+
- # as an ad. Only sent if frame is labelled as an ad and id is available.
18+
- optional AdScriptId adScriptId
19+
+ # The ancestry chain of ad script identifiers leading to this frame's
20+
+ # creation, ordered from the most immediate script (in the frame creation
21+
+ # stack) to more distant ancestors (that created the immediately preceding
22+
+ # script). Only sent if frame is labelled as an ad and ids are available.
23+
+ array of AdScriptId adScriptAncestryIds
24+
25+
# Returns present frame tree structure.
26+
command getFrameTree
27+
@@ -9804,6 +9806,8 @@ domain Page
28+
# closed.
29+
event javascriptDialogClosed
30+
parameters
31+
+ # Frame id.
32+
+ experimental FrameId frameId
33+
# Whether dialog was confirmed.
34+
boolean result
35+
# User input in case of prompt.
36+
@@ -9815,6 +9819,8 @@ domain Page
37+
parameters
38+
# Frame url.
39+
string url
40+
+ # Frame id.
41+
+ experimental FrameId frameId
42+
# Message that will be displayed by the dialog.
43+
string message
44+
# Dialog type.
45+
```
46+
347
## Roll protocol to r1450379 — _2025-04-23T04:30:35.000Z_
4-
###### Diff: [`ecbd284...616d4a9`](https://github.com/ChromeDevTools/devtools-protocol/compare/ecbd284...616d4a9)
48+
###### Diff: [`ecbd284...376b7a3`](https://github.com/ChromeDevTools/devtools-protocol/compare/ecbd284...376b7a3)
549

650
```diff
751
@@ browser_protocol.pdl:10656 @@ experimental domain Storage
@@ -13782,51 +13826,4 @@ index 8d8211b..2d56043 100644
1378213826
array of integer functionBodyOffsets
1378313827
# The first chunk of disassembly.
1378413828
WasmDisassemblyChunk chunk
13785-
```
13786-
13787-
## Roll protocol to r1027117 — _2022-07-22T04:34:56.000Z_
13788-
###### Diff: [`d99c911...84a4545`](https://github.com/ChromeDevTools/devtools-protocol/compare/d99c911...84a4545)
13789-
13790-
```diff
13791-
@@ browser_protocol.pdl:168 @@ experimental domain Accessibility
13792-
optional array of AXProperty ignoredReasons
13793-
# This `Node`'s role, whether explicit or implicit.
13794-
optional AXValue role
13795-
+ # This `Node`'s Chrome raw role.
13796-
+ optional AXValue chromeRole
13797-
# The accessible name for this `Node`.
13798-
optional AXValue name
13799-
# The accessible description for this `Node`.
13800-
@@ -772,6 +774,7 @@ experimental domain Audits
13801-
NotificationPermissionRequestedIframe
13802-
ObsoleteWebRtcCipherSuite
13803-
OpenWebDatabaseInsecureContext
13804-
+ OverflowVisibleOnReplacedElement
13805-
PictureSourceSrc
13806-
PrefixedCancelAnimationFrame
13807-
PrefixedRequestAnimationFrame
13808-
@@ -2682,7 +2685,7 @@ domain DOM
13809-
array of NodeId nodeIds
13810-
13811-
# Returns NodeIds of current top layer elements.
13812-
- # Top layer is rendered closest to the user within a viewport, therefore its elements always
13813-
+ # Top layer is rendered closest to the user within a viewport, therefore its elements always
13814-
# appear on top of all other content.
13815-
experimental command getTopLayerElements
13816-
returns
13817-
@@ -8990,6 +8993,14 @@ experimental domain Storage
13818-
# Comma separated list of StorageType to clear.
13819-
string storageTypes
13820-
13821-
+ # Clears storage for storage key.
13822-
+ command clearDataForStorageKey
13823-
+ parameters
13824-
+ # Storage key.
13825-
+ string storageKey
13826-
+ # Comma separated list of StorageType to clear.
13827-
+ string storageTypes
13828-
+
13829-
# Returns all browser cookies.
13830-
command getCookies
13831-
parameters
1383213829
```

json/browser_protocol.json

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19837,7 +19837,7 @@
1983719837
]
1983819838
},
1983919839
{
19840-
"name": "getAdScriptId",
19840+
"name": "getAdScriptAncestryIds",
1984119841
"experimental": true,
1984219842
"parameters": [
1984319843
{
@@ -19847,10 +19847,12 @@
1984719847
],
1984819848
"returns": [
1984919849
{
19850-
"name": "adScriptId",
19851-
"description": "Identifies the bottom-most script which caused the frame to be labelled\nas an ad. Only sent if frame is labelled as an ad and id is available.",
19852-
"optional": true,
19853-
"$ref": "AdScriptId"
19850+
"name": "adScriptAncestryIds",
19851+
"description": "The ancestry chain of ad script identifiers leading to this frame's\ncreation, ordered from the most immediate script (in the frame creation\nstack) to more distant ancestors (that created the immediately preceding\nscript). Only sent if frame is labelled as an ad and ids are available.",
19852+
"type": "array",
19853+
"items": {
19854+
"$ref": "AdScriptId"
19855+
}
1985419856
}
1985519857
]
1985619858
},
@@ -21088,6 +21090,12 @@
2108821090
"name": "javascriptDialogClosed",
2108921091
"description": "Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been\nclosed.",
2109021092
"parameters": [
21093+
{
21094+
"name": "frameId",
21095+
"description": "Frame id.",
21096+
"experimental": true,
21097+
"$ref": "FrameId"
21098+
},
2109121099
{
2109221100
"name": "result",
2109321101
"description": "Whether dialog was confirmed.",
@@ -21109,6 +21117,12 @@
2110921117
"description": "Frame url.",
2111021118
"type": "string"
2111121119
},
21120+
{
21121+
"name": "frameId",
21122+
"description": "Frame id.",
21123+
"experimental": true,
21124+
"$ref": "FrameId"
21125+
},
2111221126
{
2111321127
"name": "message",
2111421128
"description": "Message that will be displayed by the dialog.",

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.1450379",
3+
"version": "0.0.1451615",
44
"description": "The Chrome DevTools Protocol JSON",
55
"repository": "https://github.com/ChromeDevTools/devtools-protocol",
66
"author": "The Chromium Authors",

pdl/browser_protocol.pdl

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9186,13 +9186,15 @@ domain Page
91869186
# Recommendation for manifest's id attribute to match current id computed from start_url
91879187
optional string recommendedId
91889188

9189-
experimental command getAdScriptId
9189+
experimental command getAdScriptAncestryIds
91909190
parameters
91919191
FrameId frameId
91929192
returns
9193-
# Identifies the bottom-most script which caused the frame to be labelled
9194-
# as an ad. Only sent if frame is labelled as an ad and id is available.
9195-
optional AdScriptId adScriptId
9193+
# The ancestry chain of ad script identifiers leading to this frame's
9194+
# creation, ordered from the most immediate script (in the frame creation
9195+
# stack) to more distant ancestors (that created the immediately preceding
9196+
# script). Only sent if frame is labelled as an ad and ids are available.
9197+
array of AdScriptId adScriptAncestryIds
91969198

91979199
# Returns present frame tree structure.
91989200
command getFrameTree
@@ -9804,6 +9806,8 @@ domain Page
98049806
# closed.
98059807
event javascriptDialogClosed
98069808
parameters
9809+
# Frame id.
9810+
experimental FrameId frameId
98079811
# Whether dialog was confirmed.
98089812
boolean result
98099813
# User input in case of prompt.
@@ -9815,6 +9819,8 @@ domain Page
98159819
parameters
98169820
# Frame url.
98179821
string url
9822+
# Frame id.
9823+
experimental FrameId frameId
98189824
# Message that will be displayed by the dialog.
98199825
string message
98209826
# Dialog type.

types/protocol-mapping.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4009,9 +4009,9 @@ export namespace ProtocolMapping {
40094009
paramsType: [];
40104010
returnType: Protocol.Page.GetAppIdResponse;
40114011
};
4012-
'Page.getAdScriptId': {
4013-
paramsType: [Protocol.Page.GetAdScriptIdRequest];
4014-
returnType: Protocol.Page.GetAdScriptIdResponse;
4012+
'Page.getAdScriptAncestryIds': {
4013+
paramsType: [Protocol.Page.GetAdScriptAncestryIdsRequest];
4014+
returnType: Protocol.Page.GetAdScriptAncestryIdsResponse;
40154015
};
40164016
/**
40174017
* Returns present frame tree structure.

types/protocol-proxy-api.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3073,7 +3073,7 @@ export namespace ProtocolProxyApi {
30733073
*/
30743074
getAppId(): Promise<Protocol.Page.GetAppIdResponse>;
30753075

3076-
getAdScriptId(params: Protocol.Page.GetAdScriptIdRequest): Promise<Protocol.Page.GetAdScriptIdResponse>;
3076+
getAdScriptAncestryIds(params: Protocol.Page.GetAdScriptAncestryIdsRequest): Promise<Protocol.Page.GetAdScriptAncestryIdsResponse>;
30773077

30783078
/**
30793079
* Returns present frame tree structure.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3299,7 +3299,7 @@ export namespace ProtocolTestsProxyApi {
32993299
*/
33003300
getAppId(): Promise<{id: number, result: Protocol.Page.GetAppIdResponse, sessionId: string}>;
33013301

3302-
getAdScriptId(params: Protocol.Page.GetAdScriptIdRequest): Promise<{id: number, result: Protocol.Page.GetAdScriptIdResponse, sessionId: string}>;
3302+
getAdScriptAncestryIds(params: Protocol.Page.GetAdScriptAncestryIdsRequest): Promise<{id: number, result: Protocol.Page.GetAdScriptAncestryIdsResponse, sessionId: string}>;
33033303

33043304
/**
33053305
* Returns present frame tree structure.

types/protocol.d.ts

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14787,16 +14787,18 @@ export namespace Protocol {
1478714787
recommendedId?: string;
1478814788
}
1478914789

14790-
export interface GetAdScriptIdRequest {
14790+
export interface GetAdScriptAncestryIdsRequest {
1479114791
frameId: FrameId;
1479214792
}
1479314793

14794-
export interface GetAdScriptIdResponse {
14794+
export interface GetAdScriptAncestryIdsResponse {
1479514795
/**
14796-
* Identifies the bottom-most script which caused the frame to be labelled
14797-
* as an ad. Only sent if frame is labelled as an ad and id is available.
14796+
* The ancestry chain of ad script identifiers leading to this frame's
14797+
* creation, ordered from the most immediate script (in the frame creation
14798+
* stack) to more distant ancestors (that created the immediately preceding
14799+
* script). Only sent if frame is labelled as an ad and ids are available.
1479814800
*/
14799-
adScriptId?: AdScriptId;
14801+
adScriptAncestryIds: AdScriptId[];
1480014802
}
1480114803

1480214804
export interface GetFrameTreeResponse {
@@ -15635,6 +15637,10 @@ export namespace Protocol {
1563515637
* closed.
1563615638
*/
1563715639
export interface JavascriptDialogClosedEvent {
15640+
/**
15641+
* Frame id.
15642+
*/
15643+
frameId: FrameId;
1563815644
/**
1563915645
* Whether dialog was confirmed.
1564015646
*/
@@ -15654,6 +15660,10 @@ export namespace Protocol {
1565415660
* Frame url.
1565515661
*/
1565615662
url: string;
15663+
/**
15664+
* Frame id.
15665+
*/
15666+
frameId: FrameId;
1565715667
/**
1565815668
* Message that will be displayed by the dialog.
1565915669
*/

0 commit comments

Comments
 (0)