Skip to content

Commit 9f20e85

Browse files
devtools-ci-autoroll-builderDevtools-frontend LUCI CQ
authored andcommitted
Roll browser-protocol
This roll requires a manual review. See http://go/reviewed-rolls for guidance. In case of failures or errors, reach out to someone from config/owner/COMMON_OWNERS. Roll created at https://cr-buildbucket.appspot.com/build/8702484774267632353 R=chrome-devtools-waterfall-gardener-emea-oncall@google.com Bug: none Change-Id: Ie28df2391af00ac3485b5ee85038e80d45ba2410 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6990918 Reviewed-by: Changhao Han <changhaohan@chromium.org> Commit-Queue: Changhao Han <changhaohan@chromium.org> Bot-Commit: Devtools Autoroller <devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
1 parent 15638ba commit 9f20e85

9 files changed

Lines changed: 73 additions & 6 deletions

File tree

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ vars = {
2424
'inspector_protocol_revision': '1ac1ec6d0c61c081cc73793e491b987beecccde1',
2525

2626
# Keeping track of the last time we rolled the browser protocol files.
27-
'chromium_browser_protocol_revision' : 'c0cd408650a942d836b07c15facd3f4fede1d578',
27+
'chromium_browser_protocol_revision' : 'e8bb55e7f56140e285b00abfd3811f1c3656ca4c',
2828

2929
'clang_format_url': 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git',
3030
'clang_format_revision': '37f6e68a107df43b7d7e044fd36a13cbae3413f2',

front_end/generated/InspectorBackendCommands.js

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

front_end/generated/protocol-mapping.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4412,11 +4412,20 @@ export namespace ProtocolMapping {
44124412
};
44134413
/**
44144414
* Returns a storage key given a frame id.
4415+
* Deprecated. Please use Storage.getStorageKey instead.
44154416
*/
44164417
'Storage.getStorageKeyForFrame': {
44174418
paramsType: [Protocol.Storage.GetStorageKeyForFrameRequest];
44184419
returnType: Protocol.Storage.GetStorageKeyForFrameResponse;
44194420
};
4421+
/**
4422+
* Returns storage key for the given frame. If no frame ID is provided,
4423+
* the storage key of the target executing this command is returned.
4424+
*/
4425+
'Storage.getStorageKey': {
4426+
paramsType: [Protocol.Storage.GetStorageKeyRequest?];
4427+
returnType: Protocol.Storage.GetStorageKeyResponse;
4428+
};
44204429
/**
44214430
* Clears storage for origin.
44224431
*/

front_end/generated/protocol-proxy-api.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3824,9 +3824,17 @@ declare namespace ProtocolProxyApi {
38243824
export interface StorageApi {
38253825
/**
38263826
* Returns a storage key given a frame id.
3827+
* Deprecated. Please use Storage.getStorageKey instead.
3828+
* @deprecated
38273829
*/
38283830
invoke_getStorageKeyForFrame(params: Protocol.Storage.GetStorageKeyForFrameRequest): Promise<Protocol.Storage.GetStorageKeyForFrameResponse>;
38293831

3832+
/**
3833+
* Returns storage key for the given frame. If no frame ID is provided,
3834+
* the storage key of the target executing this command is returned.
3835+
*/
3836+
invoke_getStorageKey(params: Protocol.Storage.GetStorageKeyRequest): Promise<Protocol.Storage.GetStorageKeyResponse>;
3837+
38303838
/**
38313839
* Clears storage for origin.
38323840
*/

front_end/generated/protocol.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2848,6 +2848,10 @@ export namespace CSS {
28482848
* Associated style declaration.
28492849
*/
28502850
style: CSSStyle;
2851+
/**
2852+
* The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.
2853+
*/
2854+
originTreeScopeNodeId?: DOM.BackendNodeId;
28512855
/**
28522856
* Media list array (for rules involving media queries). The array enumerates media queries
28532857
* starting with the innermost one, going outwards.
@@ -17402,6 +17406,14 @@ export namespace Storage {
1740217406
storageKey: SerializedStorageKey;
1740317407
}
1740417408

17409+
export interface GetStorageKeyRequest {
17410+
frameId?: Page.FrameId;
17411+
}
17412+
17413+
export interface GetStorageKeyResponse extends ProtocolResponseWithError {
17414+
storageKey: SerializedStorageKey;
17415+
}
17416+
1740517417
export interface ClearDataForOriginRequest {
1740617418
/**
1740717419
* Security origin.

front_end/third_party/chromium/README.chromium

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Name: Dependencies sourced from the upstream `chromium` repository
22
URL: https://source.chromium.org/chromium/chromium/src/+/main:components/variations/proto/devtools/
33
Version: N/A
4-
Revision: c0cd408650a942d836b07c15facd3f4fede1d578
4+
Revision: e8bb55e7f56140e285b00abfd3811f1c3656ca4c
55
Update Mechanism: Manual (https://crbug.com/428069060)
66
License: BSD-3-Clause
77
License File: LICENSE

third_party/blink/public/devtools_protocol/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
],

third_party/blink/public/devtools_protocol/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

third_party/blink/public/devtools_protocol/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

0 commit comments

Comments
 (0)