devtools-protocol 0.0.1082910 → 0.0.1084670

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.
@@ -1534,7 +1534,8 @@
1534
1534
  "id": "GenericIssueErrorType",
1535
1535
  "type": "string",
1536
1536
  "enum": [
1537
- "CrossOriginPortalPostMessageError"
1537
+ "CrossOriginPortalPostMessageError",
1538
+ "FormLabelForNameError"
1538
1539
  ]
1539
1540
  },
1540
1541
  {
@@ -1551,6 +1552,11 @@
1551
1552
  "name": "frameId",
1552
1553
  "optional": true,
1553
1554
  "$ref": "Page.FrameId"
1555
+ },
1556
+ {
1557
+ "name": "violatingNodeId",
1558
+ "optional": true,
1559
+ "$ref": "DOM.BackendNodeId"
1554
1560
  }
1555
1561
  ]
1556
1562
  },
@@ -13932,6 +13938,7 @@
13932
13938
  "ResourceExhausted",
13933
13939
  "AlreadyExists",
13934
13940
  "Unavailable",
13941
+ "Unauthorized",
13935
13942
  "BadResponse",
13936
13943
  "InternalError",
13937
13944
  "UnknownError",
@@ -16293,6 +16300,7 @@
16293
16300
  "InjectedJavascript",
16294
16301
  "InjectedStyleSheet",
16295
16302
  "KeepaliveRequest",
16303
+ "IndexedDBEvent",
16296
16304
  "Dummy",
16297
16305
  "AuthorizationHeader",
16298
16306
  "ContentSecurityHandler",
@@ -20585,6 +20593,13 @@
20585
20593
  "description": "Whether to create the target in background or foreground (chrome-only,\nfalse by default).",
20586
20594
  "optional": true,
20587
20595
  "type": "boolean"
20596
+ },
20597
+ {
20598
+ "name": "forTab",
20599
+ "description": "Whether to create the target of type \"tab\".",
20600
+ "experimental": true,
20601
+ "optional": true,
20602
+ "type": "boolean"
20588
20603
  }
20589
20604
  ],
20590
20605
  "returns": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1082910",
3
+ "version": "0.0.1084670",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -743,6 +743,7 @@ experimental domain Audits
743
743
  type GenericIssueErrorType extends string
744
744
  enum
745
745
  CrossOriginPortalPostMessageError
746
+ FormLabelForNameError
746
747
 
747
748
  # Depending on the concrete errorType, different properties are set.
748
749
  type GenericIssueDetails extends object
@@ -750,6 +751,7 @@ experimental domain Audits
750
751
  # Issues with the same errorType are aggregated in the frontend.
751
752
  GenericIssueErrorType errorType
752
753
  optional Page.FrameId frameId
754
+ optional DOM.BackendNodeId violatingNodeId
753
755
 
754
756
  type DeprecationIssueType extends string
755
757
  enum
@@ -6406,6 +6408,7 @@ domain Network
6406
6408
  ResourceExhausted
6407
6409
  AlreadyExists
6408
6410
  Unavailable
6411
+ Unauthorized
6409
6412
  BadResponse
6410
6413
  InternalError
6411
6414
  UnknownError
@@ -8423,6 +8426,7 @@ domain Page
8423
8426
  InjectedJavascript
8424
8427
  InjectedStyleSheet
8425
8428
  KeepaliveRequest
8429
+ IndexedDBEvent
8426
8430
  Dummy
8427
8431
  AuthorizationHeader
8428
8432
  # Disabled for RenderFrameHost reasons
@@ -9719,6 +9723,8 @@ domain Target
9719
9723
  # Whether to create the target in background or foreground (chrome-only,
9720
9724
  # false by default).
9721
9725
  optional boolean background
9726
+ # Whether to create the target of type "tab".
9727
+ experimental optional boolean forTab
9722
9728
  returns
9723
9729
  # The id of the page opened.
9724
9730
  TargetID targetId
@@ -3429,7 +3429,7 @@ export namespace Protocol {
3429
3429
  location?: SourceCodeLocation;
3430
3430
  }
3431
3431
 
3432
- export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError');
3432
+ export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError' | 'FormLabelForNameError');
3433
3433
 
3434
3434
  /**
3435
3435
  * Depending on the concrete errorType, different properties are set.
@@ -3440,6 +3440,7 @@ export namespace Protocol {
3440
3440
  */
3441
3441
  errorType: GenericIssueErrorType;
3442
3442
  frameId?: Page.FrameId;
3443
+ violatingNodeId?: DOM.BackendNodeId;
3443
3444
  }
3444
3445
 
3445
3446
  export type DeprecationIssueType = ('AuthorizationCoveredByWildcard' | 'CanRequestURLHTTPContainingNewline' | 'ChromeLoadTimesConnectionInfo' | 'ChromeLoadTimesFirstPaintAfterLoadTime' | 'ChromeLoadTimesWasAlternateProtocolAvailable' | 'CookieWithTruncatingChar' | 'CrossOriginAccessBasedOnDocumentDomain' | 'CrossOriginWindowAlert' | 'CrossOriginWindowConfirm' | 'CSSSelectorInternalMediaControlsOverlayCastButton' | 'DeprecationExample' | 'DocumentDomainSettingWithoutOriginAgentClusterHeader' | 'EventPath' | 'ExpectCTHeader' | 'GeolocationInsecureOrigin' | 'GeolocationInsecureOriginDeprecatedNotRemoved' | 'GetUserMediaInsecureOrigin' | 'HostCandidateAttributeGetter' | 'IdentityInCanMakePaymentEvent' | 'InsecurePrivateNetworkSubresourceRequest' | 'LocalCSSFileExtensionRejected' | 'MediaSourceAbortRemove' | 'MediaSourceDurationTruncatingBuffered' | 'NoSysexWebMIDIWithoutPermission' | 'NotificationInsecureOrigin' | 'NotificationPermissionRequestedIframe' | 'ObsoleteWebRtcCipherSuite' | 'OpenWebDatabaseInsecureContext' | 'OverflowVisibleOnReplacedElement' | 'PaymentInstruments' | 'PaymentRequestCSPViolation' | 'PersistentQuotaType' | 'PictureSourceSrc' | 'PrefixedCancelAnimationFrame' | 'PrefixedRequestAnimationFrame' | 'PrefixedStorageInfo' | 'PrefixedVideoDisplayingFullscreen' | 'PrefixedVideoEnterFullscreen' | 'PrefixedVideoEnterFullScreen' | 'PrefixedVideoExitFullscreen' | 'PrefixedVideoExitFullScreen' | 'PrefixedVideoSupportsFullscreen' | 'RangeExpand' | 'RequestedSubresourceWithEmbeddedCredentials' | 'RTCConstraintEnableDtlsSrtpFalse' | 'RTCConstraintEnableDtlsSrtpTrue' | 'RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics' | 'RTCPeerConnectionSdpSemanticsPlanB' | 'RtcpMuxPolicyNegotiate' | 'SharedArrayBufferConstructedWithoutIsolation' | 'TextToSpeech_DisallowedByAutoplay' | 'V8SharedArrayBufferConstructedInExtensionWithoutIsolation' | 'XHRJSONEncodingDetection' | 'XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload' | 'XRSupportsSession');
@@ -11426,6 +11427,7 @@ export namespace Protocol {
11426
11427
  ResourceExhausted = 'ResourceExhausted',
11427
11428
  AlreadyExists = 'AlreadyExists',
11428
11429
  Unavailable = 'Unavailable',
11430
+ Unauthorized = 'Unauthorized',
11429
11431
  BadResponse = 'BadResponse',
11430
11432
  InternalError = 'InternalError',
11431
11433
  UnknownError = 'UnknownError',
@@ -11445,7 +11447,7 @@ export namespace Protocol {
11445
11447
  * of the operation already exists und thus, the operation was abort
11446
11448
  * preemptively (e.g. a cache hit). (TrustTokenOperationDoneEventStatus enum)
11447
11449
  */
11448
- status: ('Ok' | 'InvalidArgument' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'Unavailable' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally');
11450
+ status: ('Ok' | 'InvalidArgument' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'Unavailable' | 'Unauthorized' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally');
11449
11451
  type: TrustTokenOperationType;
11450
11452
  requestId: RequestId;
11451
11453
  /**
@@ -12823,7 +12825,7 @@ export namespace Protocol {
12823
12825
  /**
12824
12826
  * List of not restored reasons for back-forward cache.
12825
12827
  */
12826
- export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'SchedulerTrackedFeatureUsed' | 'ConflictingBrowsingInstance' | 'CacheFlushed' | 'ServiceWorkerVersionActivation' | 'SessionRestored' | 'ServiceWorkerPostMessage' | 'EnteredBackForwardCacheBeforeServiceWorkerHostAdded' | 'RenderFrameHostReused_SameSite' | 'RenderFrameHostReused_CrossSite' | 'ServiceWorkerClaim' | 'IgnoreEventAndEvict' | 'HaveInnerContents' | 'TimeoutPuttingInCache' | 'BackForwardCacheDisabledByLowMemory' | 'BackForwardCacheDisabledByCommandLine' | 'NetworkRequestDatapipeDrainedAsBytesConsumer' | 'NetworkRequestRedirected' | 'NetworkRequestTimeout' | 'NetworkExceedsBufferLimit' | 'NavigationCancelledWhileRestoring' | 'NotMostRecentNavigationEntry' | 'BackForwardCacheDisabledForPrerender' | 'UserAgentOverrideDiffers' | 'ForegroundCacheLimit' | 'BrowsingInstanceNotSwapped' | 'BackForwardCacheDisabledForDelegate' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'ErrorDocument' | 'FencedFramesEmbedder' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'OutstandingIndexedDBTransaction' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'IndexedDBConnection' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'Dummy' | 'AuthorizationHeader' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
12828
+ export type BackForwardCacheNotRestoredReason = ('NotPrimaryMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'SchedulerTrackedFeatureUsed' | 'ConflictingBrowsingInstance' | 'CacheFlushed' | 'ServiceWorkerVersionActivation' | 'SessionRestored' | 'ServiceWorkerPostMessage' | 'EnteredBackForwardCacheBeforeServiceWorkerHostAdded' | 'RenderFrameHostReused_SameSite' | 'RenderFrameHostReused_CrossSite' | 'ServiceWorkerClaim' | 'IgnoreEventAndEvict' | 'HaveInnerContents' | 'TimeoutPuttingInCache' | 'BackForwardCacheDisabledByLowMemory' | 'BackForwardCacheDisabledByCommandLine' | 'NetworkRequestDatapipeDrainedAsBytesConsumer' | 'NetworkRequestRedirected' | 'NetworkRequestTimeout' | 'NetworkExceedsBufferLimit' | 'NavigationCancelledWhileRestoring' | 'NotMostRecentNavigationEntry' | 'BackForwardCacheDisabledForPrerender' | 'UserAgentOverrideDiffers' | 'ForegroundCacheLimit' | 'BrowsingInstanceNotSwapped' | 'BackForwardCacheDisabledForDelegate' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | 'ErrorDocument' | 'FencedFramesEmbedder' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'OutstandingIndexedDBTransaction' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'IndexedDBConnection' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'AuthorizationHeader' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
12827
12829
 
12828
12830
  /**
12829
12831
  * Types of not restored reasons for back-forward cache.
@@ -15447,6 +15449,10 @@ export namespace Protocol {
15447
15449
  * false by default).
15448
15450
  */
15449
15451
  background?: boolean;
15452
+ /**
15453
+ * Whether to create the target of type "tab".
15454
+ */
15455
+ forTab?: boolean;
15450
15456
  }
15451
15457
 
15452
15458
  export interface CreateTargetResponse {