devtools-protocol 0.0.1233758 → 0.0.1235375

Sign up to get free protection for your applications and to get access to all the features.
@@ -14120,6 +14120,25 @@
14120
14120
  }
14121
14121
  ]
14122
14122
  },
14123
+ {
14124
+ "name": "streamResourceContent",
14125
+ "description": "Enables streaming of the response for the given requestId.\nIf enabled, the dataReceived event contains the data that was received during streaming.",
14126
+ "experimental": true,
14127
+ "parameters": [
14128
+ {
14129
+ "name": "requestId",
14130
+ "description": "Identifier of the request to stream.",
14131
+ "$ref": "RequestId"
14132
+ }
14133
+ ],
14134
+ "returns": [
14135
+ {
14136
+ "name": "bufferedData",
14137
+ "description": "Data that has been buffered until streaming is enabled. (Encoded as a base64 string when passed over JSON)",
14138
+ "type": "string"
14139
+ }
14140
+ ]
14141
+ },
14123
14142
  {
14124
14143
  "name": "getSecurityIsolationStatus",
14125
14144
  "description": "Returns information about the COEP/COOP isolation status.",
@@ -14205,6 +14224,13 @@
14205
14224
  "name": "encodedDataLength",
14206
14225
  "description": "Actual bytes received (might be less than dataLength for compressed encodings).",
14207
14226
  "type": "integer"
14227
+ },
14228
+ {
14229
+ "name": "data",
14230
+ "description": "Data that was received. (Encoded as a base64 string when passed over JSON)",
14231
+ "experimental": true,
14232
+ "optional": true,
14233
+ "type": "string"
14208
14234
  }
14209
14235
  ]
14210
14236
  },
@@ -17283,6 +17309,7 @@
17283
17309
  "WebRTCSticky",
17284
17310
  "WebTransportSticky",
17285
17311
  "WebSocketSticky",
17312
+ "SmartCard",
17286
17313
  "ContentSecurityHandler",
17287
17314
  "ContentWebAuthenticationAPI",
17288
17315
  "ContentFileChooser",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1233758",
3
+ "version": "0.0.1235375",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -6465,6 +6465,18 @@ domain Network
6465
6465
  integer dataLength
6466
6466
  # Actual bytes received (might be less than dataLength for compressed encodings).
6467
6467
  integer encodedDataLength
6468
+ # Data that was received.
6469
+ experimental optional binary data
6470
+
6471
+ # Enables streaming of the response for the given requestId.
6472
+ # If enabled, the dataReceived event contains the data that was received during streaming.
6473
+ experimental command streamResourceContent
6474
+ parameters
6475
+ # Identifier of the request to stream.
6476
+ RequestId requestId
6477
+ returns
6478
+ # Data that has been buffered until streaming is enabled.
6479
+ binary bufferedData
6468
6480
 
6469
6481
  # Fired when EventSource message is received.
6470
6482
  event eventSourceMessageReceived
@@ -8879,6 +8891,7 @@ domain Page
8879
8891
  WebRTCSticky
8880
8892
  WebTransportSticky
8881
8893
  WebSocketSticky
8894
+ SmartCard
8882
8895
  # Disabled for RenderFrameHost reasons
8883
8896
  # See content/browser/renderer_host/back_forward_cache_disable.h for explanations.
8884
8897
  ContentSecurityHandler
@@ -3352,6 +3352,14 @@ export namespace ProtocolMapping {
3352
3352
  paramsType: [Protocol.Network.SetUserAgentOverrideRequest];
3353
3353
  returnType: void;
3354
3354
  };
3355
+ /**
3356
+ * Enables streaming of the response for the given requestId.
3357
+ * If enabled, the dataReceived event contains the data that was received during streaming.
3358
+ */
3359
+ 'Network.streamResourceContent': {
3360
+ paramsType: [Protocol.Network.StreamResourceContentRequest];
3361
+ returnType: Protocol.Network.StreamResourceContentResponse;
3362
+ };
3355
3363
  /**
3356
3364
  * Returns information about the COEP/COOP isolation status.
3357
3365
  */
@@ -2399,6 +2399,12 @@ export namespace ProtocolProxyApi {
2399
2399
  */
2400
2400
  setUserAgentOverride(params: Protocol.Network.SetUserAgentOverrideRequest): Promise<void>;
2401
2401
 
2402
+ /**
2403
+ * Enables streaming of the response for the given requestId.
2404
+ * If enabled, the dataReceived event contains the data that was received during streaming.
2405
+ */
2406
+ streamResourceContent(params: Protocol.Network.StreamResourceContentRequest): Promise<Protocol.Network.StreamResourceContentResponse>;
2407
+
2402
2408
  /**
2403
2409
  * Returns information about the COEP/COOP isolation status.
2404
2410
  */
@@ -11395,6 +11395,20 @@ export namespace Protocol {
11395
11395
  userAgentMetadata?: Emulation.UserAgentMetadata;
11396
11396
  }
11397
11397
 
11398
+ export interface StreamResourceContentRequest {
11399
+ /**
11400
+ * Identifier of the request to stream.
11401
+ */
11402
+ requestId: RequestId;
11403
+ }
11404
+
11405
+ export interface StreamResourceContentResponse {
11406
+ /**
11407
+ * Data that has been buffered until streaming is enabled. (Encoded as a base64 string when passed over JSON)
11408
+ */
11409
+ bufferedData: string;
11410
+ }
11411
+
11398
11412
  export interface GetSecurityIsolationStatusRequest {
11399
11413
  /**
11400
11414
  * If no frameId is provided, the status of the target is provided.
@@ -11453,6 +11467,10 @@ export namespace Protocol {
11453
11467
  * Actual bytes received (might be less than dataLength for compressed encodings).
11454
11468
  */
11455
11469
  encodedDataLength: integer;
11470
+ /**
11471
+ * Data that was received. (Encoded as a base64 string when passed over JSON)
11472
+ */
11473
+ data?: string;
11456
11474
  }
11457
11475
 
11458
11476
  /**
@@ -13420,7 +13438,7 @@ export namespace Protocol {
13420
13438
  /**
13421
13439
  * List of not restored reasons for back-forward cache.
13422
13440
  */
13423
- 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' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCSticky' | 'WebTransportSticky' | 'WebSocketSticky' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
13441
+ 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' | 'WebSocket' | 'WebTransport' | 'WebRTC' | 'MainResourceHasCacheControlNoStore' | 'MainResourceHasCacheControlNoCache' | 'SubresourceHasCacheControlNoStore' | 'SubresourceHasCacheControlNoCache' | 'ContainsPlugins' | 'DocumentLoaded' | 'DedicatedWorkerOrWorklet' | 'OutstandingNetworkRequestOthers' | 'RequestedMIDIPermission' | 'RequestedAudioCapturePermission' | 'RequestedVideoCapturePermission' | 'RequestedBackForwardCacheBlockedSensors' | 'RequestedBackgroundWorkPermission' | 'BroadcastChannel' | 'WebXR' | 'SharedWorker' | 'WebLocks' | 'WebHID' | 'WebShare' | 'RequestedStorageAccessGrant' | 'WebNfc' | 'OutstandingNetworkRequestFetch' | 'OutstandingNetworkRequestXHR' | 'AppBanner' | 'Printing' | 'WebDatabase' | 'PictureInPicture' | 'Portal' | 'SpeechRecognizer' | 'IdleManager' | 'PaymentManager' | 'SpeechSynthesis' | 'KeyboardLock' | 'WebOTPService' | 'OutstandingNetworkRequestDirectSocket' | 'InjectedJavascript' | 'InjectedStyleSheet' | 'KeepaliveRequest' | 'IndexedDBEvent' | 'Dummy' | 'JsNetworkRequestReceivedCacheControlNoStoreResource' | 'WebRTCSticky' | 'WebTransportSticky' | 'WebSocketSticky' | 'SmartCard' | 'ContentSecurityHandler' | 'ContentWebAuthenticationAPI' | 'ContentFileChooser' | 'ContentSerial' | 'ContentFileSystemAccess' | 'ContentMediaDevicesDispatcherHost' | 'ContentWebBluetooth' | 'ContentWebUSB' | 'ContentMediaSessionService' | 'ContentScreenReader' | 'EmbedderPopupBlockerTabHelper' | 'EmbedderSafeBrowsingTriggeredPopupBlocker' | 'EmbedderSafeBrowsingThreatDetails' | 'EmbedderAppBannerManager' | 'EmbedderDomDistillerViewerSource' | 'EmbedderDomDistillerSelfDeletingRequestDelegate' | 'EmbedderOomInterventionTabHelper' | 'EmbedderOfflinePage' | 'EmbedderChromePasswordManagerClientBindCredentialManager' | 'EmbedderPermissionRequestManager' | 'EmbedderModalDialog' | 'EmbedderExtensions' | 'EmbedderExtensionMessaging' | 'EmbedderExtensionMessagingForOpenPort' | 'EmbedderExtensionSentMessageToCachedFrame');
13424
13442
 
13425
13443
  /**
13426
13444
  * Types of not restored reasons for back-forward cache.