@@ -21,7 +21,6 @@ experimental domain Storage
2121 websql
2222 service_workers
2323 cache_storage
24- shared_storage
2524 storage_buckets
2625 all
2726 other
@@ -42,147 +41,6 @@ experimental domain Storage
4241 number count
4342
4443
45- # Enum of shared storage access scopes.
46- type SharedStorageAccessScope extends string
47- enum
48- window
49- sharedStorageWorklet
50- header
51-
52- # Enum of shared storage access methods.
53- type SharedStorageAccessMethod extends string
54- enum
55- addModule
56- createWorklet
57- selectURL
58- run
59- batchUpdate
60- set
61- append
62- delete
63- clear
64- get
65- keys
66- values
67- entries
68- length
69- remainingBudget
70-
71- # Struct for a single key-value pair in an origin's shared storage.
72- type SharedStorageEntry extends object
73- properties
74- string key
75- string value
76-
77- # Details for an origin's shared storage.
78- type SharedStorageMetadata extends object
79- properties
80- # Time when the origin's shared storage was last created.
81- Network.TimeSinceEpoch creationTime
82- # Number of key-value pairs stored in origin's shared storage.
83- integer length
84- # Current amount of bits of entropy remaining in the navigation budget.
85- number remainingBudget
86- # Total number of bytes stored as key-value pairs in origin's shared
87- # storage.
88- integer bytesUsed
89-
90- # Represents a dictionary object passed in as privateAggregationConfig to
91- # run or selectURL.
92- type SharedStoragePrivateAggregationConfig extends object
93- properties
94- # The chosen aggregation service deployment.
95- optional string aggregationCoordinatorOrigin
96- # The context ID provided.
97- optional string contextId
98- # Configures the maximum size allowed for filtering IDs.
99- integer filteringIdMaxBytes
100- # The limit on the number of contributions in the final report.
101- optional integer maxContributions
102-
103- # Pair of reporting metadata details for a candidate URL for `selectURL()`.
104- type SharedStorageReportingMetadata extends object
105- properties
106- string eventType
107- string reportingUrl
108-
109- # Bundles a candidate URL with its reporting metadata.
110- type SharedStorageUrlWithMetadata extends object
111- properties
112- # Spec of candidate URL.
113- string url
114- # Any associated reporting metadata.
115- array of SharedStorageReportingMetadata reportingMetadata
116-
117- # Bundles the parameters for shared storage access events whose
118- # presence/absence can vary according to SharedStorageAccessType.
119- type SharedStorageAccessParams extends object
120- properties
121- # Spec of the module script URL.
122- # Present only for SharedStorageAccessMethods: addModule and
123- # createWorklet.
124- optional string scriptSourceUrl
125- # String denoting "context-origin", "script-origin", or a custom
126- # origin to be used as the worklet's data origin.
127- # Present only for SharedStorageAccessMethod: createWorklet.
128- optional string dataOrigin
129- # Name of the registered operation to be run.
130- # Present only for SharedStorageAccessMethods: run and selectURL.
131- optional string operationName
132- # ID of the operation call.
133- # Present only for SharedStorageAccessMethods: run and selectURL.
134- optional string operationId
135- # Whether or not to keep the worket alive for future run or selectURL
136- # calls.
137- # Present only for SharedStorageAccessMethods: run and selectURL.
138- optional boolean keepAlive
139- # Configures the private aggregation options.
140- # Present only for SharedStorageAccessMethods: run and selectURL.
141- optional SharedStoragePrivateAggregationConfig privateAggregationConfig
142- # The operation's serialized data in bytes (converted to a string).
143- # Present only for SharedStorageAccessMethods: run and selectURL.
144- # TODO(crbug.com/401011862): Consider updating this parameter to binary.
145- optional string serializedData
146- # Array of candidate URLs' specs, along with any associated metadata.
147- # Present only for SharedStorageAccessMethod: selectURL.
148- optional array of SharedStorageUrlWithMetadata urlsWithMetadata
149- # Spec of the URN:UUID generated for a selectURL call.
150- # Present only for SharedStorageAccessMethod: selectURL.
151- optional string urnUuid
152- # Key for a specific entry in an origin's shared storage.
153- # Present only for SharedStorageAccessMethods: set, append, delete, and
154- # get.
155- optional string key
156- # Value for a specific entry in an origin's shared storage.
157- # Present only for SharedStorageAccessMethods: set and append.
158- optional string value
159- # Whether or not to set an entry for a key if that key is already present.
160- # Present only for SharedStorageAccessMethod: set.
161- optional boolean ignoreIfPresent
162- # A number denoting the (0-based) order of the worklet's
163- # creation relative to all other shared storage worklets created by
164- # documents using the current storage partition.
165- # Present only for SharedStorageAccessMethods: addModule, createWorklet.
166- optional integer workletOrdinal
167- # Hex representation of the DevTools token used as the TargetID for the
168- # associated shared storage worklet.
169- # Present only for SharedStorageAccessMethods: addModule, createWorklet,
170- # run, selectURL, and any other SharedStorageAccessMethod when the
171- # SharedStorageAccessScope is sharedStorageWorklet.
172- optional Target.TargetID workletTargetId
173- # Name of the lock to be acquired, if present.
174- # Optionally present only for SharedStorageAccessMethods: batchUpdate,
175- # set, append, delete, and clear.
176- optional string withLock
177- # If the method has been called as part of a batchUpdate, then this
178- # number identifies the batch to which it belongs.
179- # Optionally present only for SharedStorageAccessMethods:
180- # batchUpdate (required), set, append, delete, and clear.
181- optional string batchUpdateId
182- # Number of modifier methods sent in batch.
183- # Present only for SharedStorageAccessMethod: batchUpdate.
184- optional integer batchSize
185-
18644 type StorageBucketsDurability extends string
18745 enum
18846 relaxed
@@ -351,51 +209,6 @@ experimental domain Storage
351209 # True if any tokens were deleted, false otherwise.
352210 boolean didDeleteTokens
353211
354- # Gets metadata for an origin's shared storage.
355- experimental command getSharedStorageMetadata
356- parameters
357- string ownerOrigin
358- returns
359- SharedStorageMetadata metadata
360-
361- # Gets the entries in an given origin's shared storage.
362- experimental command getSharedStorageEntries
363- parameters
364- string ownerOrigin
365- returns
366- array of SharedStorageEntry entries
367-
368- # Sets entry with `key` and `value` for a given origin's shared storage.
369- experimental command setSharedStorageEntry
370- parameters
371- string ownerOrigin
372- string key
373- string value
374- # If `ignoreIfPresent` is included and true, then only sets the entry if
375- # `key` doesn't already exist.
376- optional boolean ignoreIfPresent
377-
378- # Deletes entry for `key` (if it exists) for a given origin's shared storage.
379- experimental command deleteSharedStorageEntry
380- parameters
381- string ownerOrigin
382- string key
383-
384- # Clears all entries for a given origin's shared storage.
385- experimental command clearSharedStorageEntries
386- parameters
387- string ownerOrigin
388-
389- # Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
390- experimental command resetSharedStorageBudget
391- parameters
392- string ownerOrigin
393-
394- # Enables/disables issuing of sharedStorageAccessed events.
395- experimental command setSharedStorageTracking
396- parameters
397- boolean enable
398-
399212 # Set tracking for a storage key's buckets.
400213 experimental command setStorageBucketTracking
401214 parameters
@@ -458,47 +271,6 @@ experimental domain Storage
458271 # Storage bucket to update.
459272 string bucketId
460273
461- # Shared storage was accessed by the associated page.
462- # The following parameters are included in all events.
463- event sharedStorageAccessed
464- parameters
465- # Time of the access.
466- Network.TimeSinceEpoch accessTime
467- # Enum value indicating the access scope.
468- SharedStorageAccessScope scope
469- # Enum value indicating the Shared Storage API method invoked.
470- SharedStorageAccessMethod method
471- # DevTools Frame Token for the primary frame tree's root.
472- Page.FrameId mainFrameId
473- # Serialization of the origin owning the Shared Storage data.
474- string ownerOrigin
475- # Serialization of the site owning the Shared Storage data.
476- string ownerSite
477- # The sub-parameters wrapped by `params` are all optional and their
478- # presence/absence depends on `type`.
479- SharedStorageAccessParams params
480-
481- # A shared storage run or selectURL operation finished its execution.
482- # The following parameters are included in all events.
483- event sharedStorageWorkletOperationExecutionFinished
484- parameters
485- # Time that the operation finished.
486- Network.TimeSinceEpoch finishedTime
487- # Time, in microseconds, from start of shared storage JS API call until
488- # end of operation execution in the worklet.
489- integer executionTime
490- # Enum value indicating the Shared Storage API method invoked.
491- SharedStorageAccessMethod method
492- # ID of the operation call.
493- string operationId
494- # Hex representation of the DevTools token used as the TargetID for the
495- # associated shared storage worklet.
496- Target.TargetID workletTargetId
497- # DevTools Frame Token for the primary frame tree's root.
498- Page.FrameId mainFrameId
499- # Serialization of the origin owning the Shared Storage data.
500- string ownerOrigin
501-
502274 event storageBucketCreatedOrUpdated
503275 parameters
504276 StorageBucketInfo bucketInfo
0 commit comments