devtools-protocol 0.0.944179 → 0.0.947303

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.
@@ -1450,7 +1450,9 @@
1450
1450
  "AttributionSourceUntrustworthyOrigin",
1451
1451
  "AttributionUntrustworthyOrigin",
1452
1452
  "AttributionTriggerDataTooLarge",
1453
- "AttributionEventSourceTriggerDataTooLarge"
1453
+ "AttributionEventSourceTriggerDataTooLarge",
1454
+ "InvalidAttributionSourceExpiry",
1455
+ "InvalidAttributionSourcePriority"
1454
1456
  ]
1455
1457
  },
1456
1458
  {
@@ -4202,6 +4204,16 @@
4202
4204
  }
4203
4205
  ]
4204
4206
  },
4207
+ {
4208
+ "name": "startDesktopMirroring",
4209
+ "description": "Starts mirroring the desktop to the sink.",
4210
+ "parameters": [
4211
+ {
4212
+ "name": "sinkName",
4213
+ "type": "string"
4214
+ }
4215
+ ]
4216
+ },
4205
4217
  {
4206
4218
  "name": "startTabMirroring",
4207
4219
  "description": "Starts mirroring the tab to the sink.",
@@ -10739,6 +10751,8 @@
10739
10751
  "PreflightInvalidAllowCredentials",
10740
10752
  "PreflightMissingAllowExternal",
10741
10753
  "PreflightInvalidAllowExternal",
10754
+ "PreflightMissingAllowPrivateNetwork",
10755
+ "PreflightInvalidAllowPrivateNetwork",
10742
10756
  "InvalidAllowMethodsPreflightResponse",
10743
10757
  "InvalidAllowHeadersPreflightResponse",
10744
10758
  "MethodDisallowedByPreflightResponse",
@@ -15627,6 +15641,7 @@
15627
15641
  "ContentWebUSB",
15628
15642
  "ContentMediaSession",
15629
15643
  "ContentMediaSessionService",
15644
+ "ContentScreenReader",
15630
15645
  "EmbedderPopupBlockerTabHelper",
15631
15646
  "EmbedderSafeBrowsingTriggeredPopupBlocker",
15632
15647
  "EmbedderSafeBrowsingThreatDetails",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.944179",
3
+ "version": "0.0.947303",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -703,6 +703,8 @@ experimental domain Audits
703
703
  AttributionUntrustworthyOrigin
704
704
  AttributionTriggerDataTooLarge
705
705
  AttributionEventSourceTriggerDataTooLarge
706
+ InvalidAttributionSourceExpiry
707
+ InvalidAttributionSourcePriority
706
708
 
707
709
  # Details for issues around "Attribution Reporting API" usage.
708
710
  # Explainer: https://github.com/WICG/conversion-measurement-api
@@ -1949,6 +1951,11 @@ experimental domain Cast
1949
1951
  parameters
1950
1952
  string sinkName
1951
1953
 
1954
+ # Starts mirroring the desktop to the sink.
1955
+ command startDesktopMirroring
1956
+ parameters
1957
+ string sinkName
1958
+
1952
1959
  # Starts mirroring the tab to the sink.
1953
1960
  command startTabMirroring
1954
1961
  parameters
@@ -4908,8 +4915,14 @@ domain Network
4908
4915
  PreflightInvalidAllowOriginValue
4909
4916
  PreflightAllowOriginMismatch
4910
4917
  PreflightInvalidAllowCredentials
4918
+ # TODO(https://crbug.com/1263483): Remove this once frontend code does
4919
+ # not reference it anymore.
4911
4920
  PreflightMissingAllowExternal
4921
+ # TODO(https://crbug.com/1263483): Remove this once frontend code does
4922
+ # not reference it anymore.
4912
4923
  PreflightInvalidAllowExternal
4924
+ PreflightMissingAllowPrivateNetwork
4925
+ PreflightInvalidAllowPrivateNetwork
4913
4926
  InvalidAllowMethodsPreflightResponse
4914
4927
  InvalidAllowHeadersPreflightResponse
4915
4928
  MethodDisallowedByPreflightResponse
@@ -8029,6 +8042,7 @@ domain Page
8029
8042
  ContentWebUSB
8030
8043
  ContentMediaSession
8031
8044
  ContentMediaSessionService
8045
+ ContentScreenReader
8032
8046
 
8033
8047
  # See components/back_forward_cache/back_forward_cache_disable.h for explanations.
8034
8048
  EmbedderPopupBlockerTabHelper
@@ -1790,6 +1790,13 @@ export namespace ProtocolMapping {
1790
1790
  paramsType: [Protocol.Cast.SetSinkToUseRequest];
1791
1791
  returnType: void;
1792
1792
  };
1793
+ /**
1794
+ * Starts mirroring the desktop to the sink.
1795
+ */
1796
+ 'Cast.startDesktopMirroring': {
1797
+ paramsType: [Protocol.Cast.StartDesktopMirroringRequest];
1798
+ returnType: void;
1799
+ };
1793
1800
  /**
1794
1801
  * Starts mirroring the tab to the sink.
1795
1802
  */
@@ -1114,6 +1114,11 @@ export namespace ProtocolProxyApi {
1114
1114
  */
1115
1115
  setSinkToUse(params: Protocol.Cast.SetSinkToUseRequest): Promise<void>;
1116
1116
 
1117
+ /**
1118
+ * Starts mirroring the desktop to the sink.
1119
+ */
1120
+ startDesktopMirroring(params: Protocol.Cast.StartDesktopMirroringRequest): Promise<void>;
1121
+
1117
1122
  /**
1118
1123
  * Starts mirroring the tab to the sink.
1119
1124
  */
@@ -3261,7 +3261,7 @@ export namespace Protocol {
3261
3261
  clientSecurityState?: Network.ClientSecurityState;
3262
3262
  }
3263
3263
 
3264
- export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'InvalidAttributionSourceEventId' | 'InvalidAttributionData' | 'AttributionSourceUntrustworthyOrigin' | 'AttributionUntrustworthyOrigin' | 'AttributionTriggerDataTooLarge' | 'AttributionEventSourceTriggerDataTooLarge');
3264
+ export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'InvalidAttributionSourceEventId' | 'InvalidAttributionData' | 'AttributionSourceUntrustworthyOrigin' | 'AttributionUntrustworthyOrigin' | 'AttributionTriggerDataTooLarge' | 'AttributionEventSourceTriggerDataTooLarge' | 'InvalidAttributionSourceExpiry' | 'InvalidAttributionSourcePriority');
3265
3265
 
3266
3266
  /**
3267
3267
  * Details for issues around "Attribution Reporting API" usage.
@@ -4994,6 +4994,10 @@ export namespace Protocol {
4994
4994
  sinkName: string;
4995
4995
  }
4996
4996
 
4997
+ export interface StartDesktopMirroringRequest {
4998
+ sinkName: string;
4999
+ }
5000
+
4997
5001
  export interface StartTabMirroringRequest {
4998
5002
  sinkName: string;
4999
5003
  }
@@ -9242,7 +9246,7 @@ export namespace Protocol {
9242
9246
  /**
9243
9247
  * The reason why request was blocked.
9244
9248
  */
9245
- export type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork' | 'InvalidPrivateNetworkAccess' | 'UnexpectedPrivateNetworkAccess' | 'NoCorsRedirectModeNotFollow');
9249
+ export type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'PreflightMissingAllowPrivateNetwork' | 'PreflightInvalidAllowPrivateNetwork' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork' | 'InvalidPrivateNetworkAccess' | 'UnexpectedPrivateNetworkAccess' | 'NoCorsRedirectModeNotFollow');
9246
9250
 
9247
9251
  export interface CorsErrorStatus {
9248
9252
  corsError: CorsError;
@@ -12353,7 +12357,7 @@ export namespace Protocol {
12353
12357
  /**
12354
12358
  * List of not restored reasons for back-forward cache.
12355
12359
  */
12356
- export type BackForwardCacheNotRestoredReason = ('NotMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'GrantedMediaStreamAccess' | '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' | 'OptInUnloadHeaderNotPresent' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | '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' | 'ContentMediaSession' | 'ContentMediaSessionService' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
12360
+ export type BackForwardCacheNotRestoredReason = ('NotMainFrame' | 'BackForwardCacheDisabled' | 'RelatedActiveContentsExist' | 'HTTPStatusNotOK' | 'SchemeNotHTTPOrHTTPS' | 'Loading' | 'WasGrantedMediaAccess' | 'DisableForRenderFrameHostCalled' | 'DomainNotAllowed' | 'HTTPMethodNotGET' | 'SubframeIsNavigating' | 'Timeout' | 'CacheLimit' | 'JavaScriptExecution' | 'RendererProcessKilled' | 'RendererProcessCrashed' | 'GrantedMediaStreamAccess' | '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' | 'OptInUnloadHeaderNotPresent' | 'UnloadHandlerExistsInMainFrame' | 'UnloadHandlerExistsInSubFrame' | 'ServiceWorkerUnregistration' | 'CacheControlNoStore' | 'CacheControlNoStoreCookieModified' | 'CacheControlNoStoreHTTPOnlyCookieModified' | 'NoResponseHead' | 'Unknown' | 'ActivationNavigationsDisallowedForBug1234857' | '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' | 'ContentMediaSession' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
12357
12361
 
12358
12362
  /**
12359
12363
  * Types of not restored reasons for back-forward cache.