Skip to content

Commit 3d1bd00

Browse files
Piotr PaulskiDevtools-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/8702156360419386065 [email protected] Bug: none Change-Id: Ide203a106cd2cbf90699be0381edb650352ce745 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7002466 Commit-Queue: Piotr Paulski <[email protected]> Owners-Override: Piotr Paulski <[email protected]> Reviewed-by: Nikolay Vitkov <[email protected]> Commit-Queue: Nikolay Vitkov <[email protected]>
1 parent 9599f6b commit 3d1bd00

File tree

9 files changed

+31
-7
lines changed

9 files changed

+31
-7
lines changed

DEPS

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

2626
# Keeping track of the last time we rolled the browser protocol files.
27-
'chromium_browser_protocol_revision' : 'dbf22c7fa56bf4f6c2e77dc6daed082ea013572e',
27+
'chromium_browser_protocol_revision' : '7e820ee23f1e46a5f03cb6e18b22a5a5120927eb',
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: 1 addition & 1 deletion
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3443,7 +3443,7 @@ export namespace ProtocolMapping {
34433443
* Blocks URLs from loading.
34443444
*/
34453445
'Network.setBlockedURLs': {
3446-
paramsType: [Protocol.Network.SetBlockedURLsRequest];
3446+
paramsType: [Protocol.Network.SetBlockedURLsRequest?];
34473447
returnType: void;
34483448
};
34493449
/**

front_end/generated/protocol.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11606,10 +11606,16 @@ export namespace Network {
1160611606
}
1160711607

1160811608
export interface SetBlockedURLsRequest {
11609+
/**
11610+
* URL patterns to block. Patterns use the URLPattern constructor string syntax
11611+
* (https://urlpattern.spec.whatwg.org/). Example: `*://*:*\/*.css`.
11612+
*/
11613+
urlPatterns?: string[];
1160911614
/**
1161011615
* URL patterns to block. Wildcards ('*') are allowed.
11616+
* @deprecated
1161111617
*/
11612-
urls: string[];
11618+
urls?: string[];
1161311619
}
1161411620

1161511621
export interface SetBypassServiceWorkerRequest {

front_end/models/javascript_metadata/NativeFunctions.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8834,6 +8834,10 @@ export const NativeFunctions = [
88348834
name: "VideoEncoder",
88358835
signatures: [["init"]]
88368836
},
8837+
{
8838+
name: "VideoFrame",
8839+
signatures: [["source","?init"],["data","init"]]
8840+
},
88378841
{
88388842
name: "clipControlEXT",
88398843
signatures: [["origin","depth"]]

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: dbf22c7fa56bf4f6c2e77dc6daed082ea013572e
4+
Revision: 7e820ee23f1e46a5f03cb6e18b22a5a5120927eb
55
Update Mechanism: Manual (https://crbug.com/428069060)
66
License: BSD-3-Clause
77
License File: LICENSE

scripts/protocol_typescript/protocol_dts_generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const emitTsComment =
118118

119119
const emitDescription = (lines: string[]) => {
120120
emitLine('/**');
121-
lines.map(l => l ? emitLine(` * ${l}`) : emitLine(' *'));
121+
lines.map(l => l ? emitLine(` * ${l.replaceAll('*/', '*\\/')}`) : emitLine(' *'));
122122
emitLine(' */');
123123
};
124124

third_party/blink/public/devtools_protocol/browser_protocol.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17571,9 +17571,20 @@
1757117571
"description": "Blocks URLs from loading.",
1757217572
"experimental": true,
1757317573
"parameters": [
17574+
{
17575+
"name": "urlPatterns",
17576+
"description": "URL patterns to block. Patterns use the URLPattern constructor string syntax\n(https://urlpattern.spec.whatwg.org/). Example: `*://*:*/*.css`.",
17577+
"optional": true,
17578+
"type": "array",
17579+
"items": {
17580+
"type": "string"
17581+
}
17582+
},
1757417583
{
1757517584
"name": "urls",
1757617585
"description": "URL patterns to block. Wildcards ('*') are allowed.",
17586+
"deprecated": true,
17587+
"optional": true,
1757717588
"type": "array",
1757817589
"items": {
1757917590
"type": "string"

third_party/blink/public/devtools_protocol/domains/Network.pdl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,8 +1268,11 @@ domain Network
12681268
# Blocks URLs from loading.
12691269
experimental command setBlockedURLs
12701270
parameters
1271+
# URL patterns to block. Patterns use the URLPattern constructor string syntax
1272+
# (https://urlpattern.spec.whatwg.org/). Example: `*://*:*/*.css`.
1273+
optional array of string urlPatterns
12711274
# URL patterns to block. Wildcards ('*') are allowed.
1272-
array of string urls
1275+
deprecated optional array of string urls
12731276

12741277
# Toggles ignoring of service worker for each request.
12751278
command setBypassServiceWorker

0 commit comments

Comments
 (0)