Skip to content

Commit 028dc50

Browse files
committed
Roll protocol to r1438564
1 parent 432dff0 commit 028dc50

5 files changed

Lines changed: 174 additions & 75 deletions

File tree

changelog.md

Lines changed: 83 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,89 @@
11

22

3+
## Roll protocol to r1438564 — _2025-03-27T04:30:05.000Z_
4+
###### Diff: [`432dff0...27b50e6`](https://github.com/ChromeDevTools/devtools-protocol/compare/432dff0...27b50e6)
5+
6+
```diff
7+
@@ browser_protocol.pdl:10554 @@ experimental domain Storage
8+
bidderTrustedSignals
9+
sellerTrustedSignals
10+
11+
- # Enum of shared storage access types.
12+
- type SharedStorageAccessType extends string
13+
- enum
14+
- documentAddModule
15+
- documentSelectURL
16+
- documentRun
17+
- documentSet
18+
- documentAppend
19+
- documentDelete
20+
- documentClear
21+
- documentGet
22+
- workletSet
23+
- workletAppend
24+
- workletDelete
25+
- workletClear
26+
- workletGet
27+
- workletKeys
28+
- workletEntries
29+
- workletLength
30+
- workletRemainingBudget
31+
- headerSet
32+
- headerAppend
33+
- headerDelete
34+
- headerClear
35+
+ # Enum of shared storage access scopes.
36+
+ type SharedStorageAccessScope extends string
37+
+ enum
38+
+ window
39+
+ sharedStorageWorklet
40+
+ protectedAudienceWorklet
41+
+ header
42+
+
43+
+ # Enum of shared storage access methods.
44+
+ type SharedStorageAccessMethod extends string
45+
+ enum
46+
+ addModule
47+
+ createWorklet
48+
+ selectURL
49+
+ run
50+
+ batchUpdate
51+
+ set
52+
+ append
53+
+ delete
54+
+ clear
55+
+ get
56+
+ keys
57+
+ values
58+
+ entries
59+
+ length
60+
+ remainingBudget
61+
62+
# Struct for a single key-value pair in an origin's shared storage.
63+
type SharedStorageEntry extends object
64+
@@ -10993,12 +10995,16 @@ experimental domain Storage
65+
parameters
66+
# Time of the access.
67+
Network.TimeSinceEpoch accessTime
68+
+ # Enum value indicating the access scope.
69+
+ SharedStorageAccessScope scope
70+
# Enum value indicating the Shared Storage API method invoked.
71+
- SharedStorageAccessType type
72+
+ SharedStorageAccessMethod method
73+
# DevTools Frame Token for the primary frame tree's root.
74+
Page.FrameId mainFrameId
75+
- # Serialized origin for the context that invoked the Shared Storage API.
76+
+ # Serialization of the origin owning the Shared Storage data.
77+
string ownerOrigin
78+
+ # Serialization of the site owning the Shared Storage data.
79+
+ string ownerSite
80+
# The sub-parameters wrapped by `params` are all optional and their
81+
# presence/absence depends on `type`.
82+
SharedStorageAccessParams params
83+
```
84+
385
## Roll protocol to r1436416 — _2025-03-22T04:29:26.000Z_
4-
###### Diff: [`cf78806...fdfa272`](https://github.com/ChromeDevTools/devtools-protocol/compare/cf78806...fdfa272)
86+
###### Diff: [`cf78806...432dff0`](https://github.com/ChromeDevTools/devtools-protocol/compare/cf78806...432dff0)
587

688
```diff
789
@@ browser_protocol.pdl:8464 @@ domain Page
@@ -13275,23 +13357,6 @@ index 8e43695..7fd51df 100644
1327513357
- # recorded when it fails to get the memory usage.
1327613358
- FailToGetMemoryUsage
1327713359

13278-
# Fired when a prerender attempt is completed.
13279-
event prerenderAttemptCompleted
13280-
```
13281-
13282-
## Roll protocol to r1023572 — _2022-07-13T04:33:15.000Z_
13283-
###### Diff: [`e4b5ddd...3f04136`](https://github.com/ChromeDevTools/devtools-protocol/compare/e4b5ddd...3f04136)
13284-
13285-
```diff
13286-
@@ browser_protocol.pdl:8412 @@ domain Page
13287-
EmbedderTriggeredAndSameOriginRedirected
13288-
EmbedderTriggeredAndCrossOriginRedirected
13289-
EmbedderTriggeredAndDestroyed
13290-
+ MemoryLimitExceeded
13291-
+ # Prerenders can be cancelled when Chrome uses excessive memory. This is
13292-
+ # recorded when it fails to get the memory usage.
13293-
+ FailToGetMemoryUsage
13294-
1329513360
# Fired when a prerender attempt is completed.
1329613361
event prerenderAttemptCompleted
1329713362
```

json/browser_protocol.json

Lines changed: 41 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22299,31 +22299,36 @@
2229922299
]
2230022300
},
2230122301
{
22302-
"id": "SharedStorageAccessType",
22303-
"description": "Enum of shared storage access types.",
22302+
"id": "SharedStorageAccessScope",
22303+
"description": "Enum of shared storage access scopes.",
2230422304
"type": "string",
2230522305
"enum": [
22306-
"documentAddModule",
22307-
"documentSelectURL",
22308-
"documentRun",
22309-
"documentSet",
22310-
"documentAppend",
22311-
"documentDelete",
22312-
"documentClear",
22313-
"documentGet",
22314-
"workletSet",
22315-
"workletAppend",
22316-
"workletDelete",
22317-
"workletClear",
22318-
"workletGet",
22319-
"workletKeys",
22320-
"workletEntries",
22321-
"workletLength",
22322-
"workletRemainingBudget",
22323-
"headerSet",
22324-
"headerAppend",
22325-
"headerDelete",
22326-
"headerClear"
22306+
"window",
22307+
"sharedStorageWorklet",
22308+
"protectedAudienceWorklet",
22309+
"header"
22310+
]
22311+
},
22312+
{
22313+
"id": "SharedStorageAccessMethod",
22314+
"description": "Enum of shared storage access methods.",
22315+
"type": "string",
22316+
"enum": [
22317+
"addModule",
22318+
"createWorklet",
22319+
"selectURL",
22320+
"run",
22321+
"batchUpdate",
22322+
"set",
22323+
"append",
22324+
"delete",
22325+
"clear",
22326+
"get",
22327+
"keys",
22328+
"values",
22329+
"entries",
22330+
"length",
22331+
"remainingBudget"
2232722332
]
2232822333
},
2232922334
{
@@ -23874,9 +23879,14 @@
2387423879
"$ref": "Network.TimeSinceEpoch"
2387523880
},
2387623881
{
23877-
"name": "type",
23882+
"name": "scope",
23883+
"description": "Enum value indicating the access scope.",
23884+
"$ref": "SharedStorageAccessScope"
23885+
},
23886+
{
23887+
"name": "method",
2387823888
"description": "Enum value indicating the Shared Storage API method invoked.",
23879-
"$ref": "SharedStorageAccessType"
23889+
"$ref": "SharedStorageAccessMethod"
2388023890
},
2388123891
{
2388223892
"name": "mainFrameId",
@@ -23885,7 +23895,12 @@
2388523895
},
2388623896
{
2388723897
"name": "ownerOrigin",
23888-
"description": "Serialized origin for the context that invoked the Shared Storage API.",
23898+
"description": "Serialization of the origin owning the Shared Storage data.",
23899+
"type": "string"
23900+
},
23901+
{
23902+
"name": "ownerSite",
23903+
"description": "Serialization of the site owning the Shared Storage data.",
2388923904
"type": "string"
2389023905
},
2389123906
{

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.1436416",
3+
"version": "0.0.1438564",
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: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10554,30 +10554,32 @@ experimental domain Storage
1055410554
bidderTrustedSignals
1055510555
sellerTrustedSignals
1055610556

10557-
# Enum of shared storage access types.
10558-
type SharedStorageAccessType extends string
10559-
enum
10560-
documentAddModule
10561-
documentSelectURL
10562-
documentRun
10563-
documentSet
10564-
documentAppend
10565-
documentDelete
10566-
documentClear
10567-
documentGet
10568-
workletSet
10569-
workletAppend
10570-
workletDelete
10571-
workletClear
10572-
workletGet
10573-
workletKeys
10574-
workletEntries
10575-
workletLength
10576-
workletRemainingBudget
10577-
headerSet
10578-
headerAppend
10579-
headerDelete
10580-
headerClear
10557+
# Enum of shared storage access scopes.
10558+
type SharedStorageAccessScope extends string
10559+
enum
10560+
window
10561+
sharedStorageWorklet
10562+
protectedAudienceWorklet
10563+
header
10564+
10565+
# Enum of shared storage access methods.
10566+
type SharedStorageAccessMethod extends string
10567+
enum
10568+
addModule
10569+
createWorklet
10570+
selectURL
10571+
run
10572+
batchUpdate
10573+
set
10574+
append
10575+
delete
10576+
clear
10577+
get
10578+
keys
10579+
values
10580+
entries
10581+
length
10582+
remainingBudget
1058110583

1058210584
# Struct for a single key-value pair in an origin's shared storage.
1058310585
type SharedStorageEntry extends object
@@ -10993,12 +10995,16 @@ experimental domain Storage
1099310995
parameters
1099410996
# Time of the access.
1099510997
Network.TimeSinceEpoch accessTime
10998+
# Enum value indicating the access scope.
10999+
SharedStorageAccessScope scope
1099611000
# Enum value indicating the Shared Storage API method invoked.
10997-
SharedStorageAccessType type
11001+
SharedStorageAccessMethod method
1099811002
# DevTools Frame Token for the primary frame tree's root.
1099911003
Page.FrameId mainFrameId
11000-
# Serialized origin for the context that invoked the Shared Storage API.
11004+
# Serialization of the origin owning the Shared Storage data.
1100111005
string ownerOrigin
11006+
# Serialization of the site owning the Shared Storage data.
11007+
string ownerSite
1100211008
# The sub-parameters wrapped by `params` are all optional and their
1100311009
# presence/absence depends on `type`.
1100411010
SharedStorageAccessParams params

types/protocol.d.ts

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16361,9 +16361,14 @@ export namespace Protocol {
1636116361
export type InterestGroupAuctionFetchType = ('bidderJs' | 'bidderWasm' | 'sellerJs' | 'bidderTrustedSignals' | 'sellerTrustedSignals');
1636216362

1636316363
/**
16364-
* Enum of shared storage access types.
16364+
* Enum of shared storage access scopes.
1636516365
*/
16366-
export type SharedStorageAccessType = ('documentAddModule' | 'documentSelectURL' | 'documentRun' | 'documentSet' | 'documentAppend' | 'documentDelete' | 'documentClear' | 'documentGet' | 'workletSet' | 'workletAppend' | 'workletDelete' | 'workletClear' | 'workletGet' | 'workletKeys' | 'workletEntries' | 'workletLength' | 'workletRemainingBudget' | 'headerSet' | 'headerAppend' | 'headerDelete' | 'headerClear');
16366+
export type SharedStorageAccessScope = ('window' | 'sharedStorageWorklet' | 'protectedAudienceWorklet' | 'header');
16367+
16368+
/**
16369+
* Enum of shared storage access methods.
16370+
*/
16371+
export type SharedStorageAccessMethod = ('addModule' | 'createWorklet' | 'selectURL' | 'run' | 'batchUpdate' | 'set' | 'append' | 'delete' | 'clear' | 'get' | 'keys' | 'values' | 'entries' | 'length' | 'remainingBudget');
1636716372

1636816373
/**
1636916374
* Struct for a single key-value pair in an origin's shared storage.
@@ -17136,18 +17141,26 @@ export namespace Protocol {
1713617141
* Time of the access.
1713717142
*/
1713817143
accessTime: Network.TimeSinceEpoch;
17144+
/**
17145+
* Enum value indicating the access scope.
17146+
*/
17147+
scope: SharedStorageAccessScope;
1713917148
/**
1714017149
* Enum value indicating the Shared Storage API method invoked.
1714117150
*/
17142-
type: SharedStorageAccessType;
17151+
method: SharedStorageAccessMethod;
1714317152
/**
1714417153
* DevTools Frame Token for the primary frame tree's root.
1714517154
*/
1714617155
mainFrameId: Page.FrameId;
1714717156
/**
17148-
* Serialized origin for the context that invoked the Shared Storage API.
17157+
* Serialization of the origin owning the Shared Storage data.
1714917158
*/
1715017159
ownerOrigin: string;
17160+
/**
17161+
* Serialization of the site owning the Shared Storage data.
17162+
*/
17163+
ownerSite: string;
1715117164
/**
1715217165
* The sub-parameters wrapped by `params` are all optional and their
1715317166
* presence/absence depends on `type`.

0 commit comments

Comments
 (0)