Skip to content

Commit edeffc1

Browse files
committed
Roll protocol to r1523998
1 parent 8570f86 commit edeffc1

File tree

8 files changed

+46
-23
lines changed

8 files changed

+46
-23
lines changed

changelog.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11

22

3+
## Roll protocol to r1523998 — _2025-10-02T04:30:37.000Z_
4+
###### Diff: [`8570f86...a6cdde4`](https://github.com/ChromeDevTools/devtools-protocol/compare/8570f86...a6cdde4)
5+
6+
```diff
7+
@@ domains/Network.pdl:1268 @@ domain Network
8+
# Blocks URLs from loading.
9+
experimental command setBlockedURLs
10+
parameters
11+
+ # URL patterns to block. Patterns use the URLPattern constructor string syntax
12+
+ # (https://urlpattern.spec.whatwg.org/). Example: `*://*:*/*.css`.
13+
+ optional array of string urlPatterns
14+
# URL patterns to block. Wildcards ('*') are allowed.
15+
- array of string urls
16+
+ deprecated optional array of string urls
17+
18+
# Toggles ignoring of service worker for each request.
19+
command setBypassServiceWorker
20+
```
21+
322
## Roll protocol to r1521046 — _2025-09-26T04:31:48.000Z_
423
###### Diff: [`e3b838c...f6820b4`](https://github.com/ChromeDevTools/devtools-protocol/compare/e3b838c...f6820b4)
524

@@ -42093,20 +42112,4 @@ index d4102f5c..6285d9b6 100644
4209342112
# to request a fresh SRR or use a still valid cached SRR.
4209442113
enum refreshPolicy
4209542114
UseCached
42096-
```
42097-
42098-
## Roll protocol to r1094278 — _2023-01-19T04:28:56.000Z_
42099-
###### Diff: [`370c224...6b557d0`](https://github.com/ChromeDevTools/devtools-protocol/compare/370c224...6b557d0)
42100-
42101-
```diff
42102-
@@ browser_protocol.pdl:8569 @@ domain Page
42103-
ActivationNavigationDestroyedBeforeSuccess
42104-
TabClosedByUserGesture
42105-
TabClosedWithoutUserGesture
42106-
+ PrimaryMainFrameRendererProcessCrashed
42107-
+ PrimaryMainFrameRendererProcessKilled
42108-
+ ActivationFramePolicyNotCompatible
42109-
42110-
# Fired when a prerender attempt is completed.
42111-
experimental event prerenderAttemptCompleted
4211242115
```

json/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"

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

pdl/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

scripts/inspector_protocol

Submodule inspector_protocol updated from 4cbd5a1 to 1b1bcbb

types/protocol-mapping.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4277,7 +4277,7 @@ export namespace ProtocolMapping {
42774277
* @experimental
42784278
*/
42794279
'Network.setBlockedURLs': {
4280-
paramsType: [Protocol.Network.SetBlockedURLsRequest];
4280+
paramsType: [Protocol.Network.SetBlockedURLsRequest?];
42814281
returnType: void;
42824282
};
42834283
/**

types/protocol.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13814,10 +13814,16 @@ export namespace Protocol {
1381413814
}
1381513815

1381613816
export interface SetBlockedURLsRequest {
13817+
/**
13818+
* URL patterns to block. Patterns use the URLPattern constructor string syntax
13819+
* (https://urlpattern.spec.whatwg.org/). Example: `*://*:*/*.css`.
13820+
*/
13821+
urlPatterns?: string[];
1381713822
/**
1381813823
* URL patterns to block. Wildcards ('*') are allowed.
13824+
* @deprecated
1381913825
*/
13820-
urls: string[];
13826+
urls?: string[];
1382113827
}
1382213828

1382313829
export interface SetBypassServiceWorkerRequest {

0 commit comments

Comments
 (0)