devtools-protocol 0.0.1323532 → 0.0.1324661
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.
@@ -9882,6 +9882,108 @@
|
|
9882
9882
|
}
|
9883
9883
|
]
|
9884
9884
|
},
|
9885
|
+
{
|
9886
|
+
"domain": "FileSystem",
|
9887
|
+
"experimental": true,
|
9888
|
+
"dependencies": [
|
9889
|
+
"Network",
|
9890
|
+
"Storage"
|
9891
|
+
],
|
9892
|
+
"types": [
|
9893
|
+
{
|
9894
|
+
"id": "File",
|
9895
|
+
"type": "object",
|
9896
|
+
"properties": [
|
9897
|
+
{
|
9898
|
+
"name": "name",
|
9899
|
+
"type": "string"
|
9900
|
+
},
|
9901
|
+
{
|
9902
|
+
"name": "lastModified",
|
9903
|
+
"description": "Timestamp",
|
9904
|
+
"$ref": "Network.TimeSinceEpoch"
|
9905
|
+
},
|
9906
|
+
{
|
9907
|
+
"name": "size",
|
9908
|
+
"description": "Size in bytes",
|
9909
|
+
"type": "number"
|
9910
|
+
},
|
9911
|
+
{
|
9912
|
+
"name": "type",
|
9913
|
+
"type": "string"
|
9914
|
+
}
|
9915
|
+
]
|
9916
|
+
},
|
9917
|
+
{
|
9918
|
+
"id": "Directory",
|
9919
|
+
"type": "object",
|
9920
|
+
"properties": [
|
9921
|
+
{
|
9922
|
+
"name": "name",
|
9923
|
+
"type": "string"
|
9924
|
+
},
|
9925
|
+
{
|
9926
|
+
"name": "nestedDirectories",
|
9927
|
+
"type": "array",
|
9928
|
+
"items": {
|
9929
|
+
"type": "string"
|
9930
|
+
}
|
9931
|
+
},
|
9932
|
+
{
|
9933
|
+
"name": "nestedFiles",
|
9934
|
+
"description": "Files that are directly nested under this directory.",
|
9935
|
+
"type": "array",
|
9936
|
+
"items": {
|
9937
|
+
"$ref": "File"
|
9938
|
+
}
|
9939
|
+
}
|
9940
|
+
]
|
9941
|
+
},
|
9942
|
+
{
|
9943
|
+
"id": "BucketFileSystemLocator",
|
9944
|
+
"type": "object",
|
9945
|
+
"properties": [
|
9946
|
+
{
|
9947
|
+
"name": "storageKey",
|
9948
|
+
"description": "Storage key",
|
9949
|
+
"$ref": "Storage.SerializedStorageKey"
|
9950
|
+
},
|
9951
|
+
{
|
9952
|
+
"name": "bucketName",
|
9953
|
+
"description": "Bucket name. Not passing a `bucketName` will retrieve the default Bucket. (https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#storage_buckets)",
|
9954
|
+
"optional": true,
|
9955
|
+
"type": "string"
|
9956
|
+
},
|
9957
|
+
{
|
9958
|
+
"name": "pathComponents",
|
9959
|
+
"description": "Path to the directory using each path component as an array item.",
|
9960
|
+
"type": "array",
|
9961
|
+
"items": {
|
9962
|
+
"type": "string"
|
9963
|
+
}
|
9964
|
+
}
|
9965
|
+
]
|
9966
|
+
}
|
9967
|
+
],
|
9968
|
+
"commands": [
|
9969
|
+
{
|
9970
|
+
"name": "getDirectory",
|
9971
|
+
"parameters": [
|
9972
|
+
{
|
9973
|
+
"name": "bucketFileSystemLocator",
|
9974
|
+
"$ref": "BucketFileSystemLocator"
|
9975
|
+
}
|
9976
|
+
],
|
9977
|
+
"returns": [
|
9978
|
+
{
|
9979
|
+
"name": "directory",
|
9980
|
+
"description": "Returns the directory object at the path.",
|
9981
|
+
"$ref": "Directory"
|
9982
|
+
}
|
9983
|
+
]
|
9984
|
+
}
|
9985
|
+
]
|
9986
|
+
},
|
9885
9987
|
{
|
9886
9988
|
"domain": "IndexedDB",
|
9887
9989
|
"experimental": true,
|
@@ -16839,6 +16941,7 @@
|
|
16839
16941
|
"compute-pressure",
|
16840
16942
|
"cross-origin-isolated",
|
16841
16943
|
"deferred-fetch",
|
16944
|
+
"digital-credentials-get",
|
16842
16945
|
"direct-sockets",
|
16843
16946
|
"display-capture",
|
16844
16947
|
"document-domain",
|
@@ -21616,6 +21719,10 @@
|
|
21616
21719
|
"name": "value",
|
21617
21720
|
"description": "number instead of integer because not all uint32 can be represented by\nint",
|
21618
21721
|
"type": "number"
|
21722
|
+
},
|
21723
|
+
{
|
21724
|
+
"name": "filteringId",
|
21725
|
+
"$ref": "UnsignedInt64AsBase10"
|
21619
21726
|
}
|
21620
21727
|
]
|
21621
21728
|
},
|
@@ -21741,6 +21848,10 @@
|
|
21741
21848
|
"$ref": "AttributionReportingAggregatableValueEntry"
|
21742
21849
|
}
|
21743
21850
|
},
|
21851
|
+
{
|
21852
|
+
"name": "aggregatableFilteringIdMaxBytes",
|
21853
|
+
"type": "integer"
|
21854
|
+
},
|
21744
21855
|
{
|
21745
21856
|
"name": "debugReporting",
|
21746
21857
|
"type": "boolean"
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -4560,6 +4560,42 @@ domain IO
|
|
4560
4560
|
# UUID of the specified Blob.
|
4561
4561
|
string uuid
|
4562
4562
|
|
4563
|
+
experimental domain FileSystem
|
4564
|
+
depends on Network
|
4565
|
+
depends on Storage
|
4566
|
+
|
4567
|
+
type File extends object
|
4568
|
+
properties
|
4569
|
+
string name
|
4570
|
+
# Timestamp
|
4571
|
+
Network.TimeSinceEpoch lastModified
|
4572
|
+
# Size in bytes
|
4573
|
+
number size
|
4574
|
+
string type
|
4575
|
+
|
4576
|
+
type Directory extends object
|
4577
|
+
properties
|
4578
|
+
string name
|
4579
|
+
array of string nestedDirectories
|
4580
|
+
# Files that are directly nested under this directory.
|
4581
|
+
array of File nestedFiles
|
4582
|
+
|
4583
|
+
type BucketFileSystemLocator extends object
|
4584
|
+
properties
|
4585
|
+
# Storage key
|
4586
|
+
Storage.SerializedStorageKey storageKey
|
4587
|
+
# Bucket name. Not passing a `bucketName` will retrieve the default Bucket. (https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#storage_buckets)
|
4588
|
+
optional string bucketName
|
4589
|
+
# Path to the directory using each path component as an array item.
|
4590
|
+
array of string pathComponents
|
4591
|
+
|
4592
|
+
command getDirectory
|
4593
|
+
parameters
|
4594
|
+
BucketFileSystemLocator bucketFileSystemLocator
|
4595
|
+
returns
|
4596
|
+
# Returns the directory object at the path.
|
4597
|
+
Directory directory
|
4598
|
+
|
4563
4599
|
experimental domain IndexedDB
|
4564
4600
|
depends on Runtime
|
4565
4601
|
depends on Storage
|
@@ -7927,6 +7963,7 @@ domain Page
|
|
7927
7963
|
compute-pressure
|
7928
7964
|
cross-origin-isolated
|
7929
7965
|
deferred-fetch
|
7966
|
+
digital-credentials-get
|
7930
7967
|
direct-sockets
|
7931
7968
|
display-capture
|
7932
7969
|
document-domain
|
@@ -10536,6 +10573,8 @@ experimental domain Storage
|
|
10536
10573
|
# number instead of integer because not all uint32 can be represented by
|
10537
10574
|
# int
|
10538
10575
|
number value
|
10576
|
+
UnsignedInt64AsBase10 filteringId
|
10577
|
+
|
10539
10578
|
|
10540
10579
|
experimental type AttributionReportingAggregatableValueEntry extends object
|
10541
10580
|
properties
|
@@ -10568,6 +10607,7 @@ experimental domain Storage
|
|
10568
10607
|
array of AttributionReportingEventTriggerData eventTriggerData
|
10569
10608
|
array of AttributionReportingAggregatableTriggerData aggregatableTriggerData
|
10570
10609
|
array of AttributionReportingAggregatableValueEntry aggregatableValues
|
10610
|
+
integer aggregatableFilteringIdMaxBytes
|
10571
10611
|
boolean debugReporting
|
10572
10612
|
optional string aggregationCoordinatorOrigin
|
10573
10613
|
AttributionReportingSourceRegistrationTimeConfig sourceRegistrationTimeConfig
|
@@ -2869,6 +2869,10 @@ export namespace ProtocolMapping {
|
|
2869
2869
|
paramsType: [Protocol.IO.ResolveBlobRequest];
|
2870
2870
|
returnType: Protocol.IO.ResolveBlobResponse;
|
2871
2871
|
};
|
2872
|
+
'FileSystem.getDirectory': {
|
2873
|
+
paramsType: [Protocol.FileSystem.GetDirectoryRequest];
|
2874
|
+
returnType: Protocol.FileSystem.GetDirectoryResponse;
|
2875
|
+
};
|
2872
2876
|
/**
|
2873
2877
|
* Clears all entries from an object store.
|
2874
2878
|
*/
|
@@ -62,6 +62,8 @@ export namespace ProtocolProxyApi {
|
|
62
62
|
|
63
63
|
IO: IOApi;
|
64
64
|
|
65
|
+
FileSystem: FileSystemApi;
|
66
|
+
|
65
67
|
IndexedDB: IndexedDBApi;
|
66
68
|
|
67
69
|
Input: InputApi;
|
@@ -1999,6 +2001,11 @@ export namespace ProtocolProxyApi {
|
|
1999
2001
|
|
2000
2002
|
}
|
2001
2003
|
|
2004
|
+
export interface FileSystemApi {
|
2005
|
+
getDirectory(params: Protocol.FileSystem.GetDirectoryRequest): Promise<Protocol.FileSystem.GetDirectoryResponse>;
|
2006
|
+
|
2007
|
+
}
|
2008
|
+
|
2002
2009
|
export interface IndexedDBApi {
|
2003
2010
|
/**
|
2004
2011
|
* Clears all entries from an object store.
|
@@ -62,6 +62,8 @@ export namespace ProtocolTestsProxyApi {
|
|
62
62
|
|
63
63
|
IO: IOApi;
|
64
64
|
|
65
|
+
FileSystem: FileSystemApi;
|
66
|
+
|
65
67
|
IndexedDB: IndexedDBApi;
|
66
68
|
|
67
69
|
Input: InputApi;
|
@@ -2123,6 +2125,11 @@ export namespace ProtocolTestsProxyApi {
|
|
2123
2125
|
|
2124
2126
|
}
|
2125
2127
|
|
2128
|
+
export interface FileSystemApi {
|
2129
|
+
getDirectory(params: Protocol.FileSystem.GetDirectoryRequest): Promise<{id: number, result: Protocol.FileSystem.GetDirectoryResponse, sessionId: string}>;
|
2130
|
+
|
2131
|
+
}
|
2132
|
+
|
2126
2133
|
export interface IndexedDBApi {
|
2127
2134
|
/**
|
2128
2135
|
* Clears all entries from an object store.
|
package/types/protocol.d.ts
CHANGED
@@ -8654,6 +8654,57 @@ export namespace Protocol {
|
|
8654
8654
|
}
|
8655
8655
|
}
|
8656
8656
|
|
8657
|
+
export namespace FileSystem {
|
8658
|
+
|
8659
|
+
export interface File {
|
8660
|
+
name: string;
|
8661
|
+
/**
|
8662
|
+
* Timestamp
|
8663
|
+
*/
|
8664
|
+
lastModified: Network.TimeSinceEpoch;
|
8665
|
+
/**
|
8666
|
+
* Size in bytes
|
8667
|
+
*/
|
8668
|
+
size: number;
|
8669
|
+
type: string;
|
8670
|
+
}
|
8671
|
+
|
8672
|
+
export interface Directory {
|
8673
|
+
name: string;
|
8674
|
+
nestedDirectories: string[];
|
8675
|
+
/**
|
8676
|
+
* Files that are directly nested under this directory.
|
8677
|
+
*/
|
8678
|
+
nestedFiles: File[];
|
8679
|
+
}
|
8680
|
+
|
8681
|
+
export interface BucketFileSystemLocator {
|
8682
|
+
/**
|
8683
|
+
* Storage key
|
8684
|
+
*/
|
8685
|
+
storageKey: Storage.SerializedStorageKey;
|
8686
|
+
/**
|
8687
|
+
* Bucket name. Not passing a `bucketName` will retrieve the default Bucket. (https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#storage_buckets)
|
8688
|
+
*/
|
8689
|
+
bucketName?: string;
|
8690
|
+
/**
|
8691
|
+
* Path to the directory using each path component as an array item.
|
8692
|
+
*/
|
8693
|
+
pathComponents: string[];
|
8694
|
+
}
|
8695
|
+
|
8696
|
+
export interface GetDirectoryRequest {
|
8697
|
+
bucketFileSystemLocator: BucketFileSystemLocator;
|
8698
|
+
}
|
8699
|
+
|
8700
|
+
export interface GetDirectoryResponse {
|
8701
|
+
/**
|
8702
|
+
* Returns the directory object at the path.
|
8703
|
+
*/
|
8704
|
+
directory: Directory;
|
8705
|
+
}
|
8706
|
+
}
|
8707
|
+
|
8657
8708
|
export namespace IndexedDB {
|
8658
8709
|
|
8659
8710
|
/**
|
@@ -13249,7 +13300,7 @@ export namespace Protocol {
|
|
13249
13300
|
* All Permissions Policy features. This enum should match the one defined
|
13250
13301
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
13251
13302
|
*/
|
13252
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'deferred-fetch' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
|
13303
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'deferred-fetch' | 'digital-credentials-get' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
|
13253
13304
|
|
13254
13305
|
/**
|
13255
13306
|
* Reason for a permissions policy feature to be disabled.
|
@@ -15899,6 +15950,7 @@ export namespace Protocol {
|
|
15899
15950
|
* int
|
15900
15951
|
*/
|
15901
15952
|
value: number;
|
15953
|
+
filteringId: UnsignedInt64AsBase10;
|
15902
15954
|
}
|
15903
15955
|
|
15904
15956
|
export interface AttributionReportingAggregatableValueEntry {
|
@@ -15931,6 +15983,7 @@ export namespace Protocol {
|
|
15931
15983
|
eventTriggerData: AttributionReportingEventTriggerData[];
|
15932
15984
|
aggregatableTriggerData: AttributionReportingAggregatableTriggerData[];
|
15933
15985
|
aggregatableValues: AttributionReportingAggregatableValueEntry[];
|
15986
|
+
aggregatableFilteringIdMaxBytes: integer;
|
15934
15987
|
debugReporting: boolean;
|
15935
15988
|
aggregationCoordinatorOrigin?: string;
|
15936
15989
|
sourceRegistrationTimeConfig: AttributionReportingSourceRegistrationTimeConfig;
|