Skip to content

Commit 9b417d8

Browse files
committed
Roll protocol to r1695952
1 parent bfb674c commit 9b417d8

6 files changed

Lines changed: 50 additions & 33 deletions

File tree

changelog.md

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,33 @@
11

22

3+
## Roll protocol to r1695952 — _2026-09-11T04:39:58.000Z_
4+
###### Diff: [`bfb674c...78e23a1`](https://github.com/ChromeDevTools/devtools-protocol/compare/bfb674c...78e23a1)
5+
6+
```diff
7+
@@ domains/ServiceWorker.pdl:33 @@ experimental domain ServiceWorker
8+
redundant
9+
10+
# Mostly corresponds to `RouterCondition` in ServiceWorker spec
11+
- # (https://www.w3.org/TR/service-workers/#dictdef-routercondition) while this
12+
- # currently lacks support for the nested conditions ("or" and "not").
13+
- # TODO(crbug.com/540469610): Support recursive conditions.
14+
+ # (https://www.w3.org/TR/service-workers/#dictdef-routercondition)
15+
type ServiceWorkerRouterCondition extends object
16+
properties
17+
# Plain text, or JSON serialization of URLPatternInit or URLPattern
18+
@@ -44,6 +42,8 @@ experimental domain ServiceWorker
19+
optional string requestMode
20+
optional string requestDestination
21+
optional ServiceWorkerVersionRunningStatus runningStatus
22+
+ optional array of ServiceWorkerRouterCondition or
23+
+ optional ServiceWorkerRouterCondition not
24+
25+
type ServiceWorkerRouterSourceType extends string
26+
enum
27+
```
28+
329
## Roll protocol to r1695166 — _2026-09-10T04:37:44.000Z_
4-
###### Diff: [`7ad4320...cae7849`](https://github.com/ChromeDevTools/devtools-protocol/compare/7ad4320...cae7849)
30+
###### Diff: [`7ad4320...bfb674c`](https://github.com/ChromeDevTools/devtools-protocol/compare/7ad4320...bfb674c)
531

632
```diff
733
@@ domains/Network.pdl:2168 @@ domain Network
@@ -43472,26 +43498,4 @@ index 4754f17c..8dad9c98 100644
4347243498

4347343499
# Emitted when an address form is filled.
4347443500
event addressFormFilled
43475-
```
43476-
43477-
## Roll protocol to r1238944 — _2023-12-19T04:26:54.000Z_
43478-
###### Diff: [`fe8e9cc...b7323b1`](https://github.com/ChromeDevTools/devtools-protocol/compare/fe8e9cc...b7323b1)
43479-
43480-
```diff
43481-
@@ browser_protocol.pdl:7672 @@ domain Page
43482-
private-aggregation
43483-
private-state-token-issuance
43484-
private-state-token-redemption
43485-
+ publickey-credentials-create
43486-
publickey-credentials-get
43487-
run-ad-auction
43488-
screen-wake-lock
43489-
@@ -8903,6 +8904,7 @@ domain Page
43490-
WebTransportSticky
43491-
WebSocketSticky
43492-
SmartCard
43493-
+ LiveMediaStreamTrack
43494-
# Disabled for RenderFrameHost reasons
43495-
# See content/browser/renderer_host/back_forward_cache_disable.h for explanations.
43496-
ContentSecurityHandler
4349743501
```

json/browser_protocol.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26473,7 +26473,7 @@
2647326473
},
2647426474
{
2647526475
"id": "ServiceWorkerRouterCondition",
26476-
"description": "Mostly corresponds to `RouterCondition` in ServiceWorker spec\n(https://www.w3.org/TR/service-workers/#dictdef-routercondition) while this\ncurrently lacks support for the nested conditions (\"or\" and \"not\").\nTODO(crbug.com/540469610): Support recursive conditions.",
26476+
"description": "Mostly corresponds to `RouterCondition` in ServiceWorker spec\n(https://www.w3.org/TR/service-workers/#dictdef-routercondition)",
2647726477
"type": "object",
2647826478
"properties": [
2647926479
{
@@ -26501,6 +26501,19 @@
2650126501
"name": "runningStatus",
2650226502
"optional": true,
2650326503
"$ref": "ServiceWorkerVersionRunningStatus"
26504+
},
26505+
{
26506+
"name": "or",
26507+
"optional": true,
26508+
"type": "array",
26509+
"items": {
26510+
"$ref": "ServiceWorkerRouterCondition"
26511+
}
26512+
},
26513+
{
26514+
"name": "not",
26515+
"optional": true,
26516+
"$ref": "ServiceWorkerRouterCondition"
2650426517
}
2650526518
]
2650626519
},

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

pdl/domains/ServiceWorker.pdl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ experimental domain ServiceWorker
3333
redundant
3434

3535
# Mostly corresponds to `RouterCondition` in ServiceWorker spec
36-
# (https://www.w3.org/TR/service-workers/#dictdef-routercondition) while this
37-
# currently lacks support for the nested conditions ("or" and "not").
38-
# TODO(crbug.com/540469610): Support recursive conditions.
36+
# (https://www.w3.org/TR/service-workers/#dictdef-routercondition)
3937
type ServiceWorkerRouterCondition extends object
4038
properties
4139
# Plain text, or JSON serialization of URLPatternInit or URLPattern
@@ -44,6 +42,8 @@ experimental domain ServiceWorker
4442
optional string requestMode
4543
optional string requestDestination
4644
optional ServiceWorkerVersionRunningStatus runningStatus
45+
optional array of ServiceWorkerRouterCondition or
46+
optional ServiceWorkerRouterCondition not
4747

4848
type ServiceWorkerRouterSourceType extends string
4949
enum

types/protocol.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19533,9 +19533,7 @@ export namespace Protocol {
1953319533

1953419534
/**
1953519535
* Mostly corresponds to `RouterCondition` in ServiceWorker spec
19536-
* (https://www.w3.org/TR/service-workers/#dictdef-routercondition) while this
19537-
* currently lacks support for the nested conditions ("or" and "not").
19538-
* TODO(crbug.com/540469610): Support recursive conditions.
19536+
* (https://www.w3.org/TR/service-workers/#dictdef-routercondition)
1953919537
*/
1954019538
export interface ServiceWorkerRouterCondition {
1954119539
/**
@@ -19546,6 +19544,8 @@ export namespace Protocol {
1954619544
requestMode?: string;
1954719545
requestDestination?: string;
1954819546
runningStatus?: ServiceWorkerVersionRunningStatus;
19547+
or?: ServiceWorkerRouterCondition[];
19548+
not?: ServiceWorkerRouterCondition;
1954919549
}
1955019550

1955119551
export type ServiceWorkerRouterSourceType = ('cache' | 'fetchEvent' | 'network' | 'raceNetworkAndFetchHandler' | 'raceNetworkAndCache' | 'sourceDict');

0 commit comments

Comments
 (0)