devtools-protocol 0.0.1448144 → 0.0.1449119
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.
@@ -10461,6 +10461,18 @@
|
|
10461
10461
|
"type": "boolean"
|
10462
10462
|
}
|
10463
10463
|
]
|
10464
|
+
},
|
10465
|
+
{
|
10466
|
+
"name": "setSmallViewportHeightDifferenceOverride",
|
10467
|
+
"description": "Allows overriding the difference between the small and large viewport sizes, which determine the\nvalue of the `svh` and `lvh` unit, respectively. Only supported for top-level frames.",
|
10468
|
+
"experimental": true,
|
10469
|
+
"parameters": [
|
10470
|
+
{
|
10471
|
+
"name": "difference",
|
10472
|
+
"description": "This will cause an element of size 100svh to be `difference` pixels smaller than an element\nof size 100lvh.",
|
10473
|
+
"type": "integer"
|
10474
|
+
}
|
10475
|
+
]
|
10464
10476
|
}
|
10465
10477
|
],
|
10466
10478
|
"events": [
|
@@ -19403,7 +19415,8 @@
|
|
19403
19415
|
"RequestedByWebViewClient",
|
19404
19416
|
"PostMessageByWebViewClient",
|
19405
19417
|
"CacheControlNoStoreDeviceBoundSessionTerminated",
|
19406
|
-
"
|
19418
|
+
"CacheLimitPrunedOnModerateMemoryPressure",
|
19419
|
+
"CacheLimitPrunedOnCriticalMemoryPressure"
|
19407
19420
|
]
|
19408
19421
|
},
|
19409
19422
|
{
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -4854,6 +4854,14 @@ domain Emulation
|
|
4854
4854
|
# Whether the override should be enabled.
|
4855
4855
|
boolean enabled
|
4856
4856
|
|
4857
|
+
# Allows overriding the difference between the small and large viewport sizes, which determine the
|
4858
|
+
# value of the `svh` and `lvh` unit, respectively. Only supported for top-level frames.
|
4859
|
+
experimental command setSmallViewportHeightDifferenceOverride
|
4860
|
+
parameters
|
4861
|
+
# This will cause an element of size 100svh to be `difference` pixels smaller than an element
|
4862
|
+
# of size 100lvh.
|
4863
|
+
integer difference
|
4864
|
+
|
4857
4865
|
# This domain provides experimental commands only supported in headless mode.
|
4858
4866
|
experimental domain HeadlessExperimental
|
4859
4867
|
depends on Page
|
@@ -9977,7 +9985,8 @@ domain Page
|
|
9977
9985
|
RequestedByWebViewClient
|
9978
9986
|
PostMessageByWebViewClient
|
9979
9987
|
CacheControlNoStoreDeviceBoundSessionTerminated
|
9980
|
-
|
9988
|
+
CacheLimitPrunedOnModerateMemoryPressure
|
9989
|
+
CacheLimitPrunedOnCriticalMemoryPressure
|
9981
9990
|
|
9982
9991
|
# Types of not restored reasons for back-forward cache.
|
9983
9992
|
experimental type BackForwardCacheNotRestoredReasonType extends string
|
@@ -3030,6 +3030,14 @@ export namespace ProtocolMapping {
|
|
3030
3030
|
paramsType: [Protocol.Emulation.SetAutomationOverrideRequest];
|
3031
3031
|
returnType: void;
|
3032
3032
|
};
|
3033
|
+
/**
|
3034
|
+
* Allows overriding the difference between the small and large viewport sizes, which determine the
|
3035
|
+
* value of the `svh` and `lvh` unit, respectively. Only supported for top-level frames.
|
3036
|
+
*/
|
3037
|
+
'Emulation.setSmallViewportHeightDifferenceOverride': {
|
3038
|
+
paramsType: [Protocol.Emulation.SetSmallViewportHeightDifferenceOverrideRequest];
|
3039
|
+
returnType: void;
|
3040
|
+
};
|
3033
3041
|
/**
|
3034
3042
|
* Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
|
3035
3043
|
* screenshot from the resulting frame. Requires that the target was created with enabled
|
@@ -2067,6 +2067,12 @@ export namespace ProtocolProxyApi {
|
|
2067
2067
|
*/
|
2068
2068
|
setAutomationOverride(params: Protocol.Emulation.SetAutomationOverrideRequest): Promise<void>;
|
2069
2069
|
|
2070
|
+
/**
|
2071
|
+
* Allows overriding the difference between the small and large viewport sizes, which determine the
|
2072
|
+
* value of the `svh` and `lvh` unit, respectively. Only supported for top-level frames.
|
2073
|
+
*/
|
2074
|
+
setSmallViewportHeightDifferenceOverride(params: Protocol.Emulation.SetSmallViewportHeightDifferenceOverrideRequest): Promise<void>;
|
2075
|
+
|
2070
2076
|
/**
|
2071
2077
|
* Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
|
2072
2078
|
*/
|
@@ -2191,6 +2191,12 @@ export namespace ProtocolTestsProxyApi {
|
|
2191
2191
|
*/
|
2192
2192
|
setAutomationOverride(params: Protocol.Emulation.SetAutomationOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2193
2193
|
|
2194
|
+
/**
|
2195
|
+
* Allows overriding the difference between the small and large viewport sizes, which determine the
|
2196
|
+
* value of the `svh` and `lvh` unit, respectively. Only supported for top-level frames.
|
2197
|
+
*/
|
2198
|
+
setSmallViewportHeightDifferenceOverride(params: Protocol.Emulation.SetSmallViewportHeightDifferenceOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2199
|
+
|
2194
2200
|
/**
|
2195
2201
|
* Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
|
2196
2202
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -8962,6 +8962,14 @@ export namespace Protocol {
|
|
8962
8962
|
*/
|
8963
8963
|
enabled: boolean;
|
8964
8964
|
}
|
8965
|
+
|
8966
|
+
export interface SetSmallViewportHeightDifferenceOverrideRequest {
|
8967
|
+
/**
|
8968
|
+
* This will cause an element of size 100svh to be `difference` pixels smaller than an element
|
8969
|
+
* of size 100lvh.
|
8970
|
+
*/
|
8971
|
+
difference: integer;
|
8972
|
+
}
|
8965
8973
|
}
|
8966
8974
|
|
8967
8975
|
/**
|
@@ -14542,7 +14550,7 @@ export namespace Protocol {
|
|
14542
14550
|
/**
|
14543
14551
|
* List of not restored reasons for back-forward cache.
|
14544
14552
|
*/
|
14545
|
-
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' | 'CookieDisabled' | 'HTTPAuthRequired' | 'CookieFlushed' | 'BroadcastChannelOnMessage' | 'WebViewSettingsChanged' | 'WebViewJavaScriptObjectChanged' | 'WebViewMessageListenerInjected' | 'WebViewSafeBrowsingAllowlistChanged' | 'WebViewDocumentStartJavascriptChanged' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCSticky' | 'WebTransportSticky' | 'WebSocketSticky' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ParserAborted' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'ContentDiscarded' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame' | 'RequestedByWebViewClient' | 'PostMessageByWebViewClient' | 'CacheControlNoStoreDeviceBoundSessionTerminated' | '
|
14553
|
+
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' | 'CookieDisabled' | 'HTTPAuthRequired' | 'CookieFlushed' | 'BroadcastChannelOnMessage' | 'WebViewSettingsChanged' | 'WebViewJavaScriptObjectChanged' | 'WebViewMessageListenerInjected' | 'WebViewSafeBrowsingAllowlistChanged' | 'WebViewDocumentStartJavascriptChanged' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCSticky' | 'WebTransportSticky' | 'WebSocketSticky' | 'SmartCard' | 'LiveMediaStreamTrack' | 'UnloadHandler' | 'ParserAborted' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'ContentDiscarded' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame' | 'RequestedByWebViewClient' | 'PostMessageByWebViewClient' | 'CacheControlNoStoreDeviceBoundSessionTerminated' | 'CacheLimitPrunedOnModerateMemoryPressure' | 'CacheLimitPrunedOnCriticalMemoryPressure');
|
14546
14554
|
|
14547
14555
|
/**
|
14548
14556
|
* Types of not restored reasons for back-forward cache.
|