devtools-protocol 0.0.1617982 → 0.0.1619965

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.
@@ -11939,7 +11939,7 @@
11939
11939
  "commands": [
11940
11940
  {
11941
11941
  "name": "triggerAction",
11942
- "description": "Runs an extension default action.\nAvailable if the client is connected using the --remote-debugging-pipe\nflag and the --enable-unsafe-extension-debugging flag is set.",
11942
+ "description": "Runs an extension default action.",
11943
11943
  "parameters": [
11944
11944
  {
11945
11945
  "name": "id",
@@ -11955,7 +11955,7 @@
11955
11955
  },
11956
11956
  {
11957
11957
  "name": "loadUnpacked",
11958
- "description": "Installs an unpacked extension from the filesystem similar to\n--load-extension CLI flags. Returns extension ID once the extension\nhas been installed. Available if the client is connected using the\n--remote-debugging-pipe flag and the --enable-unsafe-extension-debugging\nflag is set.",
11958
+ "description": "Installs an unpacked extension from the filesystem similar to\n--load-extension CLI flags. Returns extension ID once the extension\nhas been installed.",
11959
11959
  "parameters": [
11960
11960
  {
11961
11961
  "name": "path",
@@ -11979,7 +11979,7 @@
11979
11979
  },
11980
11980
  {
11981
11981
  "name": "getExtensions",
11982
- "description": "Gets a list of all unpacked extensions.\nAvailable if the client is connected using the --remote-debugging-pipe flag\nand the --enable-unsafe-extension-debugging flag is set.",
11982
+ "description": "Gets a list of all unpacked extensions.",
11983
11983
  "returns": [
11984
11984
  {
11985
11985
  "name": "extensions",
@@ -11992,7 +11992,7 @@
11992
11992
  },
11993
11993
  {
11994
11994
  "name": "uninstall",
11995
- "description": "Uninstalls an unpacked extension (others not supported) from the profile.\nAvailable if the client is connected using the --remote-debugging-pipe flag\nand the --enable-unsafe-extension-debugging.",
11995
+ "description": "Uninstalls an unpacked extension (others not supported) from the profile.",
11996
11996
  "parameters": [
11997
11997
  {
11998
11998
  "name": "id",
@@ -23067,6 +23067,7 @@
23067
23067
  "EmbedderExtensionMessaging",
23068
23068
  "EmbedderExtensionMessagingForOpenPort",
23069
23069
  "EmbedderExtensionSentMessageToCachedFrame",
23070
+ "EmbedderExtensionFrame",
23070
23071
  "RequestedByWebViewClient",
23071
23072
  "PostMessageByWebViewClient",
23072
23073
  "CacheControlNoStoreDeviceBoundSessionTerminated",
@@ -30700,6 +30701,12 @@
30700
30701
  "optional": true,
30701
30702
  "type": "boolean"
30702
30703
  },
30704
+ {
30705
+ "name": "untrustedContent",
30706
+ "description": "A hint indicating that the tool output may contain untrusted content, ex: UGC, 3rd party data.",
30707
+ "optional": true,
30708
+ "type": "boolean"
30709
+ },
30703
30710
  {
30704
30711
  "name": "autosubmit",
30705
30712
  "description": "If the declarative tool was declared with the autosubmit attribute.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1617982",
3
+ "version": "0.0.1619965",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -15,8 +15,6 @@ experimental domain Extensions
15
15
  managed
16
16
 
17
17
  # Runs an extension default action.
18
- # Available if the client is connected using the --remote-debugging-pipe
19
- # flag and the --enable-unsafe-extension-debugging flag is set.
20
18
  command triggerAction
21
19
  parameters
22
20
  # Extension id.
@@ -26,9 +24,7 @@ experimental domain Extensions
26
24
 
27
25
  # Installs an unpacked extension from the filesystem similar to
28
26
  # --load-extension CLI flags. Returns extension ID once the extension
29
- # has been installed. Available if the client is connected using the
30
- # --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging
31
- # flag is set.
27
+ # has been installed.
32
28
  command loadUnpacked
33
29
  parameters
34
30
  # Absolute file path.
@@ -54,15 +50,11 @@ experimental domain Extensions
54
50
  boolean enabled
55
51
 
56
52
  # Gets a list of all unpacked extensions.
57
- # Available if the client is connected using the --remote-debugging-pipe flag
58
- # and the --enable-unsafe-extension-debugging flag is set.
59
53
  command getExtensions
60
54
  returns
61
55
  array of ExtensionInfo extensions
62
56
 
63
57
  # Uninstalls an unpacked extension (others not supported) from the profile.
64
- # Available if the client is connected using the --remote-debugging-pipe flag
65
- # and the --enable-unsafe-extension-debugging.
66
58
  command uninstall
67
59
  parameters
68
60
  # Extension id.
@@ -1618,6 +1618,7 @@ domain Page
1618
1618
  EmbedderExtensionMessaging
1619
1619
  EmbedderExtensionMessagingForOpenPort
1620
1620
  EmbedderExtensionSentMessageToCachedFrame
1621
+ EmbedderExtensionFrame
1621
1622
  RequestedByWebViewClient
1622
1623
  PostMessageByWebViewClient
1623
1624
  CacheControlNoStoreDeviceBoundSessionTerminated
@@ -15,6 +15,8 @@ experimental domain WebMCP
15
15
  properties
16
16
  # A hint indicating that the tool does not modify any state.
17
17
  optional boolean readOnly
18
+ # A hint indicating that the tool output may contain untrusted content, ex: UGC, 3rd party data.
19
+ optional boolean untrustedContent
18
20
  # If the declarative tool was declared with the autosubmit attribute.
19
21
  optional boolean autosubmit
20
22
 
@@ -3647,8 +3647,6 @@ export namespace ProtocolMapping {
3647
3647
  };
3648
3648
  /**
3649
3649
  * Runs an extension default action.
3650
- * Available if the client is connected using the --remote-debugging-pipe
3651
- * flag and the --enable-unsafe-extension-debugging flag is set.
3652
3650
  */
3653
3651
  'Extensions.triggerAction': {
3654
3652
  paramsType: [Protocol.Extensions.TriggerActionRequest];
@@ -3657,9 +3655,7 @@ export namespace ProtocolMapping {
3657
3655
  /**
3658
3656
  * Installs an unpacked extension from the filesystem similar to
3659
3657
  * --load-extension CLI flags. Returns extension ID once the extension
3660
- * has been installed. Available if the client is connected using the
3661
- * --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging
3662
- * flag is set.
3658
+ * has been installed.
3663
3659
  */
3664
3660
  'Extensions.loadUnpacked': {
3665
3661
  paramsType: [Protocol.Extensions.LoadUnpackedRequest];
@@ -3667,8 +3663,6 @@ export namespace ProtocolMapping {
3667
3663
  };
3668
3664
  /**
3669
3665
  * Gets a list of all unpacked extensions.
3670
- * Available if the client is connected using the --remote-debugging-pipe flag
3671
- * and the --enable-unsafe-extension-debugging flag is set.
3672
3666
  */
3673
3667
  'Extensions.getExtensions': {
3674
3668
  paramsType: [];
@@ -3676,8 +3670,6 @@ export namespace ProtocolMapping {
3676
3670
  };
3677
3671
  /**
3678
3672
  * Uninstalls an unpacked extension (others not supported) from the profile.
3679
- * Available if the client is connected using the --remote-debugging-pipe flag
3680
- * and the --enable-unsafe-extension-debugging.
3681
3673
  */
3682
3674
  'Extensions.uninstall': {
3683
3675
  paramsType: [Protocol.Extensions.UninstallRequest];
@@ -2454,31 +2454,23 @@ export namespace ProtocolProxyApi {
2454
2454
  export interface ExtensionsApi {
2455
2455
  /**
2456
2456
  * Runs an extension default action.
2457
- * Available if the client is connected using the --remote-debugging-pipe
2458
- * flag and the --enable-unsafe-extension-debugging flag is set.
2459
2457
  */
2460
2458
  triggerAction(params: Protocol.Extensions.TriggerActionRequest): Promise<void>;
2461
2459
 
2462
2460
  /**
2463
2461
  * Installs an unpacked extension from the filesystem similar to
2464
2462
  * --load-extension CLI flags. Returns extension ID once the extension
2465
- * has been installed. Available if the client is connected using the
2466
- * --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging
2467
- * flag is set.
2463
+ * has been installed.
2468
2464
  */
2469
2465
  loadUnpacked(params: Protocol.Extensions.LoadUnpackedRequest): Promise<Protocol.Extensions.LoadUnpackedResponse>;
2470
2466
 
2471
2467
  /**
2472
2468
  * Gets a list of all unpacked extensions.
2473
- * Available if the client is connected using the --remote-debugging-pipe flag
2474
- * and the --enable-unsafe-extension-debugging flag is set.
2475
2469
  */
2476
2470
  getExtensions(): Promise<Protocol.Extensions.GetExtensionsResponse>;
2477
2471
 
2478
2472
  /**
2479
2473
  * Uninstalls an unpacked extension (others not supported) from the profile.
2480
- * Available if the client is connected using the --remote-debugging-pipe flag
2481
- * and the --enable-unsafe-extension-debugging.
2482
2474
  */
2483
2475
  uninstall(params: Protocol.Extensions.UninstallRequest): Promise<void>;
2484
2476
 
@@ -2596,31 +2596,23 @@ export namespace ProtocolTestsProxyApi {
2596
2596
  export interface ExtensionsApi {
2597
2597
  /**
2598
2598
  * Runs an extension default action.
2599
- * Available if the client is connected using the --remote-debugging-pipe
2600
- * flag and the --enable-unsafe-extension-debugging flag is set.
2601
2599
  */
2602
2600
  triggerAction(params: Protocol.Extensions.TriggerActionRequest): Promise<{id: number, result: void, sessionId: string}>;
2603
2601
 
2604
2602
  /**
2605
2603
  * Installs an unpacked extension from the filesystem similar to
2606
2604
  * --load-extension CLI flags. Returns extension ID once the extension
2607
- * has been installed. Available if the client is connected using the
2608
- * --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging
2609
- * flag is set.
2605
+ * has been installed.
2610
2606
  */
2611
2607
  loadUnpacked(params: Protocol.Extensions.LoadUnpackedRequest): Promise<{id: number, result: Protocol.Extensions.LoadUnpackedResponse, sessionId: string}>;
2612
2608
 
2613
2609
  /**
2614
2610
  * Gets a list of all unpacked extensions.
2615
- * Available if the client is connected using the --remote-debugging-pipe flag
2616
- * and the --enable-unsafe-extension-debugging flag is set.
2617
2611
  */
2618
2612
  getExtensions(): Promise<{id: number, result: Protocol.Extensions.GetExtensionsResponse, sessionId: string}>;
2619
2613
 
2620
2614
  /**
2621
2615
  * Uninstalls an unpacked extension (others not supported) from the profile.
2622
- * Available if the client is connected using the --remote-debugging-pipe flag
2623
- * and the --enable-unsafe-extension-debugging.
2624
2616
  */
2625
2617
  uninstall(params: Protocol.Extensions.UninstallRequest): Promise<{id: number, result: void, sessionId: string}>;
2626
2618
 
@@ -17298,7 +17298,7 @@ export namespace Protocol {
17298
17298
  * List of not restored reasons for back-forward cache.
17299
17299
  * @experimental
17300
17300
  */
17301
- 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' | 'ForwardCacheDisabled' | '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' | 'SharedWorkerWithNoActiveClient' | 'WebLocks' | 'WebLocksContention' | 'WebHID' | 'WebBluetooth' | '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');
17301
+ 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' | 'ForwardCacheDisabled' | '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' | 'SharedWorkerWithNoActiveClient' | 'WebLocks' | 'WebLocksContention' | 'WebHID' | 'WebBluetooth' | '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' | 'EmbedderExtensionFrame' | 'RequestedByWebViewClient' | 'PostMessageByWebViewClient' | 'CacheControlNoStoreDeviceBoundSessionTerminated' | 'CacheLimitPrunedOnModerateMemoryPressure' | 'CacheLimitPrunedOnCriticalMemoryPressure');
17302
17302
 
17303
17303
  /**
17304
17304
  * Types of not restored reasons for back-forward cache.
@@ -22038,6 +22038,10 @@ export namespace Protocol {
22038
22038
  * A hint indicating that the tool does not modify any state.
22039
22039
  */
22040
22040
  readOnly?: boolean;
22041
+ /**
22042
+ * A hint indicating that the tool output may contain untrusted content, ex: UGC, 3rd party data.
22043
+ */
22044
+ untrustedContent?: boolean;
22041
22045
  /**
22042
22046
  * If the declarative tool was declared with the autosubmit attribute.
22043
22047
  */