devtools-protocol 0.0.1004730 → 0.0.1005767

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.
@@ -1557,7 +1557,6 @@
1557
1557
  "CrossOriginWindowAlert",
1558
1558
  "CrossOriginWindowConfirm",
1559
1559
  "CSSSelectorInternalMediaControlsOverlayCastButton",
1560
- "CustomCursorIntersectsViewport",
1561
1560
  "DeprecationExample",
1562
1561
  "DocumentDomainSettingWithoutOriginAgentClusterHeader",
1563
1562
  "EventPath",
@@ -7472,21 +7471,6 @@
7472
7471
  "type": "string"
7473
7472
  }
7474
7473
  ]
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
- ]
7490
7474
  }
7491
7475
  ],
7492
7476
  "events": [
@@ -8321,6 +8305,17 @@
8321
8305
  }
8322
8306
  ]
8323
8307
  },
8308
+ {
8309
+ "name": "setHardwareConcurrencyOverride",
8310
+ "experimental": true,
8311
+ "parameters": [
8312
+ {
8313
+ "name": "hardwareConcurrency",
8314
+ "description": "Hardware concurrency to report",
8315
+ "type": "integer"
8316
+ }
8317
+ ]
8318
+ },
8324
8319
  {
8325
8320
  "name": "setUserAgentOverride",
8326
8321
  "description": "Allows overriding user agent with the given string.",
@@ -18934,6 +18929,22 @@
18934
18929
  }
18935
18930
  ],
18936
18931
  "commands": [
18932
+ {
18933
+ "name": "getStorageKeyForFrame",
18934
+ "description": "Returns a storage key given a frame id.",
18935
+ "parameters": [
18936
+ {
18937
+ "name": "frameId",
18938
+ "$ref": "Page.FrameId"
18939
+ }
18940
+ ],
18941
+ "returns": [
18942
+ {
18943
+ "name": "storageKey",
18944
+ "$ref": "SerializedStorageKey"
18945
+ }
18946
+ ]
18947
+ },
18937
18948
  {
18938
18949
  "name": "clearDataForOrigin",
18939
18950
  "description": "Clears storage for origin.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1004730",
3
+ "version": "0.0.1005767",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -751,7 +751,6 @@ experimental domain Audits
751
751
  CrossOriginWindowAlert
752
752
  CrossOriginWindowConfirm
753
753
  CSSSelectorInternalMediaControlsOverlayCastButton
754
- CustomCursorIntersectsViewport
755
754
  DeprecationExample
756
755
  DocumentDomainSettingWithoutOriginAgentClusterHeader
757
756
  EventPath
@@ -3434,12 +3433,6 @@ experimental domain DOMStorage
3434
3433
  string key
3435
3434
  string value
3436
3435
 
3437
- command getStorageKeyForFrame
3438
- parameters
3439
- Page.FrameId frameId
3440
- returns
3441
- SerializedStorageKey storageKey
3442
-
3443
3436
  event domStorageItemAdded
3444
3437
  parameters
3445
3438
  StorageId storageId
@@ -3815,6 +3808,11 @@ domain Emulation
3815
3808
  # Image types to disable.
3816
3809
  array of DisabledImageType imageTypes
3817
3810
 
3811
+ experimental command setHardwareConcurrencyOverride
3812
+ parameters
3813
+ # Hardware concurrency to report
3814
+ integer hardwareConcurrency
3815
+
3818
3816
  # Allows overriding user agent with the given string.
3819
3817
  command setUserAgentOverride
3820
3818
  parameters
@@ -8904,6 +8902,13 @@ experimental domain Storage
8904
8902
  array of InterestGroupAd ads
8905
8903
  array of InterestGroupAd adComponents
8906
8904
 
8905
+ # Returns a storage key given a frame id.
8906
+ command getStorageKeyForFrame
8907
+ parameters
8908
+ Page.FrameId frameId
8909
+ returns
8910
+ SerializedStorageKey storageKey
8911
+
8907
8912
  # Clears storage for origin.
8908
8913
  command clearDataForOrigin
8909
8914
  parameters
@@ -2352,10 +2352,6 @@ 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
- };
2359
2355
  /**
2360
2356
  * Disables database tracking, prevents database events from being sent to the client.
2361
2357
  */
@@ -2569,6 +2565,10 @@ export namespace ProtocolMapping {
2569
2565
  paramsType: [Protocol.Emulation.SetDisabledImageTypesRequest];
2570
2566
  returnType: void;
2571
2567
  };
2568
+ 'Emulation.setHardwareConcurrencyOverride': {
2569
+ paramsType: [Protocol.Emulation.SetHardwareConcurrencyOverrideRequest];
2570
+ returnType: void;
2571
+ };
2572
2572
  /**
2573
2573
  * Allows overriding user agent with the given string.
2574
2574
  */
@@ -3930,6 +3930,13 @@ export namespace ProtocolMapping {
3930
3930
  paramsType: [Protocol.ServiceWorker.UpdateRegistrationRequest];
3931
3931
  returnType: void;
3932
3932
  };
3933
+ /**
3934
+ * Returns a storage key given a frame id.
3935
+ */
3936
+ 'Storage.getStorageKeyForFrame': {
3937
+ paramsType: [Protocol.Storage.GetStorageKeyForFrameRequest];
3938
+ returnType: Protocol.Storage.GetStorageKeyForFrameResponse;
3939
+ };
3933
3940
  /**
3934
3941
  * Clears storage for origin.
3935
3942
  */
@@ -1614,8 +1614,6 @@ 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
-
1619
1617
  on(event: 'domStorageItemAdded', listener: (params: Protocol.DOMStorage.DomStorageItemAddedEvent) => void): void;
1620
1618
 
1621
1619
  on(event: 'domStorageItemRemoved', listener: (params: Protocol.DOMStorage.DomStorageItemRemovedEvent) => void): void;
@@ -1784,6 +1782,8 @@ export namespace ProtocolProxyApi {
1784
1782
 
1785
1783
  setDisabledImageTypes(params: Protocol.Emulation.SetDisabledImageTypesRequest): Promise<void>;
1786
1784
 
1785
+ setHardwareConcurrencyOverride(params: Protocol.Emulation.SetHardwareConcurrencyOverrideRequest): Promise<void>;
1786
+
1787
1787
  /**
1788
1788
  * Allows overriding user agent with the given string.
1789
1789
  */
@@ -3189,6 +3189,11 @@ export namespace ProtocolProxyApi {
3189
3189
  }
3190
3190
 
3191
3191
  export interface StorageApi {
3192
+ /**
3193
+ * Returns a storage key given a frame id.
3194
+ */
3195
+ getStorageKeyForFrame(params: Protocol.Storage.GetStorageKeyForFrameRequest): Promise<Protocol.Storage.GetStorageKeyForFrameResponse>;
3196
+
3192
3197
  /**
3193
3198
  * Clears storage for origin.
3194
3199
  */
@@ -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' | 'LegacyConstraintGoogIPv6' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'PaymentRequestBasicCard' | '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');
3381
+ export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogIPv6' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'PaymentRequestBasicCard' | '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.
@@ -7142,14 +7142,6 @@ export namespace Protocol {
7142
7142
  value: string;
7143
7143
  }
7144
7144
 
7145
- export interface GetStorageKeyForFrameRequest {
7146
- frameId: Page.FrameId;
7147
- }
7148
-
7149
- export interface GetStorageKeyForFrameResponse {
7150
- storageKey: SerializedStorageKey;
7151
- }
7152
-
7153
7145
  export interface DomStorageItemAddedEvent {
7154
7146
  storageId: StorageId;
7155
7147
  key: string;
@@ -7619,6 +7611,13 @@ export namespace Protocol {
7619
7611
  imageTypes: DisabledImageType[];
7620
7612
  }
7621
7613
 
7614
+ export interface SetHardwareConcurrencyOverrideRequest {
7615
+ /**
7616
+ * Hardware concurrency to report
7617
+ */
7618
+ hardwareConcurrency: integer;
7619
+ }
7620
+
7622
7621
  export interface SetUserAgentOverrideRequest {
7623
7622
  /**
7624
7623
  * User agent to use.
@@ -14350,6 +14349,14 @@ export namespace Protocol {
14350
14349
  adComponents: InterestGroupAd[];
14351
14350
  }
14352
14351
 
14352
+ export interface GetStorageKeyForFrameRequest {
14353
+ frameId: Page.FrameId;
14354
+ }
14355
+
14356
+ export interface GetStorageKeyForFrameResponse {
14357
+ storageKey: SerializedStorageKey;
14358
+ }
14359
+
14353
14360
  export interface ClearDataForOriginRequest {
14354
14361
  /**
14355
14362
  * Security origin.