devtools-protocol 0.0.1066334 → 0.0.1067399
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.
- package/json/browser_protocol.json +37 -18
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +15 -11
- package/types/protocol-mapping.d.ts +14 -6
- package/types/protocol-proxy-api.d.ts +10 -7
- package/types/protocol.d.ts +14 -13
@@ -2173,8 +2173,7 @@
|
|
2173
2173
|
"type": "string",
|
2174
2174
|
"enum": [
|
2175
2175
|
"granted",
|
2176
|
-
"denied"
|
2177
|
-
"prompt"
|
2176
|
+
"denied"
|
2178
2177
|
]
|
2179
2178
|
},
|
2180
2179
|
{
|
@@ -8588,25 +8587,13 @@
|
|
8588
8587
|
},
|
8589
8588
|
{
|
8590
8589
|
"name": "disable",
|
8591
|
-
"description": "Disables headless events for the target."
|
8590
|
+
"description": "Disables headless events for the target.",
|
8591
|
+
"deprecated": true
|
8592
8592
|
},
|
8593
8593
|
{
|
8594
8594
|
"name": "enable",
|
8595
|
-
"description": "Enables headless events for the target."
|
8596
|
-
|
8597
|
-
],
|
8598
|
-
"events": [
|
8599
|
-
{
|
8600
|
-
"name": "needsBeginFramesChanged",
|
8601
|
-
"description": "Issued when the target starts or stops needing BeginFrames.\nDeprecated. Issue beginFrame unconditionally instead and use result from\nbeginFrame to detect whether the frames were suppressed.",
|
8602
|
-
"deprecated": true,
|
8603
|
-
"parameters": [
|
8604
|
-
{
|
8605
|
-
"name": "needsBeginFrames",
|
8606
|
-
"description": "True if BeginFrames are needed, false otherwise.",
|
8607
|
-
"type": "boolean"
|
8608
|
-
}
|
8609
|
-
]
|
8595
|
+
"description": "Enables headless events for the target.",
|
8596
|
+
"deprecated": true
|
8610
8597
|
}
|
8611
8598
|
]
|
8612
8599
|
},
|
@@ -13814,6 +13801,12 @@
|
|
13814
13801
|
"description": "The client security state set for the request.",
|
13815
13802
|
"optional": true,
|
13816
13803
|
"$ref": "ClientSecurityState"
|
13804
|
+
},
|
13805
|
+
{
|
13806
|
+
"name": "siteHasCookieInOtherPartition",
|
13807
|
+
"description": "Whether the site has partitioned cookies stored in a partition different than the current one.",
|
13808
|
+
"optional": true,
|
13809
|
+
"type": "boolean"
|
13817
13810
|
}
|
13818
13811
|
]
|
13819
13812
|
},
|
@@ -19691,6 +19684,32 @@
|
|
19691
19684
|
}
|
19692
19685
|
]
|
19693
19686
|
},
|
19687
|
+
{
|
19688
|
+
"name": "deleteSharedStorageEntry",
|
19689
|
+
"description": "Deletes entry for `key` (if it exists) for a given origin's shared storage.",
|
19690
|
+
"experimental": true,
|
19691
|
+
"parameters": [
|
19692
|
+
{
|
19693
|
+
"name": "ownerOrigin",
|
19694
|
+
"type": "string"
|
19695
|
+
},
|
19696
|
+
{
|
19697
|
+
"name": "key",
|
19698
|
+
"type": "string"
|
19699
|
+
}
|
19700
|
+
]
|
19701
|
+
},
|
19702
|
+
{
|
19703
|
+
"name": "clearSharedStorageEntries",
|
19704
|
+
"description": "Clears all entries for a given origin's shared storage.",
|
19705
|
+
"experimental": true,
|
19706
|
+
"parameters": [
|
19707
|
+
{
|
19708
|
+
"name": "ownerOrigin",
|
19709
|
+
"type": "string"
|
19710
|
+
}
|
19711
|
+
]
|
19712
|
+
},
|
19694
19713
|
{
|
19695
19714
|
"name": "setSharedStorageTracking",
|
19696
19715
|
"description": "Enables/disables issuing of sharedStorageAccessed events.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -1094,7 +1094,6 @@ domain Browser
|
|
1094
1094
|
enum
|
1095
1095
|
granted
|
1096
1096
|
denied
|
1097
|
-
prompt
|
1098
1097
|
|
1099
1098
|
# Definition of PermissionDescriptor defined in the Permissions API:
|
1100
1099
|
# https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
|
@@ -3942,18 +3941,10 @@ experimental domain HeadlessExperimental
|
|
3942
3941
|
optional binary screenshotData
|
3943
3942
|
|
3944
3943
|
# Disables headless events for the target.
|
3945
|
-
command disable
|
3944
|
+
deprecated command disable
|
3946
3945
|
|
3947
3946
|
# Enables headless events for the target.
|
3948
|
-
command enable
|
3949
|
-
|
3950
|
-
# Issued when the target starts or stops needing BeginFrames.
|
3951
|
-
# Deprecated. Issue beginFrame unconditionally instead and use result from
|
3952
|
-
# beginFrame to detect whether the frames were suppressed.
|
3953
|
-
deprecated event needsBeginFramesChanged
|
3954
|
-
parameters
|
3955
|
-
# True if BeginFrames are needed, false otherwise.
|
3956
|
-
boolean needsBeginFrames
|
3947
|
+
deprecated command enable
|
3957
3948
|
|
3958
3949
|
# Input/Output operations for streams produced by DevTools.
|
3959
3950
|
domain IO
|
@@ -6333,6 +6324,8 @@ domain Network
|
|
6333
6324
|
experimental ConnectTiming connectTiming
|
6334
6325
|
# The client security state set for the request.
|
6335
6326
|
optional ClientSecurityState clientSecurityState
|
6327
|
+
# Whether the site has partitioned cookies stored in a partition different than the current one.
|
6328
|
+
optional boolean siteHasCookieInOtherPartition
|
6336
6329
|
|
6337
6330
|
# Fired when additional information about a responseReceived event is available from the network
|
6338
6331
|
# stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for
|
@@ -9307,6 +9300,17 @@ experimental domain Storage
|
|
9307
9300
|
returns
|
9308
9301
|
array of SharedStorageEntry entries
|
9309
9302
|
|
9303
|
+
# Deletes entry for `key` (if it exists) for a given origin's shared storage.
|
9304
|
+
experimental command deleteSharedStorageEntry
|
9305
|
+
parameters
|
9306
|
+
string ownerOrigin
|
9307
|
+
string key
|
9308
|
+
|
9309
|
+
# Clears all entries for a given origin's shared storage.
|
9310
|
+
experimental command clearSharedStorageEntries
|
9311
|
+
parameters
|
9312
|
+
string ownerOrigin
|
9313
|
+
|
9310
9314
|
# Enables/disables issuing of sharedStorageAccessed events.
|
9311
9315
|
experimental command setSharedStorageTracking
|
9312
9316
|
parameters
|
@@ -233,12 +233,6 @@ export namespace ProtocolMapping {
|
|
233
233
|
* Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
|
234
234
|
*/
|
235
235
|
'Emulation.virtualTimeBudgetExpired': [];
|
236
|
-
/**
|
237
|
-
* Issued when the target starts or stops needing BeginFrames.
|
238
|
-
* Deprecated. Issue beginFrame unconditionally instead and use result from
|
239
|
-
* beginFrame to detect whether the frames were suppressed.
|
240
|
-
*/
|
241
|
-
'HeadlessExperimental.needsBeginFramesChanged': [Protocol.HeadlessExperimental.NeedsBeginFramesChangedEvent];
|
242
236
|
/**
|
243
237
|
* Emitted only when `Input.setInterceptDrags` is enabled. Use this data with `Input.dispatchDragEvent` to
|
244
238
|
* restore normal drag and drop behavior.
|
@@ -4113,6 +4107,20 @@ export namespace ProtocolMapping {
|
|
4113
4107
|
paramsType: [Protocol.Storage.GetSharedStorageEntriesRequest];
|
4114
4108
|
returnType: Protocol.Storage.GetSharedStorageEntriesResponse;
|
4115
4109
|
};
|
4110
|
+
/**
|
4111
|
+
* Deletes entry for `key` (if it exists) for a given origin's shared storage.
|
4112
|
+
*/
|
4113
|
+
'Storage.deleteSharedStorageEntry': {
|
4114
|
+
paramsType: [Protocol.Storage.DeleteSharedStorageEntryRequest];
|
4115
|
+
returnType: void;
|
4116
|
+
};
|
4117
|
+
/**
|
4118
|
+
* Clears all entries for a given origin's shared storage.
|
4119
|
+
*/
|
4120
|
+
'Storage.clearSharedStorageEntries': {
|
4121
|
+
paramsType: [Protocol.Storage.ClearSharedStorageEntriesRequest];
|
4122
|
+
returnType: void;
|
4123
|
+
};
|
4116
4124
|
/**
|
4117
4125
|
* Enables/disables issuing of sharedStorageAccessed events.
|
4118
4126
|
*/
|
@@ -1850,13 +1850,6 @@ export namespace ProtocolProxyApi {
|
|
1850
1850
|
*/
|
1851
1851
|
enable(): Promise<void>;
|
1852
1852
|
|
1853
|
-
/**
|
1854
|
-
* Issued when the target starts or stops needing BeginFrames.
|
1855
|
-
* Deprecated. Issue beginFrame unconditionally instead and use result from
|
1856
|
-
* beginFrame to detect whether the frames were suppressed.
|
1857
|
-
*/
|
1858
|
-
on(event: 'needsBeginFramesChanged', listener: (params: Protocol.HeadlessExperimental.NeedsBeginFramesChangedEvent) => void): void;
|
1859
|
-
|
1860
1853
|
}
|
1861
1854
|
|
1862
1855
|
export interface IOApi {
|
@@ -3324,6 +3317,16 @@ export namespace ProtocolProxyApi {
|
|
3324
3317
|
*/
|
3325
3318
|
getSharedStorageEntries(params: Protocol.Storage.GetSharedStorageEntriesRequest): Promise<Protocol.Storage.GetSharedStorageEntriesResponse>;
|
3326
3319
|
|
3320
|
+
/**
|
3321
|
+
* Deletes entry for `key` (if it exists) for a given origin's shared storage.
|
3322
|
+
*/
|
3323
|
+
deleteSharedStorageEntry(params: Protocol.Storage.DeleteSharedStorageEntryRequest): Promise<void>;
|
3324
|
+
|
3325
|
+
/**
|
3326
|
+
* Clears all entries for a given origin's shared storage.
|
3327
|
+
*/
|
3328
|
+
clearSharedStorageEntries(params: Protocol.Storage.ClearSharedStorageEntriesRequest): Promise<void>;
|
3329
|
+
|
3327
3330
|
/**
|
3328
3331
|
* Enables/disables issuing of sharedStorageAccessed events.
|
3329
3332
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -3705,7 +3705,7 @@ export namespace Protocol {
|
|
3705
3705
|
|
3706
3706
|
export type PermissionType = ('accessibilityEvents' | 'audioCapture' | 'backgroundSync' | 'backgroundFetch' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'flash' | 'geolocation' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'protectedMediaIdentifier' | 'sensors' | 'videoCapture' | 'videoCapturePanTiltZoom' | 'idleDetection' | 'wakeLockScreen' | 'wakeLockSystem');
|
3707
3707
|
|
3708
|
-
export type PermissionSetting = ('granted' | 'denied'
|
3708
|
+
export type PermissionSetting = ('granted' | 'denied');
|
3709
3709
|
|
3710
3710
|
/**
|
3711
3711
|
* Definition of PermissionDescriptor defined in the Permissions API:
|
@@ -7844,18 +7844,6 @@ export namespace Protocol {
|
|
7844
7844
|
*/
|
7845
7845
|
screenshotData?: string;
|
7846
7846
|
}
|
7847
|
-
|
7848
|
-
/**
|
7849
|
-
* Issued when the target starts or stops needing BeginFrames.
|
7850
|
-
* Deprecated. Issue beginFrame unconditionally instead and use result from
|
7851
|
-
* beginFrame to detect whether the frames were suppressed.
|
7852
|
-
*/
|
7853
|
-
export interface NeedsBeginFramesChangedEvent {
|
7854
|
-
/**
|
7855
|
-
* True if BeginFrames are needed, false otherwise.
|
7856
|
-
*/
|
7857
|
-
needsBeginFrames: boolean;
|
7858
|
-
}
|
7859
7847
|
}
|
7860
7848
|
|
7861
7849
|
/**
|
@@ -11353,6 +11341,10 @@ export namespace Protocol {
|
|
11353
11341
|
* The client security state set for the request.
|
11354
11342
|
*/
|
11355
11343
|
clientSecurityState?: ClientSecurityState;
|
11344
|
+
/**
|
11345
|
+
* Whether the site has partitioned cookies stored in a partition different than the current one.
|
11346
|
+
*/
|
11347
|
+
siteHasCookieInOtherPartition?: boolean;
|
11356
11348
|
}
|
11357
11349
|
|
11358
11350
|
/**
|
@@ -14871,6 +14863,15 @@ export namespace Protocol {
|
|
14871
14863
|
entries: SharedStorageEntry[];
|
14872
14864
|
}
|
14873
14865
|
|
14866
|
+
export interface DeleteSharedStorageEntryRequest {
|
14867
|
+
ownerOrigin: string;
|
14868
|
+
key: string;
|
14869
|
+
}
|
14870
|
+
|
14871
|
+
export interface ClearSharedStorageEntriesRequest {
|
14872
|
+
ownerOrigin: string;
|
14873
|
+
}
|
14874
|
+
|
14874
14875
|
export interface SetSharedStorageTrackingRequest {
|
14875
14876
|
enable: boolean;
|
14876
14877
|
}
|