devtools-protocol 0.0.943687 → 0.0.946693
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.
|
@@ -4202,6 +4202,16 @@
|
|
|
4202
4202
|
}
|
|
4203
4203
|
]
|
|
4204
4204
|
},
|
|
4205
|
+
{
|
|
4206
|
+
"name": "startDesktopMirroring",
|
|
4207
|
+
"description": "Starts mirroring the desktop to the sink.",
|
|
4208
|
+
"parameters": [
|
|
4209
|
+
{
|
|
4210
|
+
"name": "sinkName",
|
|
4211
|
+
"type": "string"
|
|
4212
|
+
}
|
|
4213
|
+
]
|
|
4214
|
+
},
|
|
4205
4215
|
{
|
|
4206
4216
|
"name": "startTabMirroring",
|
|
4207
4217
|
"description": "Starts mirroring the tab to the sink.",
|
|
@@ -10739,6 +10749,8 @@
|
|
|
10739
10749
|
"PreflightInvalidAllowCredentials",
|
|
10740
10750
|
"PreflightMissingAllowExternal",
|
|
10741
10751
|
"PreflightInvalidAllowExternal",
|
|
10752
|
+
"PreflightMissingAllowPrivateNetwork",
|
|
10753
|
+
"PreflightInvalidAllowPrivateNetwork",
|
|
10742
10754
|
"InvalidAllowMethodsPreflightResponse",
|
|
10743
10755
|
"InvalidAllowHeadersPreflightResponse",
|
|
10744
10756
|
"MethodDisallowedByPreflightResponse",
|
|
@@ -15627,6 +15639,7 @@
|
|
|
15627
15639
|
"ContentWebUSB",
|
|
15628
15640
|
"ContentMediaSession",
|
|
15629
15641
|
"ContentMediaSessionService",
|
|
15642
|
+
"ContentScreenReader",
|
|
15630
15643
|
"EmbedderPopupBlockerTabHelper",
|
|
15631
15644
|
"EmbedderSafeBrowsingTriggeredPopupBlocker",
|
|
15632
15645
|
"EmbedderSafeBrowsingThreatDetails",
|
|
@@ -19101,7 +19114,7 @@
|
|
|
19101
19114
|
},
|
|
19102
19115
|
{
|
|
19103
19116
|
"name": "originsWithUniversalNetworkAccess",
|
|
19104
|
-
"description": "An optional list of origins to grant unlimited cross-origin access to.",
|
|
19117
|
+
"description": "An optional list of origins to grant unlimited cross-origin access to.\nParts of the URL other than those constituting origin are ignored.",
|
|
19105
19118
|
"optional": true,
|
|
19106
19119
|
"type": "array",
|
|
19107
19120
|
"items": {
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -1949,6 +1949,11 @@ experimental domain Cast
|
|
|
1949
1949
|
parameters
|
|
1950
1950
|
string sinkName
|
|
1951
1951
|
|
|
1952
|
+
# Starts mirroring the desktop to the sink.
|
|
1953
|
+
command startDesktopMirroring
|
|
1954
|
+
parameters
|
|
1955
|
+
string sinkName
|
|
1956
|
+
|
|
1952
1957
|
# Starts mirroring the tab to the sink.
|
|
1953
1958
|
command startTabMirroring
|
|
1954
1959
|
parameters
|
|
@@ -4908,8 +4913,14 @@ domain Network
|
|
|
4908
4913
|
PreflightInvalidAllowOriginValue
|
|
4909
4914
|
PreflightAllowOriginMismatch
|
|
4910
4915
|
PreflightInvalidAllowCredentials
|
|
4916
|
+
# TODO(https://crbug.com/1263483): Remove this once frontend code does
|
|
4917
|
+
# not reference it anymore.
|
|
4911
4918
|
PreflightMissingAllowExternal
|
|
4919
|
+
# TODO(https://crbug.com/1263483): Remove this once frontend code does
|
|
4920
|
+
# not reference it anymore.
|
|
4912
4921
|
PreflightInvalidAllowExternal
|
|
4922
|
+
PreflightMissingAllowPrivateNetwork
|
|
4923
|
+
PreflightInvalidAllowPrivateNetwork
|
|
4913
4924
|
InvalidAllowMethodsPreflightResponse
|
|
4914
4925
|
InvalidAllowHeadersPreflightResponse
|
|
4915
4926
|
MethodDisallowedByPreflightResponse
|
|
@@ -8029,6 +8040,7 @@ domain Page
|
|
|
8029
8040
|
ContentWebUSB
|
|
8030
8041
|
ContentMediaSession
|
|
8031
8042
|
ContentMediaSessionService
|
|
8043
|
+
ContentScreenReader
|
|
8032
8044
|
|
|
8033
8045
|
# See components/back_forward_cache/back_forward_cache_disable.h for explanations.
|
|
8034
8046
|
EmbedderPopupBlockerTabHelper
|
|
@@ -8930,6 +8942,7 @@ domain Target
|
|
|
8930
8942
|
# Proxy bypass list, similar to the one passed to --proxy-bypass-list
|
|
8931
8943
|
optional string proxyBypassList
|
|
8932
8944
|
# An optional list of origins to grant unlimited cross-origin access to.
|
|
8945
|
+
# Parts of the URL other than those constituting origin are ignored.
|
|
8933
8946
|
optional array of string originsWithUniversalNetworkAccess
|
|
8934
8947
|
|
|
8935
8948
|
returns
|
|
@@ -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
|
*/
|
package/types/protocol.d.ts
CHANGED
|
@@ -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.
|
|
@@ -14535,6 +14539,7 @@ export namespace Protocol {
|
|
|
14535
14539
|
proxyBypassList?: string;
|
|
14536
14540
|
/**
|
|
14537
14541
|
* An optional list of origins to grant unlimited cross-origin access to.
|
|
14542
|
+
* Parts of the URL other than those constituting origin are ignored.
|
|
14538
14543
|
*/
|
|
14539
14544
|
originsWithUniversalNetworkAccess?: string[];
|
|
14540
14545
|
}
|