devtools-protocol 0.0.1061995 → 0.0.1063652
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.
@@ -16332,8 +16332,6 @@
|
|
16332
16332
|
"Activated",
|
16333
16333
|
"Destroyed",
|
16334
16334
|
"LowEndDevice",
|
16335
|
-
"CrossOriginRedirect",
|
16336
|
-
"CrossOriginNavigation",
|
16337
16335
|
"InvalidSchemeRedirect",
|
16338
16336
|
"InvalidSchemeNavigation",
|
16339
16337
|
"InProgressNavigation",
|
@@ -16367,7 +16365,14 @@
|
|
16367
16365
|
"ActivatedBeforeStarted",
|
16368
16366
|
"InactivePageRestriction",
|
16369
16367
|
"StartFailed",
|
16370
|
-
"TimeoutBackgrounded"
|
16368
|
+
"TimeoutBackgrounded",
|
16369
|
+
"CrossSiteRedirect",
|
16370
|
+
"CrossSiteNavigation",
|
16371
|
+
"SameSiteCrossOriginRedirect",
|
16372
|
+
"SameSiteCrossOriginNavigation",
|
16373
|
+
"SameSiteCrossOriginRedirectNotOptIn",
|
16374
|
+
"SameSiteCrossOriginNavigationNotOptIn",
|
16375
|
+
"ActivationNavigationParameterMismatch"
|
16371
16376
|
]
|
16372
16377
|
}
|
16373
16378
|
],
|
@@ -19082,6 +19087,7 @@
|
|
19082
19087
|
"service_workers",
|
19083
19088
|
"cache_storage",
|
19084
19089
|
"interest_groups",
|
19090
|
+
"shared_storage",
|
19085
19091
|
"all",
|
19086
19092
|
"other"
|
19087
19093
|
]
|
@@ -19215,6 +19221,40 @@
|
|
19215
19221
|
}
|
19216
19222
|
}
|
19217
19223
|
]
|
19224
|
+
},
|
19225
|
+
{
|
19226
|
+
"id": "SharedStorageEntry",
|
19227
|
+
"description": "Struct for a single key-value pair in an origin's shared storage.",
|
19228
|
+
"type": "object",
|
19229
|
+
"properties": [
|
19230
|
+
{
|
19231
|
+
"name": "key",
|
19232
|
+
"type": "string"
|
19233
|
+
},
|
19234
|
+
{
|
19235
|
+
"name": "value",
|
19236
|
+
"type": "string"
|
19237
|
+
}
|
19238
|
+
]
|
19239
|
+
},
|
19240
|
+
{
|
19241
|
+
"id": "SharedStorageMetadata",
|
19242
|
+
"description": "Details for an origin's shared storage.",
|
19243
|
+
"type": "object",
|
19244
|
+
"properties": [
|
19245
|
+
{
|
19246
|
+
"name": "creationTime",
|
19247
|
+
"$ref": "Network.TimeSinceEpoch"
|
19248
|
+
},
|
19249
|
+
{
|
19250
|
+
"name": "length",
|
19251
|
+
"type": "integer"
|
19252
|
+
},
|
19253
|
+
{
|
19254
|
+
"name": "remainingBudget",
|
19255
|
+
"type": "number"
|
19256
|
+
}
|
19257
|
+
]
|
19218
19258
|
}
|
19219
19259
|
],
|
19220
19260
|
"commands": [
|
@@ -19503,6 +19543,43 @@
|
|
19503
19543
|
"type": "boolean"
|
19504
19544
|
}
|
19505
19545
|
]
|
19546
|
+
},
|
19547
|
+
{
|
19548
|
+
"name": "getSharedStorageMetadata",
|
19549
|
+
"description": "Gets metadata for an origin's shared storage.",
|
19550
|
+
"experimental": true,
|
19551
|
+
"parameters": [
|
19552
|
+
{
|
19553
|
+
"name": "ownerOrigin",
|
19554
|
+
"type": "string"
|
19555
|
+
}
|
19556
|
+
],
|
19557
|
+
"returns": [
|
19558
|
+
{
|
19559
|
+
"name": "metadata",
|
19560
|
+
"$ref": "SharedStorageMetadata"
|
19561
|
+
}
|
19562
|
+
]
|
19563
|
+
},
|
19564
|
+
{
|
19565
|
+
"name": "getSharedStorageEntries",
|
19566
|
+
"description": "Gets the entries in an given origin's shared storage.",
|
19567
|
+
"experimental": true,
|
19568
|
+
"parameters": [
|
19569
|
+
{
|
19570
|
+
"name": "ownerOrigin",
|
19571
|
+
"type": "string"
|
19572
|
+
}
|
19573
|
+
],
|
19574
|
+
"returns": [
|
19575
|
+
{
|
19576
|
+
"name": "entries",
|
19577
|
+
"type": "array",
|
19578
|
+
"items": {
|
19579
|
+
"$ref": "SharedStorageEntry"
|
19580
|
+
}
|
19581
|
+
}
|
19582
|
+
]
|
19506
19583
|
}
|
19507
19584
|
],
|
19508
19585
|
"events": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -8470,8 +8470,6 @@ domain Page
|
|
8470
8470
|
Activated
|
8471
8471
|
Destroyed
|
8472
8472
|
LowEndDevice
|
8473
|
-
CrossOriginRedirect
|
8474
|
-
CrossOriginNavigation
|
8475
8473
|
InvalidSchemeRedirect
|
8476
8474
|
InvalidSchemeNavigation
|
8477
8475
|
InProgressNavigation
|
@@ -8508,6 +8506,13 @@ domain Page
|
|
8508
8506
|
InactivePageRestriction
|
8509
8507
|
StartFailed
|
8510
8508
|
TimeoutBackgrounded
|
8509
|
+
CrossSiteRedirect
|
8510
|
+
CrossSiteNavigation
|
8511
|
+
SameSiteCrossOriginRedirect
|
8512
|
+
SameSiteCrossOriginNavigation
|
8513
|
+
SameSiteCrossOriginRedirectNotOptIn
|
8514
|
+
SameSiteCrossOriginNavigationNotOptIn
|
8515
|
+
ActivationNavigationParameterMismatch
|
8511
8516
|
|
8512
8517
|
# Fired when a prerender attempt is completed.
|
8513
8518
|
experimental event prerenderAttemptCompleted
|
@@ -9014,6 +9019,7 @@ experimental domain Storage
|
|
9014
9019
|
service_workers
|
9015
9020
|
cache_storage
|
9016
9021
|
interest_groups
|
9022
|
+
shared_storage
|
9017
9023
|
all
|
9018
9024
|
other
|
9019
9025
|
|
@@ -9063,6 +9069,19 @@ experimental domain Storage
|
|
9063
9069
|
array of InterestGroupAd ads
|
9064
9070
|
array of InterestGroupAd adComponents
|
9065
9071
|
|
9072
|
+
# Struct for a single key-value pair in an origin's shared storage.
|
9073
|
+
type SharedStorageEntry extends object
|
9074
|
+
properties
|
9075
|
+
string key
|
9076
|
+
string value
|
9077
|
+
|
9078
|
+
# Details for an origin's shared storage.
|
9079
|
+
type SharedStorageMetadata extends object
|
9080
|
+
properties
|
9081
|
+
Network.TimeSinceEpoch creationTime
|
9082
|
+
integer length
|
9083
|
+
number remainingBudget
|
9084
|
+
|
9066
9085
|
# Returns a storage key given a frame id.
|
9067
9086
|
command getStorageKeyForFrame
|
9068
9087
|
parameters
|
@@ -9202,6 +9221,20 @@ experimental domain Storage
|
|
9202
9221
|
parameters
|
9203
9222
|
boolean enable
|
9204
9223
|
|
9224
|
+
# Gets metadata for an origin's shared storage.
|
9225
|
+
experimental command getSharedStorageMetadata
|
9226
|
+
parameters
|
9227
|
+
string ownerOrigin
|
9228
|
+
returns
|
9229
|
+
SharedStorageMetadata metadata
|
9230
|
+
|
9231
|
+
# Gets the entries in an given origin's shared storage.
|
9232
|
+
experimental command getSharedStorageEntries
|
9233
|
+
parameters
|
9234
|
+
string ownerOrigin
|
9235
|
+
returns
|
9236
|
+
array of SharedStorageEntry entries
|
9237
|
+
|
9205
9238
|
# A cache's contents have been modified.
|
9206
9239
|
event cacheStorageContentUpdated
|
9207
9240
|
parameters
|
@@ -4094,6 +4094,20 @@ export namespace ProtocolMapping {
|
|
4094
4094
|
paramsType: [Protocol.Storage.SetInterestGroupTrackingRequest];
|
4095
4095
|
returnType: void;
|
4096
4096
|
};
|
4097
|
+
/**
|
4098
|
+
* Gets metadata for an origin's shared storage.
|
4099
|
+
*/
|
4100
|
+
'Storage.getSharedStorageMetadata': {
|
4101
|
+
paramsType: [Protocol.Storage.GetSharedStorageMetadataRequest];
|
4102
|
+
returnType: Protocol.Storage.GetSharedStorageMetadataResponse;
|
4103
|
+
};
|
4104
|
+
/**
|
4105
|
+
* Gets the entries in an given origin's shared storage.
|
4106
|
+
*/
|
4107
|
+
'Storage.getSharedStorageEntries': {
|
4108
|
+
paramsType: [Protocol.Storage.GetSharedStorageEntriesRequest];
|
4109
|
+
returnType: Protocol.Storage.GetSharedStorageEntriesResponse;
|
4110
|
+
};
|
4097
4111
|
/**
|
4098
4112
|
* Returns information about the system.
|
4099
4113
|
*/
|
@@ -3314,6 +3314,16 @@ export namespace ProtocolProxyApi {
|
|
3314
3314
|
*/
|
3315
3315
|
setInterestGroupTracking(params: Protocol.Storage.SetInterestGroupTrackingRequest): Promise<void>;
|
3316
3316
|
|
3317
|
+
/**
|
3318
|
+
* Gets metadata for an origin's shared storage.
|
3319
|
+
*/
|
3320
|
+
getSharedStorageMetadata(params: Protocol.Storage.GetSharedStorageMetadataRequest): Promise<Protocol.Storage.GetSharedStorageMetadataResponse>;
|
3321
|
+
|
3322
|
+
/**
|
3323
|
+
* Gets the entries in an given origin's shared storage.
|
3324
|
+
*/
|
3325
|
+
getSharedStorageEntries(params: Protocol.Storage.GetSharedStorageEntriesRequest): Promise<Protocol.Storage.GetSharedStorageEntriesResponse>;
|
3326
|
+
|
3317
3327
|
/**
|
3318
3328
|
* A cache's contents have been modified.
|
3319
3329
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -12839,7 +12839,7 @@ export namespace Protocol {
|
|
12839
12839
|
/**
|
12840
12840
|
* List of FinalStatus reasons for Prerender2.
|
12841
12841
|
*/
|
12842
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | '
|
12842
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirect' | 'CrossSiteNavigation' | 'SameSiteCrossOriginRedirect' | 'SameSiteCrossOriginNavigation' | 'SameSiteCrossOriginRedirectNotOptIn' | 'SameSiteCrossOriginNavigationNotOptIn' | 'ActivationNavigationParameterMismatch');
|
12843
12843
|
|
12844
12844
|
export interface AddScriptToEvaluateOnLoadRequest {
|
12845
12845
|
scriptSource: string;
|
@@ -14526,7 +14526,7 @@ export namespace Protocol {
|
|
14526
14526
|
/**
|
14527
14527
|
* Enum of possible storage types.
|
14528
14528
|
*/
|
14529
|
-
export type StorageType = ('appcache' | 'cookies' | 'file_systems' | 'indexeddb' | 'local_storage' | 'shader_cache' | 'websql' | 'service_workers' | 'cache_storage' | 'interest_groups' | 'all' | 'other');
|
14529
|
+
export type StorageType = ('appcache' | 'cookies' | 'file_systems' | 'indexeddb' | 'local_storage' | 'shader_cache' | 'websql' | 'service_workers' | 'cache_storage' | 'interest_groups' | 'shared_storage' | 'all' | 'other');
|
14530
14530
|
|
14531
14531
|
/**
|
14532
14532
|
* Usage for a storage type.
|
@@ -14582,6 +14582,23 @@ export namespace Protocol {
|
|
14582
14582
|
adComponents: InterestGroupAd[];
|
14583
14583
|
}
|
14584
14584
|
|
14585
|
+
/**
|
14586
|
+
* Struct for a single key-value pair in an origin's shared storage.
|
14587
|
+
*/
|
14588
|
+
export interface SharedStorageEntry {
|
14589
|
+
key: string;
|
14590
|
+
value: string;
|
14591
|
+
}
|
14592
|
+
|
14593
|
+
/**
|
14594
|
+
* Details for an origin's shared storage.
|
14595
|
+
*/
|
14596
|
+
export interface SharedStorageMetadata {
|
14597
|
+
creationTime: Network.TimeSinceEpoch;
|
14598
|
+
length: integer;
|
14599
|
+
remainingBudget: number;
|
14600
|
+
}
|
14601
|
+
|
14585
14602
|
export interface GetStorageKeyForFrameRequest {
|
14586
14603
|
frameId: Page.FrameId;
|
14587
14604
|
}
|
@@ -14757,6 +14774,22 @@ export namespace Protocol {
|
|
14757
14774
|
enable: boolean;
|
14758
14775
|
}
|
14759
14776
|
|
14777
|
+
export interface GetSharedStorageMetadataRequest {
|
14778
|
+
ownerOrigin: string;
|
14779
|
+
}
|
14780
|
+
|
14781
|
+
export interface GetSharedStorageMetadataResponse {
|
14782
|
+
metadata: SharedStorageMetadata;
|
14783
|
+
}
|
14784
|
+
|
14785
|
+
export interface GetSharedStorageEntriesRequest {
|
14786
|
+
ownerOrigin: string;
|
14787
|
+
}
|
14788
|
+
|
14789
|
+
export interface GetSharedStorageEntriesResponse {
|
14790
|
+
entries: SharedStorageEntry[];
|
14791
|
+
}
|
14792
|
+
|
14760
14793
|
/**
|
14761
14794
|
* A cache's contents have been modified.
|
14762
14795
|
*/
|