devtools-protocol 0.0.1026613 → 0.0.1028116

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.
@@ -281,6 +281,12 @@
281
281
  "optional": true,
282
282
  "$ref": "AXValue"
283
283
  },
284
+ {
285
+ "name": "chromeRole",
286
+ "description": "This `Node`'s Chrome raw role.",
287
+ "optional": true,
288
+ "$ref": "AXValue"
289
+ },
284
290
  {
285
291
  "name": "name",
286
292
  "description": "The accessible name for this `Node`.",
@@ -1442,7 +1448,10 @@
1442
1448
  "PermissionPolicyDisabled",
1443
1449
  "AttributionSourceUntrustworthyOrigin",
1444
1450
  "AttributionUntrustworthyOrigin",
1445
- "InvalidHeader"
1451
+ "UntrustworthyReportingOrigin",
1452
+ "InsecureContext",
1453
+ "InvalidHeader",
1454
+ "InvalidRegisterTriggerHeader"
1446
1455
  ]
1447
1456
  },
1448
1457
  {
@@ -1456,6 +1465,7 @@
1456
1465
  },
1457
1466
  {
1458
1467
  "name": "frame",
1468
+ "description": "TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.",
1459
1469
  "optional": true,
1460
1470
  "$ref": "AffectedFrame"
1461
1471
  },
@@ -1578,6 +1588,7 @@
1578
1588
  "NotificationPermissionRequestedIframe",
1579
1589
  "ObsoleteWebRtcCipherSuite",
1580
1590
  "OpenWebDatabaseInsecureContext",
1591
+ "OverflowVisibleOnReplacedElement",
1581
1592
  "PictureSourceSrc",
1582
1593
  "PrefixedCancelAnimationFrame",
1583
1594
  "PrefixedRequestAnimationFrame",
@@ -8890,7 +8901,14 @@
8890
8901
  "parameters": [
8891
8902
  {
8892
8903
  "name": "securityOrigin",
8893
- "description": "Security origin.",
8904
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
8905
+ "optional": true,
8906
+ "type": "string"
8907
+ },
8908
+ {
8909
+ "name": "storageKey",
8910
+ "description": "Storage key.",
8911
+ "optional": true,
8894
8912
  "type": "string"
8895
8913
  },
8896
8914
  {
@@ -8911,7 +8929,14 @@
8911
8929
  "parameters": [
8912
8930
  {
8913
8931
  "name": "securityOrigin",
8914
- "description": "Security origin.",
8932
+ "description": "At least and at most one of securityOrigin, storageKey must be specified.\nSecurity origin.",
8933
+ "optional": true,
8934
+ "type": "string"
8935
+ },
8936
+ {
8937
+ "name": "storageKey",
8938
+ "description": "Storage key.",
8939
+ "optional": true,
8915
8940
  "type": "string"
8916
8941
  },
8917
8942
  {
@@ -16257,7 +16282,9 @@
16257
16282
  "TriggerBackgrounded",
16258
16283
  "EmbedderTriggeredAndSameOriginRedirected",
16259
16284
  "EmbedderTriggeredAndCrossOriginRedirected",
16260
- "EmbedderTriggeredAndDestroyed"
16285
+ "EmbedderTriggeredAndDestroyed",
16286
+ "MemoryLimitExceeded",
16287
+ "FailToGetMemoryUsage"
16261
16288
  ]
16262
16289
  }
16263
16290
  ],
@@ -19115,6 +19142,22 @@
19115
19142
  }
19116
19143
  ]
19117
19144
  },
19145
+ {
19146
+ "name": "clearDataForStorageKey",
19147
+ "description": "Clears storage for storage key.",
19148
+ "parameters": [
19149
+ {
19150
+ "name": "storageKey",
19151
+ "description": "Storage key.",
19152
+ "type": "string"
19153
+ },
19154
+ {
19155
+ "name": "storageTypes",
19156
+ "description": "Comma separated list of StorageType to clear.",
19157
+ "type": "string"
19158
+ }
19159
+ ]
19160
+ },
19118
19161
  {
19119
19162
  "name": "getCookies",
19120
19163
  "description": "Returns all browser cookies.",
@@ -589,7 +589,7 @@
589
589
  },
590
590
  {
591
591
  "name": "functionBodyOffsets",
592
- "description": "The offsets of all function bodies plus one additional entry pointing\none by past the end of the last function.",
592
+ "description": "The offsets of all function bodies, in the format [start1, end1,\nstart2, end2, ...] where all ends are exclusive.",
593
593
  "type": "array",
594
594
  "items": {
595
595
  "type": "integer"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1026613",
3
+ "version": "0.0.1028116",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -168,6 +168,8 @@ experimental domain Accessibility
168
168
  optional array of AXProperty ignoredReasons
169
169
  # This `Node`'s role, whether explicit or implicit.
170
170
  optional AXValue role
171
+ # This `Node`'s Chrome raw role.
172
+ optional AXValue chromeRole
171
173
  # The accessible name for this `Node`.
172
174
  optional AXValue name
173
175
  # The accessible description for this `Node`.
@@ -697,15 +699,22 @@ experimental domain Audits
697
699
  type AttributionReportingIssueType extends string
698
700
  enum
699
701
  PermissionPolicyDisabled
702
+ # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
700
703
  AttributionSourceUntrustworthyOrigin
704
+ # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
701
705
  AttributionUntrustworthyOrigin
706
+ UntrustworthyReportingOrigin
707
+ InsecureContext
708
+ # TODO(apaseltiner): Rename this to InvalidRegisterSourceHeader
702
709
  InvalidHeader
710
+ InvalidRegisterTriggerHeader
703
711
 
704
712
  # Details for issues around "Attribution Reporting API" usage.
705
713
  # Explainer: https://github.com/WICG/attribution-reporting-api
706
714
  type AttributionReportingIssueDetails extends object
707
715
  properties
708
716
  AttributionReportingIssueType violationType
717
+ # TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
709
718
  optional AffectedFrame frame
710
719
  optional AffectedRequest request
711
720
  optional DOM.BackendNodeId violatingNodeId
@@ -772,6 +781,7 @@ experimental domain Audits
772
781
  NotificationPermissionRequestedIframe
773
782
  ObsoleteWebRtcCipherSuite
774
783
  OpenWebDatabaseInsecureContext
784
+ OverflowVisibleOnReplacedElement
775
785
  PictureSourceSrc
776
786
  PrefixedCancelAnimationFrame
777
787
  PrefixedRequestAnimationFrame
@@ -2682,7 +2692,7 @@ domain DOM
2682
2692
  array of NodeId nodeIds
2683
2693
 
2684
2694
  # Returns NodeIds of current top layer elements.
2685
- # Top layer is rendered closest to the user within a viewport, therefore its elements always
2695
+ # Top layer is rendered closest to the user within a viewport, therefore its elements always
2686
2696
  # appear on top of all other content.
2687
2697
  experimental command getTopLayerElements
2688
2698
  returns
@@ -4071,8 +4081,11 @@ experimental domain IndexedDB
4071
4081
  # Clears all entries from an object store.
4072
4082
  command clearObjectStore
4073
4083
  parameters
4084
+ # At least and at most one of securityOrigin, storageKey must be specified.
4074
4085
  # Security origin.
4075
- string securityOrigin
4086
+ optional string securityOrigin
4087
+ # Storage key.
4088
+ optional string storageKey
4076
4089
  # Database name.
4077
4090
  string databaseName
4078
4091
  # Object store name.
@@ -4081,8 +4094,11 @@ experimental domain IndexedDB
4081
4094
  # Deletes a database.
4082
4095
  command deleteDatabase
4083
4096
  parameters
4097
+ # At least and at most one of securityOrigin, storageKey must be specified.
4084
4098
  # Security origin.
4085
- string securityOrigin
4099
+ optional string securityOrigin
4100
+ # Storage key.
4101
+ optional string storageKey
4086
4102
  # Database name.
4087
4103
  string databaseName
4088
4104
 
@@ -8423,6 +8439,10 @@ domain Page
8423
8439
  EmbedderTriggeredAndSameOriginRedirected
8424
8440
  EmbedderTriggeredAndCrossOriginRedirected
8425
8441
  EmbedderTriggeredAndDestroyed
8442
+ MemoryLimitExceeded
8443
+ # Prerenders can be cancelled when Chrome uses excessive memory. This is
8444
+ # recorded when it fails to get the memory usage.
8445
+ FailToGetMemoryUsage
8426
8446
 
8427
8447
  # Fired when a prerender attempt is completed.
8428
8448
  event prerenderAttemptCompleted
@@ -8990,6 +9010,14 @@ experimental domain Storage
8990
9010
  # Comma separated list of StorageType to clear.
8991
9011
  string storageTypes
8992
9012
 
9013
+ # Clears storage for storage key.
9014
+ command clearDataForStorageKey
9015
+ parameters
9016
+ # Storage key.
9017
+ string storageKey
9018
+ # Comma separated list of StorageType to clear.
9019
+ string storageTypes
9020
+
8993
9021
  # Returns all browser cookies.
8994
9022
  command getCookies
8995
9023
  parameters
@@ -261,8 +261,8 @@ domain Debugger
261
261
  optional string streamId
262
262
  # The total number of lines in the disassembly text.
263
263
  integer totalNumberOfLines
264
- # The offsets of all function bodies plus one additional entry pointing
265
- # one by past the end of the last function.
264
+ # The offsets of all function bodies, in the format [start1, end1,
265
+ # start2, end2, ...] where all ends are exclusive.
266
266
  array of integer functionBodyOffsets
267
267
  # The first chunk of disassembly.
268
268
  WasmDisassemblyChunk chunk
@@ -3996,6 +3996,13 @@ export namespace ProtocolMapping {
3996
3996
  paramsType: [Protocol.Storage.ClearDataForOriginRequest];
3997
3997
  returnType: void;
3998
3998
  };
3999
+ /**
4000
+ * Clears storage for storage key.
4001
+ */
4002
+ 'Storage.clearDataForStorageKey': {
4003
+ paramsType: [Protocol.Storage.ClearDataForStorageKeyRequest];
4004
+ returnType: void;
4005
+ };
3999
4006
  /**
4000
4007
  * Returns all browser cookies.
4001
4008
  */
@@ -3244,6 +3244,11 @@ export namespace ProtocolProxyApi {
3244
3244
  */
3245
3245
  clearDataForOrigin(params: Protocol.Storage.ClearDataForOriginRequest): Promise<void>;
3246
3246
 
3247
+ /**
3248
+ * Clears storage for storage key.
3249
+ */
3250
+ clearDataForStorageKey(params: Protocol.Storage.ClearDataForStorageKeyRequest): Promise<void>;
3251
+
3247
3252
  /**
3248
3253
  * Returns all browser cookies.
3249
3254
  */
@@ -433,8 +433,8 @@ export namespace Protocol {
433
433
  */
434
434
  totalNumberOfLines: integer;
435
435
  /**
436
- * The offsets of all function bodies plus one additional entry pointing
437
- * one by past the end of the last function.
436
+ * The offsets of all function bodies, in the format [start1, end1,
437
+ * start2, end2, ...] where all ends are exclusive.
438
438
  */
439
439
  functionBodyOffsets: integer[];
440
440
  /**
@@ -2777,6 +2777,10 @@ export namespace Protocol {
2777
2777
  * This `Node`'s role, whether explicit or implicit.
2778
2778
  */
2779
2779
  role?: AXValue;
2780
+ /**
2781
+ * This `Node`'s Chrome raw role.
2782
+ */
2783
+ chromeRole?: AXValue;
2780
2784
  /**
2781
2785
  * The accessible name for this `Node`.
2782
2786
  */
@@ -3419,7 +3423,7 @@ export namespace Protocol {
3419
3423
  clientSecurityState?: Network.ClientSecurityState;
3420
3424
  }
3421
3425
 
3422
- export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'AttributionSourceUntrustworthyOrigin' | 'AttributionUntrustworthyOrigin' | 'InvalidHeader');
3426
+ export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'AttributionSourceUntrustworthyOrigin' | 'AttributionUntrustworthyOrigin' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader');
3423
3427
 
3424
3428
  /**
3425
3429
  * Details for issues around "Attribution Reporting API" usage.
@@ -3427,6 +3431,9 @@ export namespace Protocol {
3427
3431
  */
3428
3432
  export interface AttributionReportingIssueDetails {
3429
3433
  violationType: AttributionReportingIssueType;
3434
+ /**
3435
+ * TODO(apaseltiner): Remove this once it is no longer referenced by the frontend.
3436
+ */
3430
3437
  frame?: AffectedFrame;
3431
3438
  request?: AffectedRequest;
3432
3439
  violatingNodeId?: DOM.BackendNodeId;
@@ -3467,7 +3474,7 @@ export namespace Protocol {
3467
3474
  frameId?: Page.FrameId;
3468
3475
  }
3469
3476
 
3470
- export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'ExpectCTHeader' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'IdentityInCanMakePaymentEvent' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogIPv6' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NavigateEventRestoreScroll' | 'NavigateEventTransitionWhile' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'OpenWebDatabaseInsecureContext' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
3477
+ export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'ExpectCTHeader' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'IdentityInCanMakePaymentEvent' | 'InsecurePrivateNetworkSubresourceRequest' | 'LegacyConstraintGoogIPv6' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NavigateEventRestoreScroll' | 'NavigateEventTransitionWhile' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'OpenWebDatabaseInsecureContext' | 'OverflowVisibleOnReplacedElement' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
3471
3478
 
3472
3479
  /**
3473
3480
  * This issue tracks information needed to print a deprecation message.
@@ -8102,9 +8109,14 @@ export namespace Protocol {
8102
8109
 
8103
8110
  export interface ClearObjectStoreRequest {
8104
8111
  /**
8112
+ * At least and at most one of securityOrigin, storageKey must be specified.
8105
8113
  * Security origin.
8106
8114
  */
8107
- securityOrigin: string;
8115
+ securityOrigin?: string;
8116
+ /**
8117
+ * Storage key.
8118
+ */
8119
+ storageKey?: string;
8108
8120
  /**
8109
8121
  * Database name.
8110
8122
  */
@@ -8117,9 +8129,14 @@ export namespace Protocol {
8117
8129
 
8118
8130
  export interface DeleteDatabaseRequest {
8119
8131
  /**
8132
+ * At least and at most one of securityOrigin, storageKey must be specified.
8120
8133
  * Security origin.
8121
8134
  */
8122
- securityOrigin: string;
8135
+ securityOrigin?: string;
8136
+ /**
8137
+ * Storage key.
8138
+ */
8139
+ storageKey?: string;
8123
8140
  /**
8124
8141
  * Database name.
8125
8142
  */
@@ -12808,7 +12825,7 @@ export namespace Protocol {
12808
12825
  /**
12809
12826
  * List of FinalStatus reasons for Prerender2.
12810
12827
  */
12811
- export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndSameOriginRedirected' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'EmbedderTriggeredAndDestroyed');
12828
+ export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndSameOriginRedirected' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'EmbedderTriggeredAndDestroyed' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage');
12812
12829
 
12813
12830
  export interface AddScriptToEvaluateOnLoadRequest {
12814
12831
  scriptSource: string;
@@ -14554,6 +14571,17 @@ export namespace Protocol {
14554
14571
  storageTypes: string;
14555
14572
  }
14556
14573
 
14574
+ export interface ClearDataForStorageKeyRequest {
14575
+ /**
14576
+ * Storage key.
14577
+ */
14578
+ storageKey: string;
14579
+ /**
14580
+ * Comma separated list of StorageType to clear.
14581
+ */
14582
+ storageTypes: string;
14583
+ }
14584
+
14557
14585
  export interface GetCookiesRequest {
14558
14586
  /**
14559
14587
  * Browser context to use when called on the browser endpoint.