devtools-protocol 0.0.1065144 → 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.
@@ -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.",
@@ -22182,6 +22201,34 @@
22182
22201
  }
22183
22202
  ]
22184
22203
  },
22204
+ {
22205
+ "name": "setResponseOverrideBits",
22206
+ "description": "Resets parameters isBogusSignature, isBadUV, isBadUP to false if they are not present.",
22207
+ "parameters": [
22208
+ {
22209
+ "name": "authenticatorId",
22210
+ "$ref": "AuthenticatorId"
22211
+ },
22212
+ {
22213
+ "name": "isBogusSignature",
22214
+ "description": "If isBogusSignature is set, overrides the signature in the authenticator response to be zero.\nDefaults to false.",
22215
+ "optional": true,
22216
+ "type": "boolean"
22217
+ },
22218
+ {
22219
+ "name": "isBadUV",
22220
+ "description": "If isBadUV is set, overrides the UV bit in the flags in the authenticator response to\nbe zero. Defaults to false.",
22221
+ "optional": true,
22222
+ "type": "boolean"
22223
+ },
22224
+ {
22225
+ "name": "isBadUP",
22226
+ "description": "If isBadUP is set, overrides the UP bit in the flags in the authenticator response to\nbe zero. Defaults to false.",
22227
+ "optional": true,
22228
+ "type": "boolean"
22229
+ }
22230
+ ]
22231
+ },
22185
22232
  {
22186
22233
  "name": "removeVirtualAuthenticator",
22187
22234
  "description": "Removes the given authenticator.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1065144",
3
+ "version": "0.0.1067399",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -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
@@ -10493,6 +10497,20 @@ experimental domain WebAuthn
10493
10497
  returns
10494
10498
  AuthenticatorId authenticatorId
10495
10499
 
10500
+ # Resets parameters isBogusSignature, isBadUV, isBadUP to false if they are not present.
10501
+ command setResponseOverrideBits
10502
+ parameters
10503
+ AuthenticatorId authenticatorId
10504
+ # If isBogusSignature is set, overrides the signature in the authenticator response to be zero.
10505
+ # Defaults to false.
10506
+ optional boolean isBogusSignature
10507
+ # If isBadUV is set, overrides the UV bit in the flags in the authenticator response to
10508
+ # be zero. Defaults to false.
10509
+ optional boolean isBadUV
10510
+ # If isBadUP is set, overrides the UP bit in the flags in the authenticator response to
10511
+ # be zero. Defaults to false.
10512
+ optional boolean isBadUP
10513
+
10496
10514
  # Removes the given authenticator.
10497
10515
  command removeVirtualAuthenticator
10498
10516
  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
  */
@@ -4446,6 +4454,13 @@ export namespace ProtocolMapping {
4446
4454
  paramsType: [Protocol.WebAuthn.AddVirtualAuthenticatorRequest];
4447
4455
  returnType: Protocol.WebAuthn.AddVirtualAuthenticatorResponse;
4448
4456
  };
4457
+ /**
4458
+ * Resets parameters isBogusSignature, isBadUV, isBadUP to false if they are not present.
4459
+ */
4460
+ 'WebAuthn.setResponseOverrideBits': {
4461
+ paramsType: [Protocol.WebAuthn.SetResponseOverrideBitsRequest];
4462
+ returnType: void;
4463
+ };
4449
4464
  /**
4450
4465
  * Removes the given authenticator.
4451
4466
  */
@@ -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
  */
@@ -3763,6 +3766,11 @@ export namespace ProtocolProxyApi {
3763
3766
  */
3764
3767
  addVirtualAuthenticator(params: Protocol.WebAuthn.AddVirtualAuthenticatorRequest): Promise<Protocol.WebAuthn.AddVirtualAuthenticatorResponse>;
3765
3768
 
3769
+ /**
3770
+ * Resets parameters isBogusSignature, isBadUV, isBadUP to false if they are not present.
3771
+ */
3772
+ setResponseOverrideBits(params: Protocol.WebAuthn.SetResponseOverrideBitsRequest): Promise<void>;
3773
+
3766
3774
  /**
3767
3775
  * Removes the given authenticator.
3768
3776
  */
@@ -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' | 'prompt');
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
  }
@@ -16498,6 +16499,25 @@ export namespace Protocol {
16498
16499
  authenticatorId: AuthenticatorId;
16499
16500
  }
16500
16501
 
16502
+ export interface SetResponseOverrideBitsRequest {
16503
+ authenticatorId: AuthenticatorId;
16504
+ /**
16505
+ * If isBogusSignature is set, overrides the signature in the authenticator response to be zero.
16506
+ * Defaults to false.
16507
+ */
16508
+ isBogusSignature?: boolean;
16509
+ /**
16510
+ * If isBadUV is set, overrides the UV bit in the flags in the authenticator response to
16511
+ * be zero. Defaults to false.
16512
+ */
16513
+ isBadUV?: boolean;
16514
+ /**
16515
+ * If isBadUP is set, overrides the UP bit in the flags in the authenticator response to
16516
+ * be zero. Defaults to false.
16517
+ */
16518
+ isBadUP?: boolean;
16519
+ }
16520
+
16501
16521
  export interface RemoveVirtualAuthenticatorRequest {
16502
16522
  authenticatorId: AuthenticatorId;
16503
16523
  }