devtools-protocol 0.0.999451 → 0.0.1001016

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.
@@ -1568,10 +1568,7 @@
1568
1568
  "GetUserMediaInsecureOrigin",
1569
1569
  "HostCandidateAttributeGetter",
1570
1570
  "InsecurePrivateNetworkSubresourceRequest",
1571
- "LegacyConstraintGoogCpuOveruseDetection",
1572
1571
  "LegacyConstraintGoogIPv6",
1573
- "LegacyConstraintGoogScreencastMinBitrate",
1574
- "LegacyConstraintGoogSuspendBelowMinBitrate",
1575
1572
  "LocalCSSFileExtensionRejected",
1576
1573
  "MediaElementAudioSourceNode",
1577
1574
  "MediaSourceAbortRemove",
@@ -1601,7 +1598,6 @@
1601
1598
  "RTCPeerConnectionSdpSemanticsPlanB",
1602
1599
  "RtcpMuxPolicyNegotiate",
1603
1600
  "RTPDataChannel",
1604
- "SelectionAddRangeIntersect",
1605
1601
  "SharedArrayBufferConstructedWithoutIsolation",
1606
1602
  "TextToSpeech_DisallowedByAutoplay",
1607
1603
  "V8SharedArrayBufferConstructedInExtensionWithoutIsolation",
@@ -7374,6 +7370,10 @@
7374
7370
  "description": "Query and modify DOM storage.",
7375
7371
  "experimental": true,
7376
7372
  "types": [
7373
+ {
7374
+ "id": "SerializedStorageKey",
7375
+ "type": "string"
7376
+ },
7377
7377
  {
7378
7378
  "id": "StorageId",
7379
7379
  "description": "DOM Storage identifier.",
@@ -7382,8 +7382,15 @@
7382
7382
  {
7383
7383
  "name": "securityOrigin",
7384
7384
  "description": "Security origin for the storage.",
7385
+ "optional": true,
7385
7386
  "type": "string"
7386
7387
  },
7388
+ {
7389
+ "name": "storageKey",
7390
+ "description": "Represents a key by which DOM Storage keys its CachedStorageAreas",
7391
+ "optional": true,
7392
+ "$ref": "SerializedStorageKey"
7393
+ },
7387
7394
  {
7388
7395
  "name": "isLocalStorage",
7389
7396
  "description": "Whether the storage is local storage (not session storage).",
@@ -7465,6 +7472,21 @@
7465
7472
  "type": "string"
7466
7473
  }
7467
7474
  ]
7475
+ },
7476
+ {
7477
+ "name": "getStorageKeyForFrame",
7478
+ "parameters": [
7479
+ {
7480
+ "name": "frameId",
7481
+ "$ref": "Page.FrameId"
7482
+ }
7483
+ ],
7484
+ "returns": [
7485
+ {
7486
+ "name": "storageKey",
7487
+ "$ref": "SerializedStorageKey"
7488
+ }
7489
+ ]
7468
7490
  }
7469
7491
  ],
7470
7492
  "events": [
@@ -18724,6 +18746,10 @@
18724
18746
  "Network"
18725
18747
  ],
18726
18748
  "types": [
18749
+ {
18750
+ "id": "SerializedStorageKey",
18751
+ "type": "string"
18752
+ },
18727
18753
  {
18728
18754
  "id": "StorageType",
18729
18755
  "description": "Enum of possible storage types.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.999451",
3
+ "version": "0.0.1001016",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -762,10 +762,7 @@ experimental domain Audits
762
762
  GetUserMediaInsecureOrigin
763
763
  HostCandidateAttributeGetter
764
764
  InsecurePrivateNetworkSubresourceRequest
765
- LegacyConstraintGoogCpuOveruseDetection
766
765
  LegacyConstraintGoogIPv6
767
- LegacyConstraintGoogScreencastMinBitrate
768
- LegacyConstraintGoogSuspendBelowMinBitrate
769
766
  LocalCSSFileExtensionRejected
770
767
  MediaElementAudioSourceNode
771
768
  MediaSourceAbortRemove
@@ -795,7 +792,6 @@ experimental domain Audits
795
792
  RTCPeerConnectionSdpSemanticsPlanB
796
793
  RtcpMuxPolicyNegotiate
797
794
  RTPDataChannel
798
- SelectionAddRangeIntersect
799
795
  SharedArrayBufferConstructedWithoutIsolation
800
796
  TextToSpeech_DisallowedByAutoplay
801
797
  V8SharedArrayBufferConstructedInExtensionWithoutIsolation
@@ -3400,11 +3396,15 @@ experimental domain DOMSnapshot
3400
3396
  # Query and modify DOM storage.
3401
3397
  experimental domain DOMStorage
3402
3398
 
3399
+ type SerializedStorageKey extends string
3400
+
3403
3401
  # DOM Storage identifier.
3404
3402
  type StorageId extends object
3405
3403
  properties
3406
3404
  # Security origin for the storage.
3407
- string securityOrigin
3405
+ optional string securityOrigin
3406
+ # Represents a key by which DOM Storage keys its CachedStorageAreas
3407
+ optional SerializedStorageKey storageKey
3408
3408
  # Whether the storage is local storage (not session storage).
3409
3409
  boolean isLocalStorage
3410
3410
 
@@ -3438,6 +3438,12 @@ experimental domain DOMStorage
3438
3438
  string key
3439
3439
  string value
3440
3440
 
3441
+ command getStorageKeyForFrame
3442
+ parameters
3443
+ Page.FrameId frameId
3444
+ returns
3445
+ SerializedStorageKey storageKey
3446
+
3441
3447
  event domStorageItemAdded
3442
3448
  parameters
3443
3449
  StorageId storageId
@@ -8804,6 +8810,8 @@ experimental domain Storage
8804
8810
  depends on Browser
8805
8811
  depends on Network
8806
8812
 
8813
+ type SerializedStorageKey extends string
8814
+
8807
8815
  # Enum of possible storage types.
8808
8816
  type StorageType extends string
8809
8817
  enum
@@ -2352,6 +2352,10 @@ export namespace ProtocolMapping {
2352
2352
  paramsType: [Protocol.DOMStorage.SetDOMStorageItemRequest];
2353
2353
  returnType: void;
2354
2354
  };
2355
+ 'DOMStorage.getStorageKeyForFrame': {
2356
+ paramsType: [Protocol.DOMStorage.GetStorageKeyForFrameRequest];
2357
+ returnType: Protocol.DOMStorage.GetStorageKeyForFrameResponse;
2358
+ };
2355
2359
  /**
2356
2360
  * Disables database tracking, prevents database events from being sent to the client.
2357
2361
  */
@@ -1614,6 +1614,8 @@ export namespace ProtocolProxyApi {
1614
1614
 
1615
1615
  setDOMStorageItem(params: Protocol.DOMStorage.SetDOMStorageItemRequest): Promise<void>;
1616
1616
 
1617
+ getStorageKeyForFrame(params: Protocol.DOMStorage.GetStorageKeyForFrameRequest): Promise<Protocol.DOMStorage.GetStorageKeyForFrameResponse>;
1618
+
1617
1619
  on(event: 'domStorageItemAdded', listener: (params: Protocol.DOMStorage.DomStorageItemAddedEvent) => void): void;
1618
1620
 
1619
1621
  on(event: 'domStorageItemRemoved', listener: (params: Protocol.DOMStorage.DomStorageItemRemovedEvent) => void): void;
@@ -3378,7 +3378,7 @@ export namespace Protocol {
3378
3378
  frameId?: Page.FrameId;
3379
3379
  }
3380
3380
 
3381
- export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'CustomCursorIntersectsViewport' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogCpuOveruseDetection' | 'LegacyConstraintGoogIPv6' | 'LegacyConstraintGoogScreencastMinBitrate' | 'LegacyConstraintGoogSuspendBelowMinBitrate' | 'LocalCSSFileExtensionRejected' | 'MediaElementAudioSourceNode' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'PaymentRequestBasicCard' | 'PaymentRequestShowWithoutGesture' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionLegacyCreateWithMediaConstraints' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'RTPDataChannel' | 'SelectionAddRangeIntersect' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
3381
+ export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'CustomCursorIntersectsViewport' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogIPv6' | 'LocalCSSFileExtensionRejected' | 'MediaElementAudioSourceNode' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'PaymentRequestBasicCard' | 'PaymentRequestShowWithoutGesture' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionLegacyCreateWithMediaConstraints' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'RTPDataChannel' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
3382
3382
 
3383
3383
  /**
3384
3384
  * This issue tracks information needed to print a deprecation message.
@@ -7093,6 +7093,8 @@ export namespace Protocol {
7093
7093
  */
7094
7094
  export namespace DOMStorage {
7095
7095
 
7096
+ export type SerializedStorageKey = string;
7097
+
7096
7098
  /**
7097
7099
  * DOM Storage identifier.
7098
7100
  */
@@ -7100,7 +7102,11 @@ export namespace Protocol {
7100
7102
  /**
7101
7103
  * Security origin for the storage.
7102
7104
  */
7103
- securityOrigin: string;
7105
+ securityOrigin?: string;
7106
+ /**
7107
+ * Represents a key by which DOM Storage keys its CachedStorageAreas
7108
+ */
7109
+ storageKey?: SerializedStorageKey;
7104
7110
  /**
7105
7111
  * Whether the storage is local storage (not session storage).
7106
7112
  */
@@ -7135,6 +7141,14 @@ export namespace Protocol {
7135
7141
  value: string;
7136
7142
  }
7137
7143
 
7144
+ export interface GetStorageKeyForFrameRequest {
7145
+ frameId: Page.FrameId;
7146
+ }
7147
+
7148
+ export interface GetStorageKeyForFrameResponse {
7149
+ storageKey: SerializedStorageKey;
7150
+ }
7151
+
7138
7152
  export interface DomStorageItemAddedEvent {
7139
7153
  storageId: StorageId;
7140
7154
  key: string;
@@ -14273,6 +14287,8 @@ export namespace Protocol {
14273
14287
 
14274
14288
  export namespace Storage {
14275
14289
 
14290
+ export type SerializedStorageKey = string;
14291
+
14276
14292
  /**
14277
14293
  * Enum of possible storage types.
14278
14294
  */