devtools-protocol 0.0.1059612 → 0.0.1061415
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.
@@ -16226,6 +16226,7 @@
|
|
16226
16226
|
"OutstandingNetworkRequestDirectSocket",
|
16227
16227
|
"InjectedJavascript",
|
16228
16228
|
"InjectedStyleSheet",
|
16229
|
+
"KeepaliveRequest",
|
16229
16230
|
"Dummy",
|
16230
16231
|
"ContentSecurityHandler",
|
16231
16232
|
"ContentWebAuthenticationAPI",
|
@@ -16458,6 +16459,13 @@
|
|
16458
16459
|
"experimental": true,
|
16459
16460
|
"optional": true,
|
16460
16461
|
"type": "boolean"
|
16462
|
+
},
|
16463
|
+
{
|
16464
|
+
"name": "optimizeForSpeed",
|
16465
|
+
"description": "Optimize image encoding for speed, not for resulting size (defaults to false)",
|
16466
|
+
"experimental": true,
|
16467
|
+
"optional": true,
|
16468
|
+
"type": "boolean"
|
16461
16469
|
}
|
16462
16470
|
],
|
16463
16471
|
"returns": [
|
@@ -17603,14 +17611,6 @@
|
|
17603
17611
|
"description": "JavaScript stack trace of when frame was attached, only set if frame initiated from script.",
|
17604
17612
|
"optional": true,
|
17605
17613
|
"$ref": "Runtime.StackTrace"
|
17606
|
-
},
|
17607
|
-
{
|
17608
|
-
"name": "adScriptId",
|
17609
|
-
"description": "Identifies the bottom-most script which caused the frame to be labelled\nas an ad. Only sent if frame is labelled as an ad and id is available.\nDeprecated: use Page.getAdScriptId instead.",
|
17610
|
-
"experimental": true,
|
17611
|
-
"deprecated": true,
|
17612
|
-
"optional": true,
|
17613
|
-
"$ref": "AdScriptId"
|
17614
17614
|
}
|
17615
17615
|
]
|
17616
17616
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -7595,6 +7595,8 @@ domain Page
|
|
7595
7595
|
experimental optional boolean fromSurface
|
7596
7596
|
# Capture the screenshot beyond the viewport. Defaults to false.
|
7597
7597
|
experimental optional boolean captureBeyondViewport
|
7598
|
+
# Optimize image encoding for speed, not for resulting size (defaults to false)
|
7599
|
+
experimental optional boolean optimizeForSpeed
|
7598
7600
|
returns
|
7599
7601
|
# Base64-encoded image data.
|
7600
7602
|
binary data
|
@@ -8135,10 +8137,6 @@ domain Page
|
|
8135
8137
|
FrameId parentFrameId
|
8136
8138
|
# JavaScript stack trace of when frame was attached, only set if frame initiated from script.
|
8137
8139
|
optional Runtime.StackTrace stack
|
8138
|
-
# Identifies the bottom-most script which caused the frame to be labelled
|
8139
|
-
# as an ad. Only sent if frame is labelled as an ad and id is available.
|
8140
|
-
# Deprecated: use Page.getAdScriptId instead.
|
8141
|
-
experimental deprecated optional AdScriptId adScriptId
|
8142
8140
|
|
8143
8141
|
# Fired when frame no longer has a scheduled navigation.
|
8144
8142
|
deprecated event frameClearedScheduledNavigation
|
@@ -8388,6 +8386,7 @@ domain Page
|
|
8388
8386
|
OutstandingNetworkRequestDirectSocket
|
8389
8387
|
InjectedJavascript
|
8390
8388
|
InjectedStyleSheet
|
8389
|
+
KeepaliveRequest
|
8391
8390
|
Dummy
|
8392
8391
|
# Disabled for render frame host reasons
|
8393
8392
|
# See content/browser/renderer_host/back_forward_cache_disable.h for explanations.
|
package/types/protocol.d.ts
CHANGED
@@ -12792,7 +12792,7 @@ export namespace Protocol {
|
|
12792
12792
|
/**
|
12793
12793
|
* List of not restored reasons for back-forward cache.
|
12794
12794
|
*/
|
12795
|
-
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' | 'RequestedNotificationsPermission' | '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' | 'Dummy' | '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');
|
12795
|
+
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' | 'RequestedNotificationsPermission' | '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' | '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');
|
12796
12796
|
|
12797
12797
|
/**
|
12798
12798
|
* Types of not restored reasons for back-forward cache.
|
@@ -12896,6 +12896,10 @@ export namespace Protocol {
|
|
12896
12896
|
* Capture the screenshot beyond the viewport. Defaults to false.
|
12897
12897
|
*/
|
12898
12898
|
captureBeyondViewport?: boolean;
|
12899
|
+
/**
|
12900
|
+
* Optimize image encoding for speed, not for resulting size (defaults to false)
|
12901
|
+
*/
|
12902
|
+
optimizeForSpeed?: boolean;
|
12899
12903
|
}
|
12900
12904
|
|
12901
12905
|
export interface CaptureScreenshotResponse {
|
@@ -13600,12 +13604,6 @@ export namespace Protocol {
|
|
13600
13604
|
* JavaScript stack trace of when frame was attached, only set if frame initiated from script.
|
13601
13605
|
*/
|
13602
13606
|
stack?: Runtime.StackTrace;
|
13603
|
-
/**
|
13604
|
-
* Identifies the bottom-most script which caused the frame to be labelled
|
13605
|
-
* as an ad. Only sent if frame is labelled as an ad and id is available.
|
13606
|
-
* Deprecated: use Page.getAdScriptId instead.
|
13607
|
-
*/
|
13608
|
-
adScriptId?: AdScriptId;
|
13609
13607
|
}
|
13610
13608
|
|
13611
13609
|
/**
|