devtools-protocol 0.0.1462014 → 0.0.1463868
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22825,6 +22825,12 @@
|
|
22825
22825
|
"optional": true,
|
22826
22826
|
"type": "string"
|
22827
22827
|
},
|
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
|
+
},
|
22828
22834
|
{
|
22829
22835
|
"name": "keepAlive",
|
22830
22836
|
"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 @@
|
|
22877
22883
|
"type": "boolean"
|
22878
22884
|
},
|
22879
22885
|
{
|
22880
|
-
"name": "
|
22881
|
-
"description": "If the method is called on a worklet, or as part of\na worklet script, it will have
|
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.",
|
22882
22888
|
"optional": true,
|
22883
|
-
"type": "
|
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"
|
22884
22896
|
},
|
22885
22897
|
{
|
22886
22898
|
"name": "withLock",
|
@@ -24422,6 +24434,47 @@
|
|
24422
24434
|
}
|
24423
24435
|
]
|
24424
24436
|
},
|
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
|
+
},
|
24425
24478
|
{
|
24426
24479
|
"name": "storageBucketCreatedOrUpdated",
|
24427
24480
|
"parameters": [
|
@@ -28835,7 +28888,7 @@
|
|
28835
28888
|
},
|
28836
28889
|
{
|
28837
28890
|
"name": "type",
|
28838
|
-
"$ref": "
|
28891
|
+
"$ref": "DescriptorOperationType"
|
28839
28892
|
},
|
28840
28893
|
{
|
28841
28894
|
"name": "data",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -10800,6 +10800,9 @@ experimental domain Storage
|
|
10800
10800
|
# Name of the registered operation to be run.
|
10801
10801
|
# Present only for SharedStorageAccessMethods: run and selectURL.
|
10802
10802
|
optional string operationName
|
10803
|
+
# ID of the operation call.
|
10804
|
+
# Present only for SharedStorageAccessMethods: run and selectURL.
|
10805
|
+
optional string operationId
|
10803
10806
|
# Whether or not to keep the worket alive for future run or selectURL
|
10804
10807
|
# calls.
|
10805
10808
|
# Present only for SharedStorageAccessMethods: run and selectURL.
|
@@ -10827,12 +10830,22 @@ experimental domain Storage
|
|
10827
10830
|
# Whether or not to set an entry for a key if that key is already present.
|
10828
10831
|
# Present only for SharedStorageAccessMethod: set.
|
10829
10832
|
optional boolean ignoreIfPresent
|
10830
|
-
# If the method is called on a worklet, or as part of
|
10831
|
-
# a worklet script, it will have
|
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.
|
10832
10845
|
# Present only for SharedStorageAccessMethods: addModule, createWorklet,
|
10833
10846
|
# run, selectURL, and any other SharedStorageAccessMethod when the
|
10834
|
-
# SharedStorageAccessScope is
|
10835
|
-
optional
|
10847
|
+
# SharedStorageAccessScope is sharedStorageWorklet.
|
10848
|
+
optional Target.TargetID workletTargetId
|
10836
10849
|
# Name of the lock to be acquired, if present.
|
10837
10850
|
# Optionally present only for SharedStorageAccessMethods: batchUpdate,
|
10838
10851
|
# set, append, delete, and clear.
|
@@ -11197,6 +11210,27 @@ experimental domain Storage
|
|
11197
11210
|
# presence/absence depends on `type`.
|
11198
11211
|
SharedStorageAccessParams params
|
11199
11212
|
|
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
|
+
|
11200
11234
|
event storageBucketCreatedOrUpdated
|
11201
11235
|
parameters
|
11202
11236
|
StorageBucketInfo bucketInfo
|
@@ -13667,5 +13701,5 @@ experimental domain BluetoothEmulation
|
|
13667
13701
|
event descriptorOperationReceived
|
13668
13702
|
parameters
|
13669
13703
|
string descriptorId
|
13670
|
-
|
13704
|
+
DescriptorOperationType type
|
13671
13705
|
optional binary data
|
@@ -656,6 +656,11 @@ export namespace ProtocolMapping {
|
|
656
656
|
* The following parameters are included in all events.
|
657
657
|
*/
|
658
658
|
'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];
|
659
664
|
'Storage.storageBucketCreatedOrUpdated': [Protocol.Storage.StorageBucketCreatedOrUpdatedEvent];
|
660
665
|
'Storage.storageBucketDeleted': [Protocol.Storage.StorageBucketDeletedEvent];
|
661
666
|
'Storage.attributionReportingSourceRegistered': [Protocol.Storage.AttributionReportingSourceRegisteredEvent];
|
@@ -3852,6 +3852,12 @@ export namespace ProtocolProxyApi {
|
|
3852
3852
|
*/
|
3853
3853
|
on(event: 'sharedStorageAccessed', listener: (params: Protocol.Storage.SharedStorageAccessedEvent) => void): void;
|
3854
3854
|
|
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
|
+
|
3855
3861
|
on(event: 'storageBucketCreatedOrUpdated', listener: (params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent) => void): void;
|
3856
3862
|
|
3857
3863
|
on(event: 'storageBucketDeleted', listener: (params: Protocol.Storage.StorageBucketDeletedEvent) => void): void;
|
@@ -4176,6 +4176,14 @@ export namespace ProtocolTestsProxyApi {
|
|
4176
4176
|
offSharedStorageAccessed(listener: (event: { params: Protocol.Storage.SharedStorageAccessedEvent }) => void): void;
|
4177
4177
|
onceSharedStorageAccessed(eventMatcher?: (event: { params: Protocol.Storage.SharedStorageAccessedEvent }) => boolean): Promise<{ params: Protocol.Storage.SharedStorageAccessedEvent }>;
|
4178
4178
|
|
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
|
+
|
4179
4187
|
onStorageBucketCreatedOrUpdated(listener: (event: { params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }) => void): void;
|
4180
4188
|
offStorageBucketCreatedOrUpdated(listener: (event: { params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }) => void): void;
|
4181
4189
|
onceStorageBucketCreatedOrUpdated(eventMatcher?: (event: { params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }) => boolean): Promise<{ params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }>;
|
package/types/protocol.d.ts
CHANGED
@@ -16644,6 +16644,11 @@ export namespace Protocol {
|
|
16644
16644
|
* Present only for SharedStorageAccessMethods: run and selectURL.
|
16645
16645
|
*/
|
16646
16646
|
operationName?: string;
|
16647
|
+
/**
|
16648
|
+
* ID of the operation call.
|
16649
|
+
* Present only for SharedStorageAccessMethods: run and selectURL.
|
16650
|
+
*/
|
16651
|
+
operationId?: string;
|
16647
16652
|
/**
|
16648
16653
|
* Whether or not to keep the worket alive for future run or selectURL
|
16649
16654
|
* calls.
|
@@ -16688,13 +16693,25 @@ export namespace Protocol {
|
|
16688
16693
|
*/
|
16689
16694
|
ignoreIfPresent?: boolean;
|
16690
16695
|
/**
|
16691
|
-
* If the method is called on a worklet, or as part of
|
16692
|
-
* a worklet script, it will have
|
16696
|
+
* If the method is called on a shared storage worklet, or as part of
|
16697
|
+
* a shared storage worklet script, it will have a number for the
|
16698
|
+
* associated worklet, denoting the (0-indexed) order of the worklet's
|
16699
|
+
* creation relative to all other shared storage worklets created by
|
16700
|
+
* documents using the current storage partition.
|
16693
16701
|
* Present only for SharedStorageAccessMethods: addModule, createWorklet,
|
16694
16702
|
* run, selectURL, and any other SharedStorageAccessMethod when the
|
16695
|
-
* SharedStorageAccessScope is
|
16703
|
+
* SharedStorageAccessScope is sharedStorageWorklet.
|
16704
|
+
* TODO(crbug.com/401011862): Pass this only for addModule & createWorklet.
|
16696
16705
|
*/
|
16697
|
-
|
16706
|
+
workletOrdinal?: integer;
|
16707
|
+
/**
|
16708
|
+
* Hex representation of the DevTools token used as the TargetID for the
|
16709
|
+
* associated shared storage worklet.
|
16710
|
+
* Present only for SharedStorageAccessMethods: addModule, createWorklet,
|
16711
|
+
* run, selectURL, and any other SharedStorageAccessMethod when the
|
16712
|
+
* SharedStorageAccessScope is sharedStorageWorklet.
|
16713
|
+
*/
|
16714
|
+
workletTargetId?: Target.TargetID;
|
16698
16715
|
/**
|
16699
16716
|
* Name of the lock to be acquired, if present.
|
16700
16717
|
* Optionally present only for SharedStorageAccessMethods: batchUpdate,
|
@@ -17418,6 +17435,43 @@ export namespace Protocol {
|
|
17418
17435
|
params: SharedStorageAccessParams;
|
17419
17436
|
}
|
17420
17437
|
|
17438
|
+
/**
|
17439
|
+
* A shared storage run or selectURL operation finished its execution.
|
17440
|
+
* The following parameters are included in all events.
|
17441
|
+
*/
|
17442
|
+
export interface SharedStorageWorkletOperationExecutionFinishedEvent {
|
17443
|
+
/**
|
17444
|
+
* Time that the operation finished.
|
17445
|
+
*/
|
17446
|
+
finishedTime: Network.TimeSinceEpoch;
|
17447
|
+
/**
|
17448
|
+
* Time, in microseconds, from start of shared storage JS API call until
|
17449
|
+
* end of operation execution in the worklet.
|
17450
|
+
*/
|
17451
|
+
executionTime: integer;
|
17452
|
+
/**
|
17453
|
+
* Enum value indicating the Shared Storage API method invoked.
|
17454
|
+
*/
|
17455
|
+
method: SharedStorageAccessMethod;
|
17456
|
+
/**
|
17457
|
+
* ID of the operation call.
|
17458
|
+
*/
|
17459
|
+
operationId: string;
|
17460
|
+
/**
|
17461
|
+
* Hex representation of the DevTools token used as the TargetID for the
|
17462
|
+
* associated shared storage worklet.
|
17463
|
+
*/
|
17464
|
+
workletTargetId: Target.TargetID;
|
17465
|
+
/**
|
17466
|
+
* DevTools Frame Token for the primary frame tree's root.
|
17467
|
+
*/
|
17468
|
+
mainFrameId: Page.FrameId;
|
17469
|
+
/**
|
17470
|
+
* Serialization of the origin owning the Shared Storage data.
|
17471
|
+
*/
|
17472
|
+
ownerOrigin: string;
|
17473
|
+
}
|
17474
|
+
|
17421
17475
|
export interface StorageBucketCreatedOrUpdatedEvent {
|
17422
17476
|
bucketInfo: StorageBucketInfo;
|
17423
17477
|
}
|
@@ -19963,7 +20017,7 @@ export namespace Protocol {
|
|
19963
20017
|
*/
|
19964
20018
|
export interface DescriptorOperationReceivedEvent {
|
19965
20019
|
descriptorId: string;
|
19966
|
-
type:
|
20020
|
+
type: DescriptorOperationType;
|
19967
20021
|
data?: string;
|
19968
20022
|
}
|
19969
20023
|
}
|