devtools-protocol 0.0.1448144 → 0.0.1449749

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
- "CacheLimitPruned"
19418
+ "CacheLimitPrunedOnModerateMemoryPressure",
19419
+ "CacheLimitPrunedOnCriticalMemoryPressure"
19407
19420
  ]
19408
19421
  },
19409
19422
  {
@@ -22829,6 +22842,21 @@
22829
22842
  }
22830
22843
  ]
22831
22844
  },
22845
+ {
22846
+ "id": "AttributionReportingNamedBudgetDef",
22847
+ "experimental": true,
22848
+ "type": "object",
22849
+ "properties": [
22850
+ {
22851
+ "name": "name",
22852
+ "type": "string"
22853
+ },
22854
+ {
22855
+ "name": "budget",
22856
+ "type": "integer"
22857
+ }
22858
+ ]
22859
+ },
22832
22860
  {
22833
22861
  "id": "AttributionReportingSourceRegistration",
22834
22862
  "experimental": true,
@@ -22921,6 +22949,13 @@
22921
22949
  {
22922
22950
  "name": "maxEventLevelReports",
22923
22951
  "type": "integer"
22952
+ },
22953
+ {
22954
+ "name": "namedBudgets",
22955
+ "type": "array",
22956
+ "items": {
22957
+ "$ref": "AttributionReportingNamedBudgetDef"
22958
+ }
22924
22959
  }
22925
22960
  ]
22926
22961
  },
@@ -23056,6 +23091,22 @@
23056
23091
  }
23057
23092
  ]
23058
23093
  },
23094
+ {
23095
+ "id": "AttributionReportingNamedBudgetCandidate",
23096
+ "experimental": true,
23097
+ "type": "object",
23098
+ "properties": [
23099
+ {
23100
+ "name": "name",
23101
+ "optional": true,
23102
+ "type": "string"
23103
+ },
23104
+ {
23105
+ "name": "filters",
23106
+ "$ref": "AttributionReportingFilterPair"
23107
+ }
23108
+ ]
23109
+ },
23059
23110
  {
23060
23111
  "id": "AttributionReportingTriggerRegistration",
23061
23112
  "experimental": true,
@@ -23130,6 +23181,13 @@
23130
23181
  "items": {
23131
23182
  "type": "string"
23132
23183
  }
23184
+ },
23185
+ {
23186
+ "name": "namedBudgets",
23187
+ "type": "array",
23188
+ "items": {
23189
+ "$ref": "AttributionReportingNamedBudgetCandidate"
23190
+ }
23133
23191
  }
23134
23192
  ]
23135
23193
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1448144",
3
+ "version": "0.0.1449749",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -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
- CacheLimitPruned
9988
+ CacheLimitPrunedOnModerateMemoryPressure
9989
+ CacheLimitPrunedOnCriticalMemoryPressure
9981
9990
 
9982
9991
  # Types of not restored reasons for back-forward cache.
9983
9992
  experimental type BackForwardCacheNotRestoredReasonType extends string
@@ -11156,6 +11165,11 @@ experimental domain Storage
11156
11165
  number limit
11157
11166
  number maxEventStates
11158
11167
 
11168
+ experimental type AttributionReportingNamedBudgetDef extends object
11169
+ properties
11170
+ string name
11171
+ integer budget
11172
+
11159
11173
  experimental type AttributionReportingSourceRegistration extends object
11160
11174
  properties
11161
11175
  Network.TimeSinceEpoch time
@@ -11178,6 +11192,7 @@ experimental domain Storage
11178
11192
  AttributionReportingAggregatableDebugReportingConfig aggregatableDebugReportingConfig
11179
11193
  optional AttributionScopesData scopesData
11180
11194
  integer maxEventLevelReports
11195
+ array of AttributionReportingNamedBudgetDef namedBudgets
11181
11196
 
11182
11197
  experimental type AttributionReportingSourceRegistrationResult extends string
11183
11198
  enum
@@ -11240,6 +11255,11 @@ experimental domain Storage
11240
11255
  optional UnsignedInt64AsBase10 dedupKey
11241
11256
  AttributionReportingFilterPair filters
11242
11257
 
11258
+ experimental type AttributionReportingNamedBudgetCandidate extends object
11259
+ properties
11260
+ optional string name
11261
+ AttributionReportingFilterPair filters
11262
+
11243
11263
  experimental type AttributionReportingTriggerRegistration extends object
11244
11264
  properties
11245
11265
  AttributionReportingFilterPair filters
@@ -11255,6 +11275,7 @@ experimental domain Storage
11255
11275
  optional string triggerContextId
11256
11276
  AttributionReportingAggregatableDebugReportingConfig aggregatableDebugReportingConfig
11257
11277
  array of string scopes
11278
+ array of AttributionReportingNamedBudgetCandidate namedBudgets
11258
11279
 
11259
11280
  experimental type AttributionReportingEventLevelResult extends string
11260
11281
  enum
@@ -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
  */
@@ -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' | 'CacheLimitPruned');
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.
@@ -16638,6 +16646,11 @@ export namespace Protocol {
16638
16646
  maxEventStates: number;
16639
16647
  }
16640
16648
 
16649
+ export interface AttributionReportingNamedBudgetDef {
16650
+ name: string;
16651
+ budget: integer;
16652
+ }
16653
+
16641
16654
  export interface AttributionReportingSourceRegistration {
16642
16655
  time: Network.TimeSinceEpoch;
16643
16656
  /**
@@ -16663,6 +16676,7 @@ export namespace Protocol {
16663
16676
  aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
16664
16677
  scopesData?: AttributionScopesData;
16665
16678
  maxEventLevelReports: integer;
16679
+ namedBudgets: AttributionReportingNamedBudgetDef[];
16666
16680
  }
16667
16681
 
16668
16682
  export type AttributionReportingSourceRegistrationResult = ('success' | 'internalError' | 'insufficientSourceCapacity' | 'insufficientUniqueDestinationCapacity' | 'excessiveReportingOrigins' | 'prohibitedByBrowserPolicy' | 'successNoised' | 'destinationReportingLimitReached' | 'destinationGlobalLimitReached' | 'destinationBothLimitsReached' | 'reportingOriginsPerSiteLimitReached' | 'exceedsMaxChannelCapacity' | 'exceedsMaxScopesChannelCapacity' | 'exceedsMaxTriggerStateCardinality' | 'exceedsMaxEventStatesLimit' | 'destinationPerDayReportingLimitReached');
@@ -16702,6 +16716,11 @@ export namespace Protocol {
16702
16716
  filters: AttributionReportingFilterPair;
16703
16717
  }
16704
16718
 
16719
+ export interface AttributionReportingNamedBudgetCandidate {
16720
+ name?: string;
16721
+ filters: AttributionReportingFilterPair;
16722
+ }
16723
+
16705
16724
  export interface AttributionReportingTriggerRegistration {
16706
16725
  filters: AttributionReportingFilterPair;
16707
16726
  debugKey?: UnsignedInt64AsBase10;
@@ -16716,6 +16735,7 @@ export namespace Protocol {
16716
16735
  triggerContextId?: string;
16717
16736
  aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
16718
16737
  scopes: string[];
16738
+ namedBudgets: AttributionReportingNamedBudgetCandidate[];
16719
16739
  }
16720
16740
 
16721
16741
  export type AttributionReportingEventLevelResult = ('success' | 'successDroppedLowerPriority' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'deduplicated' | 'excessiveAttributions' | 'priorityTooLow' | 'neverAttributedSource' | 'excessiveReportingOrigins' | 'noMatchingSourceFilterData' | 'prohibitedByBrowserPolicy' | 'noMatchingConfigurations' | 'excessiveReports' | 'falselyAttributedSource' | 'reportWindowPassed' | 'notRegistered' | 'reportWindowNotStarted' | 'noMatchingTriggerData');