devtools-protocol 0.0.1082281 → 0.0.1084174
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",
|
@@ -16433,7 +16441,8 @@
|
|
16433
16441
|
"SameSiteCrossOriginRedirectNotOptIn",
|
16434
16442
|
"SameSiteCrossOriginNavigationNotOptIn",
|
16435
16443
|
"ActivationNavigationParameterMismatch",
|
16436
|
-
"ActivatedInBackground"
|
16444
|
+
"ActivatedInBackground",
|
16445
|
+
"EmbedderHostDisallowed"
|
16437
16446
|
]
|
16438
16447
|
}
|
16439
16448
|
],
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -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
|
@@ -8548,6 +8552,7 @@ domain Page
|
|
8548
8552
|
SameSiteCrossOriginNavigationNotOptIn
|
8549
8553
|
ActivationNavigationParameterMismatch
|
8550
8554
|
ActivatedInBackground
|
8555
|
+
EmbedderHostDisallowed
|
8551
8556
|
|
8552
8557
|
# Fired when a prerender attempt is completed.
|
8553
8558
|
experimental event prerenderAttemptCompleted
|
package/types/protocol.d.ts
CHANGED
@@ -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.
|
@@ -12865,7 +12867,7 @@ export namespace Protocol {
|
|
12865
12867
|
/**
|
12866
12868
|
* List of FinalStatus reasons for Prerender2.
|
12867
12869
|
*/
|
12868
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | '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' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirect' | 'CrossSiteNavigation' | 'SameSiteCrossOriginRedirect' | 'SameSiteCrossOriginNavigation' | 'SameSiteCrossOriginRedirectNotOptIn' | 'SameSiteCrossOriginNavigationNotOptIn' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground');
|
12870
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | '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' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirect' | 'CrossSiteNavigation' | 'SameSiteCrossOriginRedirect' | 'SameSiteCrossOriginNavigation' | 'SameSiteCrossOriginRedirectNotOptIn' | 'SameSiteCrossOriginNavigationNotOptIn' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed');
|
12869
12871
|
|
12870
12872
|
export interface AddScriptToEvaluateOnLoadRequest {
|
12871
12873
|
scriptSource: string;
|