Skip to content

Commit e267f46

Browse files
committed
Roll protocol to r1463868
1 parent 13ce94b commit e267f46

8 files changed

Lines changed: 244 additions & 27 deletions

changelog.md

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

22

3+
## Roll protocol to r1463868 — _2025-05-22T04:31:25.000Z_
4+
###### Diff: [`13ce94b...edae34d`](https://github.com/ChromeDevTools/devtools-protocol/compare/13ce94b...edae34d)
5+
6+
```diff
7+
@@ browser_protocol.pdl:10800 @@ experimental domain Storage
8+
# Name of the registered operation to be run.
9+
# Present only for SharedStorageAccessMethods: run and selectURL.
10+
optional string operationName
11+
+ # ID of the operation call.
12+
+ # Present only for SharedStorageAccessMethods: run and selectURL.
13+
+ optional string operationId
14+
# Whether or not to keep the worket alive for future run or selectURL
15+
# calls.
16+
# Present only for SharedStorageAccessMethods: run and selectURL.
17+
@@ -10827,12 +10830,22 @@ experimental domain Storage
18+
# Whether or not to set an entry for a key if that key is already present.
19+
# Present only for SharedStorageAccessMethod: set.
20+
optional boolean ignoreIfPresent
21+
- # If the method is called on a worklet, or as part of
22+
- # a worklet script, it will have an ID for the associated worklet.
23+
+ # If the method is called on a shared storage worklet, or as part of
24+
+ # a shared storage worklet script, it will have a number for the
25+
+ # associated worklet, denoting the (0-indexed) order of the worklet's
26+
+ # creation relative to all other shared storage worklets created by
27+
+ # documents using the current storage partition.
28+
+ # Present only for SharedStorageAccessMethods: addModule, createWorklet,
29+
+ # run, selectURL, and any other SharedStorageAccessMethod when the
30+
+ # SharedStorageAccessScope is sharedStorageWorklet.
31+
+ # TODO(crbug.com/401011862): Pass this only for addModule & createWorklet.
32+
+ optional integer workletOrdinal
33+
+ # Hex representation of the DevTools token used as the TargetID for the
34+
+ # associated shared storage worklet.
35+
# Present only for SharedStorageAccessMethods: addModule, createWorklet,
36+
# run, selectURL, and any other SharedStorageAccessMethod when the
37+
- # SharedStorageAccessScope is worklet.
38+
- optional string workletId
39+
+ # SharedStorageAccessScope is sharedStorageWorklet.
40+
+ optional Target.TargetID workletTargetId
41+
# Name of the lock to be acquired, if present.
42+
# Optionally present only for SharedStorageAccessMethods: batchUpdate,
43+
# set, append, delete, and clear.
44+
@@ -11197,6 +11210,27 @@ experimental domain Storage
45+
# presence/absence depends on `type`.
46+
SharedStorageAccessParams params
47+
48+
+ # A shared storage run or selectURL operation finished its execution.
49+
+ # The following parameters are included in all events.
50+
+ event sharedStorageWorkletOperationExecutionFinished
51+
+ parameters
52+
+ # Time that the operation finished.
53+
+ Network.TimeSinceEpoch finishedTime
54+
+ # Time, in microseconds, from start of shared storage JS API call until
55+
+ # end of operation execution in the worklet.
56+
+ integer executionTime
57+
+ # Enum value indicating the Shared Storage API method invoked.
58+
+ SharedStorageAccessMethod method
59+
+ # ID of the operation call.
60+
+ string operationId
61+
+ # Hex representation of the DevTools token used as the TargetID for the
62+
+ # associated shared storage worklet.
63+
+ Target.TargetID workletTargetId
64+
+ # DevTools Frame Token for the primary frame tree's root.
65+
+ Page.FrameId mainFrameId
66+
+ # Serialization of the origin owning the Shared Storage data.
67+
+ string ownerOrigin
68+
+
69+
event storageBucketCreatedOrUpdated
70+
parameters
71+
StorageBucketInfo bucketInfo
72+
```
73+
374
## Roll protocol to r1462568 — _2025-05-20T04:31:10.000Z_
4-
###### Diff: [`7193d4d...b1c1119`](https://github.com/ChromeDevTools/devtools-protocol/compare/7193d4d...b1c1119)
75+
###### Diff: [`7193d4d...13ce94b`](https://github.com/ChromeDevTools/devtools-protocol/compare/7193d4d...13ce94b)
576

677
```diff
778
@@ browser_protocol.pdl:13667 @@ experimental domain BluetoothEmulation
@@ -13867,18 +13938,4 @@ index 8d8211b..2d56043 100644
1386713938

1386813939
# CSS media rule descriptor.
1386913940
type CSSMedia extends object
13870-
```
13871-
13872-
## Roll protocol to r1033355 — _2022-08-10T04:31:04.000Z_
13873-
###### Diff: [`958f979...181b0dd`](https://github.com/ChromeDevTools/devtools-protocol/compare/958f979...181b0dd)
13874-
13875-
```diff
13876-
@@ browser_protocol.pdl:7156 @@ domain Page
13877-
storage-access-api
13878-
sync-xhr
13879-
trust-token-redemption
13880-
+ unload
13881-
usb
13882-
vertical-scroll
13883-
web-share
1388413941
```

json/browser_protocol.json

Lines changed: 56 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22825,6 +22825,12 @@
2282522825
"optional": true,
2282622826
"type": "string"
2282722827
},
22828+
{
22829+
"name": "operationId",
22830+
"description": "ID of the operation call.\nPresent only for SharedStorageAccessMethods: run and selectURL.",
22831+
"optional": true,
22832+
"type": "string"
22833+
},
2282822834
{
2282922835
"name": "keepAlive",
2283022836
"description": "Whether or not to keep the worket alive for future run or selectURL\ncalls.\nPresent only for SharedStorageAccessMethods: run and selectURL.",
@@ -22877,10 +22883,16 @@
2287722883
"type": "boolean"
2287822884
},
2287922885
{
22880-
"name": "workletId",
22881-
"description": "If the method is called on a worklet, or as part of\na worklet script, it will have an ID for the associated worklet.\nPresent only for SharedStorageAccessMethods: addModule, createWorklet,\nrun, selectURL, and any other SharedStorageAccessMethod when the\nSharedStorageAccessScope is worklet.",
22886+
"name": "workletOrdinal",
22887+
"description": "If the method is called on a shared storage worklet, or as part of\na shared storage worklet script, it will have a number for the\nassociated worklet, denoting the (0-indexed) order of the worklet's\ncreation relative to all other shared storage worklets created by\ndocuments using the current storage partition.\nPresent only for SharedStorageAccessMethods: addModule, createWorklet,\nrun, selectURL, and any other SharedStorageAccessMethod when the\nSharedStorageAccessScope is sharedStorageWorklet.\nTODO(crbug.com/401011862): Pass this only for addModule & createWorklet.",
2288222888
"optional": true,
22883-
"type": "string"
22889+
"type": "integer"
22890+
},
22891+
{
22892+
"name": "workletTargetId",
22893+
"description": "Hex representation of the DevTools token used as the TargetID for the\nassociated shared storage worklet.\nPresent only for SharedStorageAccessMethods: addModule, createWorklet,\nrun, selectURL, and any other SharedStorageAccessMethod when the\nSharedStorageAccessScope is sharedStorageWorklet.",
22894+
"optional": true,
22895+
"$ref": "Target.TargetID"
2288422896
},
2288522897
{
2288622898
"name": "withLock",
@@ -24422,6 +24434,47 @@
2442224434
}
2442324435
]
2442424436
},
24437+
{
24438+
"name": "sharedStorageWorkletOperationExecutionFinished",
24439+
"description": "A shared storage run or selectURL operation finished its execution.\nThe following parameters are included in all events.",
24440+
"parameters": [
24441+
{
24442+
"name": "finishedTime",
24443+
"description": "Time that the operation finished.",
24444+
"$ref": "Network.TimeSinceEpoch"
24445+
},
24446+
{
24447+
"name": "executionTime",
24448+
"description": "Time, in microseconds, from start of shared storage JS API call until\nend of operation execution in the worklet.",
24449+
"type": "integer"
24450+
},
24451+
{
24452+
"name": "method",
24453+
"description": "Enum value indicating the Shared Storage API method invoked.",
24454+
"$ref": "SharedStorageAccessMethod"
24455+
},
24456+
{
24457+
"name": "operationId",
24458+
"description": "ID of the operation call.",
24459+
"type": "string"
24460+
},
24461+
{
24462+
"name": "workletTargetId",
24463+
"description": "Hex representation of the DevTools token used as the TargetID for the\nassociated shared storage worklet.",
24464+
"$ref": "Target.TargetID"
24465+
},
24466+
{
24467+
"name": "mainFrameId",
24468+
"description": "DevTools Frame Token for the primary frame tree's root.",
24469+
"$ref": "Page.FrameId"
24470+
},
24471+
{
24472+
"name": "ownerOrigin",
24473+
"description": "Serialization of the origin owning the Shared Storage data.",
24474+
"type": "string"
24475+
}
24476+
]
24477+
},
2442524478
{
2442624479
"name": "storageBucketCreatedOrUpdated",
2442724480
"parameters": [

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

pdl/browser_protocol.pdl

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10800,6 +10800,9 @@ experimental domain Storage
1080010800
# Name of the registered operation to be run.
1080110801
# Present only for SharedStorageAccessMethods: run and selectURL.
1080210802
optional string operationName
10803+
# ID of the operation call.
10804+
# Present only for SharedStorageAccessMethods: run and selectURL.
10805+
optional string operationId
1080310806
# Whether or not to keep the worket alive for future run or selectURL
1080410807
# calls.
1080510808
# Present only for SharedStorageAccessMethods: run and selectURL.
@@ -10827,12 +10830,22 @@ experimental domain Storage
1082710830
# Whether or not to set an entry for a key if that key is already present.
1082810831
# Present only for SharedStorageAccessMethod: set.
1082910832
optional boolean ignoreIfPresent
10830-
# If the method is called on a worklet, or as part of
10831-
# a worklet script, it will have an ID for the associated worklet.
10833+
# If the method is called on a shared storage worklet, or as part of
10834+
# a shared storage worklet script, it will have a number for the
10835+
# associated worklet, denoting the (0-indexed) order of the worklet's
10836+
# creation relative to all other shared storage worklets created by
10837+
# documents using the current storage partition.
10838+
# Present only for SharedStorageAccessMethods: addModule, createWorklet,
10839+
# run, selectURL, and any other SharedStorageAccessMethod when the
10840+
# SharedStorageAccessScope is sharedStorageWorklet.
10841+
# TODO(crbug.com/401011862): Pass this only for addModule & createWorklet.
10842+
optional integer workletOrdinal
10843+
# Hex representation of the DevTools token used as the TargetID for the
10844+
# associated shared storage worklet.
1083210845
# Present only for SharedStorageAccessMethods: addModule, createWorklet,
1083310846
# run, selectURL, and any other SharedStorageAccessMethod when the
10834-
# SharedStorageAccessScope is worklet.
10835-
optional string workletId
10847+
# SharedStorageAccessScope is sharedStorageWorklet.
10848+
optional Target.TargetID workletTargetId
1083610849
# Name of the lock to be acquired, if present.
1083710850
# Optionally present only for SharedStorageAccessMethods: batchUpdate,
1083810851
# set, append, delete, and clear.
@@ -11197,6 +11210,27 @@ experimental domain Storage
1119711210
# presence/absence depends on `type`.
1119811211
SharedStorageAccessParams params
1119911212

11213+
# A shared storage run or selectURL operation finished its execution.
11214+
# The following parameters are included in all events.
11215+
event sharedStorageWorkletOperationExecutionFinished
11216+
parameters
11217+
# Time that the operation finished.
11218+
Network.TimeSinceEpoch finishedTime
11219+
# Time, in microseconds, from start of shared storage JS API call until
11220+
# end of operation execution in the worklet.
11221+
integer executionTime
11222+
# Enum value indicating the Shared Storage API method invoked.
11223+
SharedStorageAccessMethod method
11224+
# ID of the operation call.
11225+
string operationId
11226+
# Hex representation of the DevTools token used as the TargetID for the
11227+
# associated shared storage worklet.
11228+
Target.TargetID workletTargetId
11229+
# DevTools Frame Token for the primary frame tree's root.
11230+
Page.FrameId mainFrameId
11231+
# Serialization of the origin owning the Shared Storage data.
11232+
string ownerOrigin
11233+
1120011234
event storageBucketCreatedOrUpdated
1120111235
parameters
1120211236
StorageBucketInfo bucketInfo

types/protocol-mapping.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,11 @@ export namespace ProtocolMapping {
656656
* The following parameters are included in all events.
657657
*/
658658
'Storage.sharedStorageAccessed': [Protocol.Storage.SharedStorageAccessedEvent];
659+
/**
660+
* A shared storage run or selectURL operation finished its execution.
661+
* The following parameters are included in all events.
662+
*/
663+
'Storage.sharedStorageWorkletOperationExecutionFinished': [Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent];
659664
'Storage.storageBucketCreatedOrUpdated': [Protocol.Storage.StorageBucketCreatedOrUpdatedEvent];
660665
'Storage.storageBucketDeleted': [Protocol.Storage.StorageBucketDeletedEvent];
661666
'Storage.attributionReportingSourceRegistered': [Protocol.Storage.AttributionReportingSourceRegisteredEvent];

types/protocol-proxy-api.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3852,6 +3852,12 @@ export namespace ProtocolProxyApi {
38523852
*/
38533853
on(event: 'sharedStorageAccessed', listener: (params: Protocol.Storage.SharedStorageAccessedEvent) => void): void;
38543854

3855+
/**
3856+
* A shared storage run or selectURL operation finished its execution.
3857+
* The following parameters are included in all events.
3858+
*/
3859+
on(event: 'sharedStorageWorkletOperationExecutionFinished', listener: (params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent) => void): void;
3860+
38553861
on(event: 'storageBucketCreatedOrUpdated', listener: (params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent) => void): void;
38563862

38573863
on(event: 'storageBucketDeleted', listener: (params: Protocol.Storage.StorageBucketDeletedEvent) => void): void;

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4176,6 +4176,14 @@ export namespace ProtocolTestsProxyApi {
41764176
offSharedStorageAccessed(listener: (event: { params: Protocol.Storage.SharedStorageAccessedEvent }) => void): void;
41774177
onceSharedStorageAccessed(eventMatcher?: (event: { params: Protocol.Storage.SharedStorageAccessedEvent }) => boolean): Promise<{ params: Protocol.Storage.SharedStorageAccessedEvent }>;
41784178

4179+
/**
4180+
* A shared storage run or selectURL operation finished its execution.
4181+
* The following parameters are included in all events.
4182+
*/
4183+
onSharedStorageWorkletOperationExecutionFinished(listener: (event: { params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent }) => void): void;
4184+
offSharedStorageWorkletOperationExecutionFinished(listener: (event: { params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent }) => void): void;
4185+
onceSharedStorageWorkletOperationExecutionFinished(eventMatcher?: (event: { params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent }) => boolean): Promise<{ params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent }>;
4186+
41794187
onStorageBucketCreatedOrUpdated(listener: (event: { params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }) => void): void;
41804188
offStorageBucketCreatedOrUpdated(listener: (event: { params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }) => void): void;
41814189
onceStorageBucketCreatedOrUpdated(eventMatcher?: (event: { params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }) => boolean): Promise<{ params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }>;

0 commit comments

Comments
 (0)