devtools-protocol 0.0.931360 → 0.0.936026
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.
- package/json/browser_protocol.json +13 -1
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +8 -2
- package/types/protocol.d.ts +12 -1
|
@@ -12686,6 +12686,12 @@
|
|
|
12686
12686
|
"description": "Request initiator.",
|
|
12687
12687
|
"$ref": "Initiator"
|
|
12688
12688
|
},
|
|
12689
|
+
{
|
|
12690
|
+
"name": "redirectHasExtraInfo",
|
|
12691
|
+
"description": "In the case that redirectResponse is populated, this flag indicates whether\nrequestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted\nfor the request which was just redirected.",
|
|
12692
|
+
"experimental": true,
|
|
12693
|
+
"type": "boolean"
|
|
12694
|
+
},
|
|
12689
12695
|
{
|
|
12690
12696
|
"name": "redirectResponse",
|
|
12691
12697
|
"description": "Redirect response data.",
|
|
@@ -12780,6 +12786,12 @@
|
|
|
12780
12786
|
"description": "Response data.",
|
|
12781
12787
|
"$ref": "Response"
|
|
12782
12788
|
},
|
|
12789
|
+
{
|
|
12790
|
+
"name": "hasExtraInfo",
|
|
12791
|
+
"description": "Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be\nor were emitted for this request.",
|
|
12792
|
+
"experimental": true,
|
|
12793
|
+
"type": "boolean"
|
|
12794
|
+
},
|
|
12783
12795
|
{
|
|
12784
12796
|
"name": "frameId",
|
|
12785
12797
|
"description": "Frame identifier.",
|
|
@@ -15388,7 +15400,6 @@
|
|
|
15388
15400
|
"ContentWebUSB",
|
|
15389
15401
|
"ContentMediaSession",
|
|
15390
15402
|
"ContentMediaSessionService",
|
|
15391
|
-
"ContentMediaPlay",
|
|
15392
15403
|
"EmbedderPopupBlockerTabHelper",
|
|
15393
15404
|
"EmbedderSafeBrowsingTriggeredPopupBlocker",
|
|
15394
15405
|
"EmbedderSafeBrowsingThreatDetails",
|
|
@@ -18890,6 +18901,7 @@
|
|
|
18890
18901
|
{
|
|
18891
18902
|
"name": "browserContextId",
|
|
18892
18903
|
"description": "The browser context to create the page in.",
|
|
18904
|
+
"experimental": true,
|
|
18893
18905
|
"optional": true,
|
|
18894
18906
|
"$ref": "Browser.BrowserContextID"
|
|
18895
18907
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -5729,6 +5729,10 @@ domain Network
|
|
|
5729
5729
|
TimeSinceEpoch wallTime
|
|
5730
5730
|
# Request initiator.
|
|
5731
5731
|
Initiator initiator
|
|
5732
|
+
# In the case that redirectResponse is populated, this flag indicates whether
|
|
5733
|
+
# requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted
|
|
5734
|
+
# for the request which was just redirected.
|
|
5735
|
+
experimental boolean redirectHasExtraInfo
|
|
5732
5736
|
# Redirect response data.
|
|
5733
5737
|
optional Response redirectResponse
|
|
5734
5738
|
# Type of this resource.
|
|
@@ -5769,6 +5773,9 @@ domain Network
|
|
|
5769
5773
|
ResourceType type
|
|
5770
5774
|
# Response data.
|
|
5771
5775
|
Response response
|
|
5776
|
+
# Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be
|
|
5777
|
+
# or were emitted for this request.
|
|
5778
|
+
experimental boolean hasExtraInfo
|
|
5772
5779
|
# Frame identifier.
|
|
5773
5780
|
optional Page.FrameId frameId
|
|
5774
5781
|
|
|
@@ -7907,7 +7914,6 @@ domain Page
|
|
|
7907
7914
|
ContentWebUSB
|
|
7908
7915
|
ContentMediaSession
|
|
7909
7916
|
ContentMediaSessionService
|
|
7910
|
-
ContentMediaPlay
|
|
7911
7917
|
|
|
7912
7918
|
# See components/back_forward_cache/back_forward_cache_disable.h for explanations.
|
|
7913
7919
|
EmbedderPopupBlockerTabHelper
|
|
@@ -8829,7 +8835,7 @@ domain Target
|
|
|
8829
8835
|
# Frame height in DIP (headless chrome only).
|
|
8830
8836
|
optional integer height
|
|
8831
8837
|
# The browser context to create the page in.
|
|
8832
|
-
optional Browser.BrowserContextID browserContextId
|
|
8838
|
+
experimental optional Browser.BrowserContextID browserContextId
|
|
8833
8839
|
# Whether BeginFrames for this target will be controlled via DevTools (headless chrome only,
|
|
8834
8840
|
# not supported on MacOS yet, false by default).
|
|
8835
8841
|
experimental optional boolean enableBeginFrameControl
|
package/types/protocol.d.ts
CHANGED
|
@@ -10506,6 +10506,12 @@ export namespace Protocol {
|
|
|
10506
10506
|
* Request initiator.
|
|
10507
10507
|
*/
|
|
10508
10508
|
initiator: Initiator;
|
|
10509
|
+
/**
|
|
10510
|
+
* In the case that redirectResponse is populated, this flag indicates whether
|
|
10511
|
+
* requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted
|
|
10512
|
+
* for the request which was just redirected.
|
|
10513
|
+
*/
|
|
10514
|
+
redirectHasExtraInfo: boolean;
|
|
10509
10515
|
/**
|
|
10510
10516
|
* Redirect response data.
|
|
10511
10517
|
*/
|
|
@@ -10580,6 +10586,11 @@ export namespace Protocol {
|
|
|
10580
10586
|
* Response data.
|
|
10581
10587
|
*/
|
|
10582
10588
|
response: Response;
|
|
10589
|
+
/**
|
|
10590
|
+
* Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be
|
|
10591
|
+
* or were emitted for this request.
|
|
10592
|
+
*/
|
|
10593
|
+
hasExtraInfo: boolean;
|
|
10583
10594
|
/**
|
|
10584
10595
|
* Frame identifier.
|
|
10585
10596
|
*/
|
|
@@ -12196,7 +12207,7 @@ export namespace Protocol {
|
|
|
12196
12207
|
/**
|
|
12197
12208
|
* List of not restored reasons for back-forward cache.
|
|
12198
12209
|
*/
|
|
12199
|
-
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' | '
|
|
12210
|
+
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');
|
|
12200
12211
|
|
|
12201
12212
|
/**
|
|
12202
12213
|
* Types of not restored reasons for back-forward cache.
|