devtools-protocol 0.0.1507524 → 0.0.1509355

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.
@@ -3506,7 +3506,7 @@
3506
3506
  "commands": [
3507
3507
  {
3508
3508
  "name": "setPermission",
3509
- "description": "Set permission settings for given origin.",
3509
+ "description": "Set permission settings for given requesting and embedding origins.",
3510
3510
  "experimental": true,
3511
3511
  "parameters": [
3512
3512
  {
@@ -3521,7 +3521,13 @@
3521
3521
  },
3522
3522
  {
3523
3523
  "name": "origin",
3524
- "description": "Origin the permission applies to, all origins if not specified.",
3524
+ "description": "Requesting origin the permission applies to, all origins if not specified.",
3525
+ "optional": true,
3526
+ "type": "string"
3527
+ },
3528
+ {
3529
+ "name": "embeddingOrigin",
3530
+ "description": "Embedding origin the permission applies to. It is ignored unless the requesting origin is\npresent and valid. If the requesting origin is provided but the embedding origin isn't, the\nrequesting origin is used as the embedding origin.",
3525
3531
  "optional": true,
3526
3532
  "type": "string"
3527
3533
  },
@@ -21723,9 +21729,9 @@
21723
21729
  "IndexedDBEvent",
21724
21730
  "Dummy",
21725
21731
  "JsNetworkRequestReceivedCacheControlNoStoreResource",
21726
- "WebRTCSticky",
21727
- "WebTransportSticky",
21728
- "WebSocketSticky",
21732
+ "WebRTCUsedWithCCNS",
21733
+ "WebTransportUsedWithCCNS",
21734
+ "WebSocketUsedWithCCNS",
21729
21735
  "SmartCard",
21730
21736
  "LiveMediaStreamTrack",
21731
21737
  "UnloadHandler",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1507524",
3
+ "version": "0.0.1509355",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -103,15 +103,19 @@ domain Browser
103
103
  closeTabSearch
104
104
  openGlic
105
105
 
106
- # Set permission settings for given origin.
106
+ # Set permission settings for given requesting and embedding origins.
107
107
  experimental command setPermission
108
108
  parameters
109
109
  # Descriptor of permission to override.
110
110
  PermissionDescriptor permission
111
111
  # Setting of the permission.
112
112
  PermissionSetting setting
113
- # Origin the permission applies to, all origins if not specified.
113
+ # Requesting origin the permission applies to, all origins if not specified.
114
114
  optional string origin
115
+ # Embedding origin the permission applies to. It is ignored unless the requesting origin is
116
+ # present and valid. If the requesting origin is provided but the embedding origin isn't, the
117
+ # requesting origin is used as the embedding origin.
118
+ optional string embeddingOrigin
115
119
  # Context to override. When omitted, default browser context is used.
116
120
  optional BrowserContextID browserContextId
117
121
 
@@ -1600,9 +1600,9 @@ domain Page
1600
1600
  IndexedDBEvent
1601
1601
  Dummy
1602
1602
  JsNetworkRequestReceivedCacheControlNoStoreResource
1603
- WebRTCSticky
1604
- WebTransportSticky
1605
- WebSocketSticky
1603
+ WebRTCUsedWithCCNS
1604
+ WebTransportUsedWithCCNS
1605
+ WebSocketUsedWithCCNS
1606
1606
  SmartCard
1607
1607
  LiveMediaStreamTrack
1608
1608
  UnloadHandler
@@ -1919,7 +1919,7 @@ export namespace ProtocolMapping {
1919
1919
  returnType: void;
1920
1920
  };
1921
1921
  /**
1922
- * Set permission settings for given origin.
1922
+ * Set permission settings for given requesting and embedding origins.
1923
1923
  * @experimental
1924
1924
  */
1925
1925
  'Browser.setPermission': {
@@ -1031,7 +1031,7 @@ export namespace ProtocolProxyApi {
1031
1031
 
1032
1032
  export interface BrowserApi {
1033
1033
  /**
1034
- * Set permission settings for given origin.
1034
+ * Set permission settings for given requesting and embedding origins.
1035
1035
  * @experimental
1036
1036
  */
1037
1037
  setPermission(params: Protocol.Browser.SetPermissionRequest): Promise<void>;
@@ -1101,7 +1101,7 @@ export namespace ProtocolTestsProxyApi {
1101
1101
 
1102
1102
  export interface BrowserApi {
1103
1103
  /**
1104
- * Set permission settings for given origin.
1104
+ * Set permission settings for given requesting and embedding origins.
1105
1105
  * @experimental
1106
1106
  */
1107
1107
  setPermission(params: Protocol.Browser.SetPermissionRequest): Promise<{id: number, result: void, sessionId: string}>;
@@ -4606,9 +4606,15 @@ export namespace Protocol {
4606
4606
  */
4607
4607
  setting: PermissionSetting;
4608
4608
  /**
4609
- * Origin the permission applies to, all origins if not specified.
4609
+ * Requesting origin the permission applies to, all origins if not specified.
4610
4610
  */
4611
4611
  origin?: string;
4612
+ /**
4613
+ * Embedding origin the permission applies to. It is ignored unless the requesting origin is
4614
+ * present and valid. If the requesting origin is provided but the embedding origin isn't, the
4615
+ * requesting origin is used as the embedding origin.
4616
+ */
4617
+ embeddingOrigin?: string;
4612
4618
  /**
4613
4619
  * Context to override. When omitted, default browser context is used.
4614
4620
  */
@@ -16429,7 +16435,7 @@ export namespace Protocol {
16429
16435
  * List of not restored reasons for back-forward cache.
16430
16436
  * @experimental
16431
16437
  */
16432
- 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' | 'SharedWorkerMessage' | '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');
16438
+ 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' | 'SharedWorkerMessage' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCUsedWithCCNS' | 'WebTransportUsedWithCCNS' | 'WebSocketUsedWithCCNS' | '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');
16433
16439
 
16434
16440
  /**
16435
16441
  * Types of not restored reasons for back-forward cache.