devtools-protocol 0.0.1447524 → 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
|
{
|
@@ -23763,6 +23776,26 @@
|
|
23763
23776
|
}
|
23764
23777
|
}
|
23765
23778
|
]
|
23779
|
+
},
|
23780
|
+
{
|
23781
|
+
"name": "setProtectedAudienceKAnonymity",
|
23782
|
+
"parameters": [
|
23783
|
+
{
|
23784
|
+
"name": "owner",
|
23785
|
+
"type": "string"
|
23786
|
+
},
|
23787
|
+
{
|
23788
|
+
"name": "name",
|
23789
|
+
"type": "string"
|
23790
|
+
},
|
23791
|
+
{
|
23792
|
+
"name": "hashes",
|
23793
|
+
"type": "array",
|
23794
|
+
"items": {
|
23795
|
+
"type": "string"
|
23796
|
+
}
|
23797
|
+
}
|
23798
|
+
]
|
23766
23799
|
}
|
23767
23800
|
],
|
23768
23801
|
"events": [
|
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
|
@@ -11333,6 +11342,12 @@ experimental domain Storage
|
|
11333
11342
|
# party URL, only the first-party URL is returned in the array.
|
11334
11343
|
array of string matchedUrls
|
11335
11344
|
|
11345
|
+
command setProtectedAudienceKAnonymity
|
11346
|
+
parameters
|
11347
|
+
string owner
|
11348
|
+
string name
|
11349
|
+
array of binary hashes
|
11350
|
+
|
11336
11351
|
# The SystemInfo domain defines methods and events for querying low-level system information.
|
11337
11352
|
experimental domain SystemInfo
|
11338
11353
|
|
@@ -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
|
@@ -4712,6 +4720,10 @@ export namespace ProtocolMapping {
|
|
4712
4720
|
paramsType: [Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest];
|
4713
4721
|
returnType: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse;
|
4714
4722
|
};
|
4723
|
+
'Storage.setProtectedAudienceKAnonymity': {
|
4724
|
+
paramsType: [Protocol.Storage.SetProtectedAudienceKAnonymityRequest];
|
4725
|
+
returnType: void;
|
4726
|
+
};
|
4715
4727
|
/**
|
4716
4728
|
* Returns information about the system.
|
4717
4729
|
*/
|
@@ -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
|
*/
|
@@ -3770,6 +3776,8 @@ export namespace ProtocolProxyApi {
|
|
3770
3776
|
*/
|
3771
3777
|
getAffectedUrlsForThirdPartyCookieMetadata(params: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest): Promise<Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse>;
|
3772
3778
|
|
3779
|
+
setProtectedAudienceKAnonymity(params: Protocol.Storage.SetProtectedAudienceKAnonymityRequest): Promise<void>;
|
3780
|
+
|
3773
3781
|
/**
|
3774
3782
|
* A cache's contents have been modified.
|
3775
3783
|
*/
|
@@ -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
|
*/
|
@@ -4068,6 +4074,8 @@ export namespace ProtocolTestsProxyApi {
|
|
4068
4074
|
*/
|
4069
4075
|
getAffectedUrlsForThirdPartyCookieMetadata(params: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest): Promise<{id: number, result: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse, sessionId: string}>;
|
4070
4076
|
|
4077
|
+
setProtectedAudienceKAnonymity(params: Protocol.Storage.SetProtectedAudienceKAnonymityRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4078
|
+
|
4071
4079
|
/**
|
4072
4080
|
* A cache's contents have been modified.
|
4073
4081
|
*/
|
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.
|
@@ -17037,6 +17045,12 @@ export namespace Protocol {
|
|
17037
17045
|
matchedUrls: string[];
|
17038
17046
|
}
|
17039
17047
|
|
17048
|
+
export interface SetProtectedAudienceKAnonymityRequest {
|
17049
|
+
owner: string;
|
17050
|
+
name: string;
|
17051
|
+
hashes: string[];
|
17052
|
+
}
|
17053
|
+
|
17040
17054
|
/**
|
17041
17055
|
* A cache's contents have been modified.
|
17042
17056
|
*/
|