Skip to content

Commit f6820b4

Browse files
committed
Roll protocol to r1521046
1 parent e3b838c commit f6820b4

File tree

10 files changed

+127
-20
lines changed

10 files changed

+127
-20
lines changed

changelog.md

Lines changed: 43 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,49 @@
11

22

3+
## Roll protocol to r1521046 — _2025-09-26T04:31:48.000Z_
4+
###### Diff: [`e3b838c...5864544`](https://github.com/ChromeDevTools/devtools-protocol/compare/e3b838c...5864544)
5+
6+
```diff
7+
@@ domains/CSS.pdl:165 @@ experimental domain CSS
8+
StyleSheetOrigin origin
9+
# Associated style declaration.
10+
CSSStyle style
11+
+ # The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.
12+
+ experimental optional DOM.BackendNodeId originTreeScopeNodeId
13+
# Media list array (for rules involving media queries). The array enumerates media queries
14+
# starting with the innermost one, going outwards.
15+
optional array of CSSMedia media
16+
diff --git a/pdl/domains/Storage.pdl b/pdl/domains/Storage.pdl
17+
index 5c4e1302..973259c0 100644
18+
--- a/pdl/domains/Storage.pdl
19+
+++ b/pdl/domains/Storage.pdl
20+
@@ -239,12 +239,21 @@ experimental domain Storage
21+
StorageBucketsDurability durability
22+
23+
# Returns a storage key given a frame id.
24+
- command getStorageKeyForFrame
25+
+ # Deprecated. Please use Storage.getStorageKey instead.
26+
+ deprecated command getStorageKeyForFrame
27+
parameters
28+
Page.FrameId frameId
29+
returns
30+
SerializedStorageKey storageKey
31+
32+
+ # Returns storage key for the given frame. If no frame ID is provided,
33+
+ # the storage key of the target executing this command is returned.
34+
+ experimental command getStorageKey
35+
+ parameters
36+
+ optional Page.FrameId frameId
37+
+ returns
38+
+ SerializedStorageKey storageKey
39+
+
40+
# Clears storage for origin.
41+
command clearDataForOrigin
42+
parameters
43+
```
44+
345
## Roll protocol to r1519099 — _2025-09-23T04:31:20.000Z_
4-
###### Diff: [`78aae66...ddea858`](https://github.com/ChromeDevTools/devtools-protocol/compare/78aae66...ddea858)
46+
###### Diff: [`78aae66...e3b838c`](https://github.com/ChromeDevTools/devtools-protocol/compare/78aae66...e3b838c)
547

648
```diff
749
@@ domains/Page.pdl:1768 @@ domain Page
@@ -42102,18 +42144,4 @@ index d4102f5c..6285d9b6 100644
4210242144
# If set to true, tests of user presence will succeed immediately.
4210342145
# Otherwise, they will not be resolved. Defaults to true.
4210442146
optional boolean automaticPresenceSimulation
42105-
```
42106-
42107-
## Roll protocol to r1092731 — _2023-01-14T04:27:49.000Z_
42108-
###### Diff: [`a9c500f...c03647c`](https://github.com/ChromeDevTools/devtools-protocol/compare/a9c500f...c03647c)
42109-
42110-
```diff
42111-
@@ browser_protocol.pdl:745 @@ experimental domain Audits
42112-
CrossOriginPortalPostMessageError
42113-
FormLabelForNameError
42114-
FormDuplicateIdForInputError
42115-
+ FormInputWithNoLabelError
42116-
42117-
# Depending on the concrete errorType, different properties are set.
42118-
type GenericIssueDetails extends object
4211942147
```

json/browser_protocol.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4341,6 +4341,13 @@
43414341
"description": "Associated style declaration.",
43424342
"$ref": "CSSStyle"
43434343
},
4344+
{
4345+
"name": "originTreeScopeNodeId",
4346+
"description": "The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.",
4347+
"experimental": true,
4348+
"optional": true,
4349+
"$ref": "DOM.BackendNodeId"
4350+
},
43444351
{
43454352
"name": "media",
43464353
"description": "Media list array (for rules involving media queries). The array enumerates media queries\nstarting with the innermost one, going outwards.",
@@ -26382,10 +26389,29 @@
2638226389
"commands": [
2638326390
{
2638426391
"name": "getStorageKeyForFrame",
26385-
"description": "Returns a storage key given a frame id.",
26392+
"description": "Returns a storage key given a frame id.\nDeprecated. Please use Storage.getStorageKey instead.",
26393+
"deprecated": true,
26394+
"parameters": [
26395+
{
26396+
"name": "frameId",
26397+
"$ref": "Page.FrameId"
26398+
}
26399+
],
26400+
"returns": [
26401+
{
26402+
"name": "storageKey",
26403+
"$ref": "SerializedStorageKey"
26404+
}
26405+
]
26406+
},
26407+
{
26408+
"name": "getStorageKey",
26409+
"description": "Returns storage key for the given frame. If no frame ID is provided,\nthe storage key of the target executing this command is returned.",
26410+
"experimental": true,
2638626411
"parameters": [
2638726412
{
2638826413
"name": "frameId",
26414+
"optional": true,
2638926415
"$ref": "Page.FrameId"
2639026416
}
2639126417
],

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

pdl/domains/CSS.pdl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ experimental domain CSS
165165
StyleSheetOrigin origin
166166
# Associated style declaration.
167167
CSSStyle style
168+
# The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.
169+
experimental optional DOM.BackendNodeId originTreeScopeNodeId
168170
# Media list array (for rules involving media queries). The array enumerates media queries
169171
# starting with the innermost one, going outwards.
170172
optional array of CSSMedia media

pdl/domains/Storage.pdl

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,21 @@ experimental domain Storage
239239
StorageBucketsDurability durability
240240

241241
# Returns a storage key given a frame id.
242-
command getStorageKeyForFrame
242+
# Deprecated. Please use Storage.getStorageKey instead.
243+
deprecated command getStorageKeyForFrame
243244
parameters
244245
Page.FrameId frameId
245246
returns
246247
SerializedStorageKey storageKey
247248

249+
# Returns storage key for the given frame. If no frame ID is provided,
250+
# the storage key of the target executing this command is returned.
251+
experimental command getStorageKey
252+
parameters
253+
optional Page.FrameId frameId
254+
returns
255+
SerializedStorageKey storageKey
256+
248257
# Clears storage for origin.
249258
command clearDataForOrigin
250259
parameters

types/protocol-mapping.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5312,11 +5312,22 @@ export namespace ProtocolMapping {
53125312
};
53135313
/**
53145314
* Returns a storage key given a frame id.
5315+
* Deprecated. Please use Storage.getStorageKey instead.
5316+
* @deprecated
53155317
*/
53165318
'Storage.getStorageKeyForFrame': {
53175319
paramsType: [Protocol.Storage.GetStorageKeyForFrameRequest];
53185320
returnType: Protocol.Storage.GetStorageKeyForFrameResponse;
53195321
};
5322+
/**
5323+
* Returns storage key for the given frame. If no frame ID is provided,
5324+
* the storage key of the target executing this command is returned.
5325+
* @experimental
5326+
*/
5327+
'Storage.getStorageKey': {
5328+
paramsType: [Protocol.Storage.GetStorageKeyRequest?];
5329+
returnType: Protocol.Storage.GetStorageKeyResponse;
5330+
};
53205331
/**
53215332
* Clears storage for origin.
53225333
*/

types/protocol-proxy-api.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4425,9 +4425,18 @@ export namespace ProtocolProxyApi {
44254425
export interface StorageApi {
44264426
/**
44274427
* Returns a storage key given a frame id.
4428+
* Deprecated. Please use Storage.getStorageKey instead.
4429+
* @deprecated
44284430
*/
44294431
getStorageKeyForFrame(params: Protocol.Storage.GetStorageKeyForFrameRequest): Promise<Protocol.Storage.GetStorageKeyForFrameResponse>;
44304432

4433+
/**
4434+
* Returns storage key for the given frame. If no frame ID is provided,
4435+
* the storage key of the target executing this command is returned.
4436+
* @experimental
4437+
*/
4438+
getStorageKey(params: Protocol.Storage.GetStorageKeyRequest): Promise<Protocol.Storage.GetStorageKeyResponse>;
4439+
44314440
/**
44324441
* Clears storage for origin.
44334442
*/

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4773,9 +4773,18 @@ export namespace ProtocolTestsProxyApi {
47734773
export interface StorageApi {
47744774
/**
47754775
* Returns a storage key given a frame id.
4776+
* Deprecated. Please use Storage.getStorageKey instead.
4777+
* @deprecated
47764778
*/
47774779
getStorageKeyForFrame(params: Protocol.Storage.GetStorageKeyForFrameRequest): Promise<{id: number, result: Protocol.Storage.GetStorageKeyForFrameResponse, sessionId: string}>;
47784780

4781+
/**
4782+
* Returns storage key for the given frame. If no frame ID is provided,
4783+
* the storage key of the target executing this command is returned.
4784+
* @experimental
4785+
*/
4786+
getStorageKey(params: Protocol.Storage.GetStorageKeyRequest): Promise<{id: number, result: Protocol.Storage.GetStorageKeyResponse, sessionId: string}>;
4787+
47794788
/**
47804789
* Clears storage for origin.
47814790
*/

types/protocol.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5186,6 +5186,11 @@ export namespace Protocol {
51865186
* Associated style declaration.
51875187
*/
51885188
style: CSSStyle;
5189+
/**
5190+
* The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.
5191+
* @experimental
5192+
*/
5193+
originTreeScopeNodeId?: DOM.BackendNodeId;
51895194
/**
51905195
* Media list array (for rules involving media queries). The array enumerates media queries
51915196
* starting with the innermost one, going outwards.
@@ -19247,6 +19252,14 @@ export namespace Protocol {
1924719252
storageKey: SerializedStorageKey;
1924819253
}
1924919254

19255+
export interface GetStorageKeyRequest {
19256+
frameId?: Page.FrameId;
19257+
}
19258+
19259+
export interface GetStorageKeyResponse {
19260+
storageKey: SerializedStorageKey;
19261+
}
19262+
1925019263
export interface ClearDataForOriginRequest {
1925119264
/**
1925219265
* Security origin.

0 commit comments

Comments
 (0)