devtools-protocol 0.0.1000917 → 0.0.1001033

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",
@@ -1597,7 +1594,6 @@
1597
1594
  "RTCConstraintEnableDtlsSrtpFalse",
1598
1595
  "RTCConstraintEnableDtlsSrtpTrue",
1599
1596
  "RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics",
1600
- "RTCPeerConnectionLegacyCreateWithMediaConstraints",
1601
1597
  "RTCPeerConnectionSdpSemanticsPlanB",
1602
1598
  "RtcpMuxPolicyNegotiate",
1603
1599
  "RTPDataChannel",
@@ -7373,6 +7369,10 @@
7373
7369
  "description": "Query and modify DOM storage.",
7374
7370
  "experimental": true,
7375
7371
  "types": [
7372
+ {
7373
+ "id": "SerializedStorageKey",
7374
+ "type": "string"
7375
+ },
7376
7376
  {
7377
7377
  "id": "StorageId",
7378
7378
  "description": "DOM Storage identifier.",
@@ -7381,8 +7381,15 @@
7381
7381
  {
7382
7382
  "name": "securityOrigin",
7383
7383
  "description": "Security origin for the storage.",
7384
+ "optional": true,
7384
7385
  "type": "string"
7385
7386
  },
7387
+ {
7388
+ "name": "storageKey",
7389
+ "description": "Represents a key by which DOM Storage keys its CachedStorageAreas",
7390
+ "optional": true,
7391
+ "$ref": "SerializedStorageKey"
7392
+ },
7386
7393
  {
7387
7394
  "name": "isLocalStorage",
7388
7395
  "description": "Whether the storage is local storage (not session storage).",
@@ -7464,6 +7471,21 @@
7464
7471
  "type": "string"
7465
7472
  }
7466
7473
  ]
7474
+ },
7475
+ {
7476
+ "name": "getStorageKeyForFrame",
7477
+ "parameters": [
7478
+ {
7479
+ "name": "frameId",
7480
+ "$ref": "Page.FrameId"
7481
+ }
7482
+ ],
7483
+ "returns": [
7484
+ {
7485
+ "name": "storageKey",
7486
+ "$ref": "SerializedStorageKey"
7487
+ }
7488
+ ]
7467
7489
  }
7468
7490
  ],
7469
7491
  "events": [
@@ -18723,6 +18745,10 @@
18723
18745
  "Network"
18724
18746
  ],
18725
18747
  "types": [
18748
+ {
18749
+ "id": "SerializedStorageKey",
18750
+ "type": "string"
18751
+ },
18726
18752
  {
18727
18753
  "id": "StorageType",
18728
18754
  "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.1000917",
3
+ "version": "0.0.1001033",
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
@@ -791,7 +788,6 @@ experimental domain Audits
791
788
  RTCConstraintEnableDtlsSrtpFalse
792
789
  RTCConstraintEnableDtlsSrtpTrue
793
790
  RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics
794
- RTCPeerConnectionLegacyCreateWithMediaConstraints
795
791
  RTCPeerConnectionSdpSemanticsPlanB
796
792
  RtcpMuxPolicyNegotiate
797
793
  RTPDataChannel
@@ -3399,11 +3395,15 @@ experimental domain DOMSnapshot
3399
3395
  # Query and modify DOM storage.
3400
3396
  experimental domain DOMStorage
3401
3397
 
3398
+ type SerializedStorageKey extends string
3399
+
3402
3400
  # DOM Storage identifier.
3403
3401
  type StorageId extends object
3404
3402
  properties
3405
3403
  # Security origin for the storage.
3406
- string securityOrigin
3404
+ optional string securityOrigin
3405
+ # Represents a key by which DOM Storage keys its CachedStorageAreas
3406
+ optional SerializedStorageKey storageKey
3407
3407
  # Whether the storage is local storage (not session storage).
3408
3408
  boolean isLocalStorage
3409
3409
 
@@ -3437,6 +3437,12 @@ experimental domain DOMStorage
3437
3437
  string key
3438
3438
  string value
3439
3439
 
3440
+ command getStorageKeyForFrame
3441
+ parameters
3442
+ Page.FrameId frameId
3443
+ returns
3444
+ SerializedStorageKey storageKey
3445
+
3440
3446
  event domStorageItemAdded
3441
3447
  parameters
3442
3448
  StorageId storageId
@@ -8803,6 +8809,8 @@ experimental domain Storage
8803
8809
  depends on Browser
8804
8810
  depends on Network
8805
8811
 
8812
+ type SerializedStorageKey extends string
8813
+
8806
8814
  # Enum of possible storage types.
8807
8815
  type StorageType extends string
8808
8816
  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' | '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' | '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
  */