Network Domain
Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and responses, their headers, bodies, timing, etc.
Methods
- Network.clearBrowserCache
- Network.clearBrowserCookies
- Network.deleteCookies
- Network.disable
- Network.emulateNetworkConditions
- Network.enable
- Network.getCookies
- Network.getRequestPostData
- Network.getResponseBody
- Network.setBypassServiceWorker
- Network.setCacheDisabled
- Network.setCookie
- Network.setCookies
- Network.setExtraHTTPHeaders
- Network.setUserAgentOverride
- Network.canClearBrowserCache Deprecated
- Network.canClearBrowserCookies Deprecated
- Network.canEmulateNetworkConditions Deprecated
- Network.getAllCookies Deprecated
- Network.clearAcceptedEncodingsOverride Experimental
- Network.enableReportingApi Experimental
- Network.getCertificate Experimental
- Network.getIPProtectionProxyStatus Experimental
- Network.getResponseBodyForInterception Experimental
- Network.getSecurityIsolationStatus Experimental
- Network.loadNetworkResource Experimental
- Network.replayXHR Experimental
- Network.searchInResponseBody Experimental
- Network.setAcceptedEncodings Experimental
- Network.setAttachDebugStack Experimental
- Network.setBlockedURLs Experimental
- Network.setCookieControls Experimental
- Network.setIPProtectionProxyBypassEnabled Experimental
- Network.streamResourceContent Experimental
- Network.takeResponseBodyForInterceptionAsStream Experimental
- Network.continueInterceptedRequest ExperimentalDeprecated
- Network.setRequestInterception ExperimentalDeprecated
Events
- Network.dataReceived
- Network.eventSourceMessageReceived
- Network.loadingFailed
- Network.loadingFinished
- Network.requestServedFromCache
- Network.requestWillBeSent
- Network.responseReceived
- Network.webSocketClosed
- Network.webSocketCreated
- Network.webSocketFrameError
- Network.webSocketFrameReceived
- Network.webSocketFrameSent
- Network.webSocketHandshakeResponseReceived
- Network.webSocketWillSendHandshakeRequest
- Network.webTransportClosed
- Network.webTransportConnectionEstablished
- Network.webTransportCreated
- Network.directTCPSocketAborted Experimental
- Network.directTCPSocketChunkReceived Experimental
- Network.directTCPSocketChunkSent Experimental
- Network.directTCPSocketClosed Experimental
- Network.directTCPSocketCreated Experimental
- Network.directTCPSocketOpened Experimental
- Network.directUDPSocketAborted Experimental
- Network.directUDPSocketChunkReceived Experimental
- Network.directUDPSocketChunkSent Experimental
- Network.directUDPSocketClosed Experimental
- Network.directUDPSocketCreated Experimental
- Network.directUDPSocketOpened Experimental
- Network.policyUpdated Experimental
- Network.reportingApiEndpointsChangedForOrigin Experimental
- Network.reportingApiReportAdded Experimental
- Network.reportingApiReportUpdated Experimental
- Network.requestWillBeSentExtraInfo Experimental
- Network.resourceChangedPriority Experimental
- Network.responseReceivedEarlyHints Experimental
- Network.responseReceivedExtraInfo Experimental
- Network.signedExchangeReceived Experimental
- Network.subresourceWebBundleInnerResponseError Experimental
- Network.subresourceWebBundleInnerResponseParsed Experimental
- Network.subresourceWebBundleMetadataError Experimental
- Network.subresourceWebBundleMetadataReceived Experimental
- Network.trustTokenOperationDone Experimental
- Network.requestIntercepted ExperimentalDeprecated
Types
- Network.BlockedReason
- Network.CachedResource
- Network.CertificateTransparencyCompliance
- Network.ConnectionType
- Network.Cookie
- Network.CookieParam
- Network.CookieSameSite
- Network.CorsError
- Network.CorsErrorStatus
- Network.ErrorReason
- Network.Headers
- Network.Initiator
- Network.InterceptionId
- Network.LoaderId
- Network.MonotonicTime
- Network.PostDataEntry
- Network.Request
- Network.RequestId
- Network.ResourcePriority
- Network.ResourceTiming
- Network.ResourceType
- Network.Response
- Network.SecurityDetails
- Network.ServiceWorkerResponseSource
- Network.ServiceWorkerRouterSource
- Network.SignedCertificateTimestamp
- Network.TimeSinceEpoch
- Network.WebSocketFrame
- Network.WebSocketRequest
- Network.WebSocketResponse
- Network.AlternateProtocolUsage Experimental
- Network.AssociatedCookie Experimental
- Network.AuthChallenge Experimental
- Network.AuthChallengeResponse Experimental
- Network.BlockedSetCookieWithReason Experimental
- Network.ClientSecurityState Experimental
- Network.ConnectTiming Experimental
- Network.ContentEncoding Experimental
- Network.ContentSecurityPolicySource Experimental
- Network.ContentSecurityPolicyStatus Experimental
- Network.CookieBlockedReason Experimental
- Network.CookieExemptionReason Experimental
- Network.CookiePartitionKey Experimental
- Network.CookiePriority Experimental
- Network.CookieSourceScheme Experimental
- Network.CrossOriginEmbedderPolicyStatus Experimental
- Network.CrossOriginEmbedderPolicyValue Experimental
- Network.CrossOriginOpenerPolicyStatus Experimental
- Network.CrossOriginOpenerPolicyValue Experimental
- Network.DirectSocketDnsQueryType Experimental
- Network.DirectTCPSocketOptions Experimental
- Network.DirectUDPMessage Experimental
- Network.DirectUDPSocketOptions Experimental
- Network.ExemptedSetCookieWithReason Experimental
- Network.InterceptionStage Experimental
- Network.IPAddressSpace Experimental
- Network.IpProxyStatus Experimental
- Network.LoadNetworkResourceOptions Experimental
- Network.LoadNetworkResourcePageResult Experimental
- Network.PrivateNetworkRequestPolicy Experimental
- Network.ReportId Experimental
- Network.ReportingApiEndpoint Experimental
- Network.ReportingApiReport Experimental
- Network.ReportStatus Experimental
- Network.RequestPattern Experimental
- Network.SecurityIsolationStatus Experimental
- Network.ServiceWorkerRouterInfo Experimental
- Network.SetCookieBlockedReason Experimental
- Network.SignedExchangeError Experimental
- Network.SignedExchangeErrorField Experimental
- Network.SignedExchangeHeader Experimental
- Network.SignedExchangeInfo Experimental
- Network.SignedExchangeSignature Experimental
- Network.TrustTokenOperationType Experimental
- Network.TrustTokenParams Experimental
Methods
Network.deleteCookies #
Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
Parameters
name stringName of the cookies to remove.
urlOptional
stringIf specified, deletes all the cookies with the given name where domain and path match provided URL.
domainOptional
stringIf specified, deletes only cookies with the exact domain.
pathOptional
stringIf specified, deletes only cookies with the exact path.
partitionKeyOptional
If specified, deletes only cookies with the the given name and partitionKey where all partition key attributes match the cookie partition key attribute.
Network.disable #
Disables network tracking, prevents network events from being sent to the client.
Network.disable support is experimental.
Disable network debugging. Returns false if not initially enabled.
@cdp Network.disable
Network.emulateNetworkConditions #
Activates emulation of network conditions.
Parameters
offline booleanTrue to emulate internet disconnection.
latency numberMinimum latency from request sent to response headers received (ms).
downloadThroughput numberMaximal aggregated download throughput (bytes/sec). -1 disables download throttling.
uploadThroughput numberMaximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.
connectionTypeOptional
Connection type if known.
packetLossOptional
numberWebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.
packetQueueLengthOptional
integerWebRTC packet queue length (packet). 0 removes any queue length limitations.
packetReorderingOptional
booleanWebRTC packetReordering feature.
Network.enable #
Enables network tracking, network events will now be delivered to the client.
Network.enable support is experimental.
Enable network debugging. Returns false if already enabled.
@cdp Network.enable
Parameters
maxTotalBufferSizeOptional
integerBuffer size in bytes to use when preserving network payloads (XHRs, etc).
maxResourceBufferSizeOptional
integerPer-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
maxPostDataSizeOptional
integerLongest post body size (in bytes) that would be included in requestWillBeSent notification
reportDirectSocketTrafficOptional
booleanWhether DirectSocket chunk send/receive events should be reported.
enableDurableMessagesOptional
booleanEnable storing response bodies outside of renderer, so that these survive a cross-process navigation. Requires maxTotalBufferSize to be set. Currently defaults to false.
Network.getCookies #
Returns all browser cookies for the current URL. Depending on the backend support, will return
detailed cookie information in the cookies field.
Parameters
urlsOptional
array[ string ]The list of URLs for which applicable cookies will be fetched. If not specified, it's assumed to be set to the list containing the URLs of the page and all of its subframes.
Return object
cookies array[ Cookie ]Array of cookie objects.
Network.getRequestPostData #
Returns post data sent with the request. Returns an error when no data was sent with the request.
Parameters
requestId Identifier of the network request to get content for.
Return object
postData stringRequest body string, omitting files from multipart requests
Network.getResponseBody #
Returns content served for the given request.
Network.getResponseBody support is experimental.
Parameters
requestId Identifier of the network request to get content for.
Return object
body stringResponse body.
base64Encoded booleanTrue, if content was sent as base64.
Network.setBypassServiceWorker #
Toggles ignoring of service worker for each request.
Parameters
bypass booleanBypass service worker and load from network.
Network.setCacheDisabled #
Toggles ignoring cache for each request. If true, cache will not be used.
Parameters
cacheDisabled booleanCache disabled state.
Network.setCookie #
Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
Parameters
name stringCookie name.
value stringCookie value.
urlOptional
stringThe request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie.
domainOptional
stringCookie domain.
pathOptional
stringCookie path.
secureOptional
booleanTrue if cookie is secure.
httpOnlyOptional
booleanTrue if cookie is http-only.
sameSiteOptional
Cookie SameSite type.
expiresOptional
Cookie expiration date, session cookie if not set
priorityOptional
samePartyOptional
booleanTrue if cookie is SameParty.
sourceSchemeOptional
sourcePortOptional
integerCookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future.
partitionKeyOptional
Cookie partition key. If not set, the cookie will be set as not partitioned.
Return object
success booleanAlways set to true. If an error occurs, the response indicates protocol error.
Network.setExtraHTTPHeaders #
Specifies whether to always send extra HTTP headers with the requests from this page.
Parameters
headers Map with extra HTTP headers.
Network.setUserAgentOverride #
Allows overriding user agent with the given string.
Parameters
userAgent stringUser agent to use.
acceptLanguageOptional
stringBrowser language to emulate.
platformOptional
stringThe platform navigator.platform should return.
userAgentMetadataOptional
To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData
Network.canClearBrowserCache Deprecated#
Tells whether clearing browser cache is supported.
Return object
result booleanTrue if browser cache can be cleared.
Network.canClearBrowserCookies Deprecated#
Tells whether clearing browser cookies is supported.
Return object
result booleanTrue if browser cookies can be cleared.
Network.canEmulateNetworkConditions Deprecated#
Tells whether emulation of network conditions is supported.
Return object
result booleanTrue if emulation of network conditions is supported.
Network.getAllCookies Deprecated#
Returns all browser cookies. Depending on the backend support, will return detailed cookie
information in the cookies field.
Deprecated. Use Storage.getCookies instead.
Return object
cookies array[ Cookie ]Array of cookie objects.
Network.clearAcceptedEncodingsOverride Experimental#
Clears accepted encodings set by setAcceptedEncodings
Network.enableReportingApi Experimental#
Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client. Enabling triggers 'reportingApiReportAdded' for all existing reports.
Parameters
enable booleanWhether to enable or disable events for the Reporting API
Network.getCertificate Experimental#
Returns the DER-encoded certificate.
Parameters
origin stringOrigin to get certificate for.
Return object
tableNames array[ string ]Network.getIPProtectionProxyStatus Experimental#
Returns enum representing if IP Proxy of requests is available or reason it is not active.
Return object
status Whether IP proxy is available
Network.getResponseBodyForInterception Experimental#
Returns content served for the given currently intercepted request.
Parameters
interceptionId Identifier for the intercepted request to get body for.
Return object
body stringResponse body.
base64Encoded booleanTrue, if content was sent as base64.
Network.getSecurityIsolationStatus Experimental#
Returns information about the COEP/COOP isolation status.
Parameters
frameIdOptional
If no frameId is provided, the status of the target is provided.
Return object
status Network.loadNetworkResource Experimental#
Fetches the resource and returns the content.
Parameters
frameIdOptional
Frame id to get the resource for. Mandatory for frame targets, and should be omitted for worker targets.
url stringURL of the resource to get content for.
options Options for the request.
Return object
resource Network.replayXHR Experimental#
This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password.
Parameters
requestId Identifier of XHR to replay.
Network.searchInResponseBody Experimental#
Searches for given string in response content.
Parameters
requestId Identifier of the network response to search.
query stringString to search for.
caseSensitiveOptional
booleanIf true, search is case sensitive.
isRegexOptional
booleanIf true, treats string parameter as regex.
Return object
result array[ Debugger.SearchMatch ]List of search matches.
Network.setAcceptedEncodings Experimental#
Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
Parameters
encodings array[ ContentEncoding ]List of accepted content encodings.
Network.setAttachDebugStack Experimental#
Specifies whether to attach a page script stack id in requests
Parameters
enabled booleanWhether to attach a page script stack for debugging purpose.
Network.setBlockedURLs Experimental#
Blocks URLs from loading.
Parameters
urls array[ string ]URL patterns to block. Wildcards ('*') are allowed.
Network.setCookieControls Experimental#
Sets Controls for third-party cookie access Page reload is required before the new cookie behavior will be observed
Parameters
enableThirdPartyCookieRestriction booleanWhether 3pc restriction is enabled.
disableThirdPartyCookieMetadata booleanWhether 3pc grace period exception should be enabled; false by default.
disableThirdPartyCookieHeuristics booleanWhether 3pc heuristics exceptions should be enabled; false by default.
Network.setIPProtectionProxyBypassEnabled Experimental#
Sets bypass IP Protection Proxy boolean.
Parameters
enabled booleanWhether IP Proxy is being bypassed by devtools; false by default.
Network.streamResourceContent Experimental#
Enables streaming of the response for the given requestId. If enabled, the dataReceived event contains the data that was received during streaming.
Parameters
requestId Identifier of the request to stream.
Return object
bufferedData stringData that has been buffered until streaming is enabled. (Encoded as a base64 string when passed over JSON)
Network.takeResponseBodyForInterceptionAsStream Experimental#
Returns a handle to the stream representing the response body. Note that after this command, the intercepted request can't be continued as is -- you either need to cancel it or to provide the response body. The stream only supports sequential read, IO.read will fail if the position is specified.
Parameters
interceptionId Return object
stream Network.continueInterceptedRequest ExperimentalDeprecated#
Response to Network.requestIntercepted which either modifies the request to continue with any modifications, or blocks it, or completes it with the provided response bytes. If a network fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted event will be sent with the same InterceptionId. Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
Parameters
interceptionId errorReasonOptional
If set this causes the request to fail with the given reason. Passing Aborted for requests
marked with isNavigationRequest also cancels the navigation. Must not be set in response
to an authChallenge.
rawResponseOptional
stringIf set the requests completes using with the provided base64 encoded raw response, including HTTP status line and headers etc... Must not be set in response to an authChallenge. (Encoded as a base64 string when passed over JSON)
urlOptional
stringIf set the request url will be modified in a way that's not observable by page. Must not be set in response to an authChallenge.
methodOptional
stringIf set this allows the request method to be overridden. Must not be set in response to an authChallenge.
postDataOptional
stringIf set this allows postData to be set. Must not be set in response to an authChallenge.
headersOptional
If set this allows the request headers to be changed. Must not be set in response to an authChallenge.
authChallengeResponseOptional
Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
Network.setRequestInterception ExperimentalDeprecated#
Sets the requests to intercept that match the provided patterns and optionally resource types. Deprecated, please use Fetch.enable instead.
Parameters
patterns array[ RequestPattern ]Requests matching any of these patterns will be forwarded and wait for the corresponding continueInterceptedRequest call.
Events
Network.dataReceived #
Fired when data chunk was received over the network.
Network.dataReceived
Parameters
requestId Request identifier.
timestamp Timestamp.
dataLength integerData chunk length.
encodedDataLength integerActual bytes received (might be less than dataLength for compressed encodings).
dataOptional
stringData that was received. (Encoded as a base64 string when passed over JSON)
Network.eventSourceMessageReceived #
Fired when EventSource message is received.
Parameters
requestId Request identifier.
timestamp Timestamp.
eventName stringMessage type.
eventId stringMessage identifier.
data stringMessage content.
Network.loadingFailed #
Fired when HTTP request has failed to load.
Network.loadingFailed
Parameters
requestId Request identifier.
timestamp Timestamp.
type Resource type.
errorText stringError message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h
canceledOptional
booleanTrue if loading was canceled.
blockedReasonOptional
The reason why loading was blocked, if any.
corsErrorStatusOptional
The reason why loading was blocked by CORS, if any.
Network.loadingFinished #
Fired when HTTP request has finished loading.
Network.loadingFinished
Parameters
requestId Request identifier.
timestamp Timestamp.
encodedDataLength numberTotal number of bytes received for this request.
Network.requestServedFromCache #
Fired if request ended up loading from cache.
Parameters
requestId Request identifier.
Network.requestWillBeSent #
Fired when page is about to send HTTP request.
Network.requestWillBeSent
Parameters
requestId Request identifier.
loaderId Loader identifier. Empty string if the request is fetched from worker.
documentURL stringURL of the document this request is loaded for.
request Request data.
timestamp Timestamp.
wallTime Timestamp.
initiator Request initiator.
redirectHasExtraInfo booleanIn the case that redirectResponse is populated, this flag indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for the request which was just redirected.
redirectResponseOptional
Redirect response data.
typeOptional
Type of this resource.
frameIdOptional
Frame identifier.
hasUserGestureOptional
booleanWhether the request is initiated by a user gesture. Defaults to false.
Network.responseReceived #
Fired when HTTP response is available.
Network.responseReceived
Parameters
requestId Request identifier.
loaderId Loader identifier. Empty string if the request is fetched from worker.
timestamp Timestamp.
type Resource type.
response Response data.
hasExtraInfo booleanIndicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for this request.
frameIdOptional
Frame identifier.
Network.webSocketClosed #
Fired when WebSocket is closed.
Parameters
requestId Request identifier.
timestamp Timestamp.
Network.webSocketCreated #
Fired upon WebSocket creation.
Parameters
requestId Request identifier.
url stringWebSocket request URL.
initiatorOptional
Request initiator.
Network.webSocketFrameError #
Fired when WebSocket message error occurs.
Parameters
requestId Request identifier.
timestamp Timestamp.
errorMessage stringWebSocket error message.
Network.webSocketFrameReceived #
Fired when WebSocket message is received.
Parameters
requestId Request identifier.
timestamp Timestamp.
response WebSocket response data.
Network.webSocketFrameSent #
Fired when WebSocket message is sent.
Parameters
requestId Request identifier.
timestamp Timestamp.
response WebSocket response data.
Network.webSocketHandshakeResponseReceived #
Fired when WebSocket handshake response becomes available.
Parameters
requestId Request identifier.
timestamp Timestamp.
response WebSocket response data.
Network.webSocketWillSendHandshakeRequest #
Fired when WebSocket is about to initiate handshake.
Parameters
requestId Request identifier.
timestamp Timestamp.
wallTime UTC Timestamp.
request WebSocket request data.
Network.webTransportClosed #
Fired when WebTransport is disposed.
Parameters
transportId WebTransport identifier.
timestamp Timestamp.
Network.webTransportConnectionEstablished #
Fired when WebTransport handshake is finished.
Parameters
transportId WebTransport identifier.
timestamp Timestamp.
Network.webTransportCreated #
Fired upon WebTransport creation.
Parameters
transportId WebTransport identifier.
url stringWebTransport request URL.
timestamp Timestamp.
initiatorOptional
Request initiator.
Network.directTCPSocketAborted Experimental#
Fired when direct_socket.TCPSocket is aborted.
Parameters
identifier errorMessage stringtimestamp Network.directTCPSocketChunkReceived Experimental#
Fired when data is received from tcp direct socket stream.
Parameters
identifier data stringtimestamp Network.directTCPSocketChunkSent Experimental#
Fired when data is sent to tcp direct socket stream.
Parameters
identifier data stringtimestamp Network.directTCPSocketClosed Experimental#
Fired when direct_socket.TCPSocket is closed.
Parameters
identifier timestamp Network.directTCPSocketCreated Experimental#
Fired upon direct_socket.TCPSocket creation.
Parameters
identifier remoteAddr stringremotePort integerUnsigned int 16.
options timestamp initiatorOptional
Network.directTCPSocketOpened Experimental#
Fired when direct_socket.TCPSocket connection is opened.
Parameters
identifier remoteAddr stringremotePort integerExpected to be unsigned integer.
timestamp localAddrOptional
stringlocalPortOptional
integerExpected to be unsigned integer.
Network.directUDPSocketAborted Experimental#
Fired when direct_socket.UDPSocket is aborted.
Parameters
identifier errorMessage stringtimestamp Network.directUDPSocketChunkReceived Experimental#
Fired when message is received from udp direct socket stream.
Parameters
identifier message timestamp Network.directUDPSocketChunkSent Experimental#
Fired when message is sent to udp direct socket stream.
Parameters
identifier message timestamp Network.directUDPSocketClosed Experimental#
Fired when direct_socket.UDPSocket is closed.
Parameters
identifier timestamp Network.directUDPSocketCreated Experimental#
Fired upon direct_socket.UDPSocket creation.
Parameters
identifier options timestamp initiatorOptional
Network.directUDPSocketOpened Experimental#
Fired when direct_socket.UDPSocket connection is opened.
Parameters
identifier localAddr stringlocalPort integerExpected to be unsigned integer.
timestamp remoteAddrOptional
stringremotePortOptional
integerExpected to be unsigned integer.
Network.reportingApiEndpointsChangedForOrigin Experimental#
Parameters
origin stringOrigin of the document(s) which configured the endpoints.
endpoints array[ ReportingApiEndpoint ]Network.reportingApiReportAdded Experimental#
Is sent whenever a new report is added. And after 'enableReportingApi' for all existing reports.
Parameters
report Network.requestWillBeSentExtraInfo Experimental#
Fired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.
Network.requestWillBeSentExtraInfo
Parameters
requestId Request identifier. Used to match this information to an existing requestWillBeSent event.
associatedCookies array[ AssociatedCookie ]A list of cookies potentially associated to the requested URL. This includes both cookies sent with the request and the ones not sent; the latter are distinguished by having blockedReasons field set.
headers Raw request headers as they will be sent over the wire.
connectTiming clientSecurityStateOptional
The client security state set for the request.
siteHasCookieInOtherPartitionOptional
booleanWhether the site has partitioned cookies stored in a partition different than the current one.
Network.resourceChangedPriority Experimental#
Fired when resource loading priority is changed
Parameters
requestId Request identifier.
newPriority New priority
timestamp Timestamp.
Network.responseReceivedEarlyHints Experimental#
Fired when 103 Early Hints headers is received in addition to the common response. Not every responseReceived event will have an responseReceivedEarlyHints fired. Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
Parameters
requestId Request identifier. Used to match this information to another responseReceived event.
headers Raw response headers as they were received over the wire.
Duplicate headers in the response are represented as a single key with their values
concatentated using \n as the separator.
See also headersText that contains verbatim text for HTTP/1.*.
Network.responseReceivedExtraInfo Experimental#
Fired when additional information about a responseReceived event is available from the network stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for it, and responseReceivedExtraInfo may be fired before or after responseReceived.
Parameters
requestId Request identifier. Used to match this information to another responseReceived event.
blockedCookies array[ BlockedSetCookieWithReason ]A list of cookies which were not stored from the response along with the corresponding reasons for blocking. The cookies here may not be valid due to syntax errors, which are represented by the invalid cookie line string instead of a proper cookie.
headers Raw response headers as they were received over the wire.
Duplicate headers in the response are represented as a single key with their values
concatentated using \n as the separator.
See also headersText that contains verbatim text for HTTP/1.*.
resourceIPAddressSpace The IP address space of the resource. The address space can only be determined once the transport
established the connection, so we can't send it in requestWillBeSentExtraInfo.
statusCode integerThe status code of the response. This is useful in cases the request failed and no responseReceived event is triggered, which is the case for, e.g., CORS errors. This is also the correct status code for cached requests, where the status in responseReceived is a 200 and this will be 304.
headersTextOptional
stringRaw response header text as it was received over the wire. The raw text may not always be available, such as in the case of HTTP/2 or QUIC.
cookiePartitionKeyOptional
The cookie partition key that will be used to store partitioned cookies set in this response. Only sent when partitioned cookies are enabled.
cookiePartitionKeyOpaqueOptional
booleanTrue if partitioned cookies are enabled, but the partition key is not serializable to string.
exemptedCookiesOptional
array[ ExemptedSetCookieWithReason ]A list of cookies which should have been blocked by 3PCD but are exempted and stored from the response with the corresponding reason.
Network.signedExchangeReceived Experimental#
Fired when a signed exchange was received over the network
Parameters
requestId Request identifier.
info Information about the signed exchange response.
Network.subresourceWebBundleInnerResponseError Experimental#
Fired when request for resources within a .wbn file failed.
Parameters
innerRequestId Request identifier of the subresource request
innerRequestURL stringURL of the subresource resource.
errorMessage stringError message
bundleRequestIdOptional
Bundle request identifier. Used to match this information to another event. This made be absent in case when the instrumentation was enabled only after webbundle was parsed.
Network.subresourceWebBundleInnerResponseParsed Experimental#
Fired when handling requests for resources within a .wbn file. Note: this will only be fired for resources that are requested by the webpage.
Parameters
innerRequestId Request identifier of the subresource request
innerRequestURL stringURL of the subresource resource.
bundleRequestIdOptional
Bundle request identifier. Used to match this information to another event. This made be absent in case when the instrumentation was enabled only after webbundle was parsed.
Network.subresourceWebBundleMetadataError Experimental#
Fired once when parsing the .wbn file has failed.
Parameters
requestId Request identifier. Used to match this information to another event.
errorMessage stringError message
Network.subresourceWebBundleMetadataReceived Experimental#
Fired once when parsing the .wbn file has succeeded. The event contains the information about the web bundle contents.
Parameters
requestId Request identifier. Used to match this information to another event.
urls array[ string ]A list of URLs of resources in the subresource Web Bundle.
Network.trustTokenOperationDone Experimental#
Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.
Parameters
status stringDetailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit).
Allowed values: Ok, InvalidArgument, MissingIssuerKeys, FailedPrecondition, ResourceExhausted, AlreadyExists, ResourceLimited, Unauthorized, BadResponse, InternalError, UnknownError, FulfilledLocally, SiteIssuerLimit
requestId topLevelOriginOptional
stringTop level origin. The context in which the operation was attempted.
issuerOriginOptional
stringOrigin of the issuer in case of a "Issuance" or "Redemption" operation.
issuedTokenCountOptional
integerThe number of obtained Trust Tokens on a successful "Issuance" operation.
Network.requestIntercepted ExperimentalDeprecated#
Details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked. Deprecated, use Fetch.requestPaused instead.
Parameters
interceptionId Each request the page makes will have a unique id, however if any redirects are encountered while processing that fetch, they will be reported with the same id as the original fetch. Likewise if HTTP authentication is needed then the same fetch id will be used.
request frameId The id of the frame that initiated the request.
resourceType How the requested resource will be used.
isNavigationRequest booleanWhether this is a navigation request, which can abort the navigation completely.
isDownloadOptional
booleanSet if the request is a navigation that will result in a download. Only present after response is received from the server (i.e. HeadersReceived stage).
redirectUrlOptional
stringRedirect location, only sent if a redirect was intercepted.
authChallengeOptional
Details of the Authorization Challenge encountered. If this is set then continueInterceptedRequest must contain an authChallengeResponse.
responseErrorReasonOptional
Response error if intercepted at response stage or if redirect occurred while intercepting request.
responseStatusCodeOptional
integerResponse code if intercepted at response stage or if redirect occurred while intercepting request or auth retry occurred.
responseHeadersOptional
Response headers if intercepted at the response stage or if redirect occurred while intercepting request or auth retry occurred.
requestIdOptional
If the intercepted request had a corresponding requestWillBeSent event fired for it, then this requestId will be the same as the requestId present in the requestWillBeSent event.
Types
Network.BlockedReason #
The reason why request was blocked.
Type: string
Allowed values: other, csp, mixed-content, origin, inspector, integrity, subresource-filter, content-type, coep-frame-resource-needs-coep-header, coop-sandboxed-iframe-cannot-navigate-to-coop-page, corp-not-same-origin, corp-not-same-origin-after-defaulted-to-same-origin-by-coep, corp-not-same-origin-after-defaulted-to-same-origin-by-dip, corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip, corp-not-same-site, sri-message-signature-mismatch
Network.CachedResource #
Information about the cached resource.
Type: object
Properties
url stringResource URL. This is the url of the original network request.
type Type of this resource.
responseOptional
Cached response data.
bodySize numberCached response body size.
Network.CertificateTransparencyCompliance #
Whether the request complied with Certificate Transparency policy.
Type: string
Allowed values: unknown, not-compliant, compliant
Network.ConnectionType #
The underlying connection technology that the browser is supposedly using.
Type: string
Allowed values: none, cellular2g, cellular3g, cellular4g, bluetooth, ethernet, wifi, wimax, other
Network.Cookie #
Cookie object
Type: object
Properties
name stringCookie name.
value stringCookie value.
domain stringCookie domain.
path stringCookie path.
expires numberCookie expiration date as the number of seconds since the UNIX epoch. The value is set to -1 if the expiry date is not set. The value can be null for values that cannot be represented in JSON (±Inf).
size integerCookie size.
httpOnly booleanTrue if cookie is http-only.
secure booleanTrue if cookie is secure.
session booleanTrue in case of session cookie.
sameSiteOptional
Cookie SameSite type.
priority sameParty booleanTrue if cookie is SameParty.
sourceScheme sourcePort integerCookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future.
partitionKeyOptional
partitionKeyOpaqueOptional
booleanTrue if cookie partition key is opaque.
Network.CookieParam #
Cookie parameter object
Type: object
Properties
name stringCookie name.
value stringCookie value.
urlOptional
stringThe request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie.
domainOptional
stringCookie domain.
pathOptional
stringCookie path.
secureOptional
booleanTrue if cookie is secure.
httpOnlyOptional
booleanTrue if cookie is http-only.
sameSiteOptional
Cookie SameSite type.
expiresOptional
Cookie expiration date, session cookie if not set
priorityOptional
samePartyOptional
booleanTrue if cookie is SameParty.
sourceSchemeOptional
sourcePortOptional
integerCookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future.
partitionKeyOptional
Cookie partition key. If not set, the cookie will be set as not partitioned.
Network.CookieSameSite #
Represents the cookie's 'SameSite' status: https://tools.ietf.org/html/draft-west-first-party-cookies
Type: string
Allowed values: Strict, Lax, None
Network.CorsError #
The reason why request was blocked.
Type: string
Allowed values: 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, PreflightMissingPrivateNetworkAccessId, PreflightMissingPrivateNetworkAccessName, PrivateNetworkAccessPermissionUnavailable, PrivateNetworkAccessPermissionDenied, LocalNetworkAccessPermissionDenied
Network.ErrorReason #
Network level fetch failure reason.
Type: string
Allowed values: Failed, Aborted, TimedOut, AccessDenied, ConnectionClosed, ConnectionReset, ConnectionRefused, ConnectionAborted, ConnectionFailed, NameNotResolved, InternetDisconnected, AddressUnreachable, BlockedByClient, BlockedByResponse
Network.Initiator #
Information about the request initiator.
Type: object
Properties
type stringType of this initiator.
Allowed values: parser, script, preload, SignedExchange, preflight, other
stackOptional
Initiator JavaScript stack trace, set for Script only. Requires the Debugger domain to be enabled.
urlOptional
stringInitiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.
lineNumberOptional
numberInitiator line number, set for Parser type or for Script type (when script is importing module) (0-based).
columnNumberOptional
numberInitiator column number, set for Parser type or for Script type (when script is importing module) (0-based).
requestIdOptional
Set if another request triggered this request (e.g. preflight).
Network.MonotonicTime #
Monotonically increasing time in seconds since an arbitrary point in the past.
Type: number
Network.Request #
HTTP request data.
Type: object
Properties
url stringRequest URL (without fragment).
urlFragmentOptional
stringFragment of the requested URL starting with hash, if present.
method stringHTTP request method.
headers HTTP request headers.
postDataOptional
stringHTTP POST request data. Use postDataEntries instead.
hasPostDataOptional
booleanTrue when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long.
postDataEntriesOptional
array[ PostDataEntry ]Request body elements (post data broken into individual entries).
mixedContentTypeOptional
The mixed content type of the request.
initialPriority Priority of the resource request at the time request is sent.
referrerPolicy stringThe referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/
Allowed values: unsafe-url, no-referrer-when-downgrade, no-referrer, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin
isLinkPreloadOptional
booleanWhether is loaded via link preload.
trustTokenParamsOptional
Set for requests when the TrustToken API is used. Contains the parameters passed by the developer (e.g. via "fetch") as understood by the backend.
isSameSiteOptional
booleanTrue if this resource request is considered to be the 'same site' as the request corresponding to the main frame.
isAdRelatedOptional
booleanTrue when the resource request is ad-related.
Network.RequestId #
Unique network request identifier. Note that this does not identify individual HTTP requests that are part of a network request.
Type: string
Network.ResourcePriority #
Loading priority of a resource request.
Type: string
Allowed values: VeryLow, Low, Medium, High, VeryHigh
Network.ResourceTiming #
Timing information for the request.
Type: object
Properties
requestTime numberTiming's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.
proxyStart numberStarted resolving proxy.
proxyEnd numberFinished resolving proxy.
dnsStart numberStarted DNS address resolve.
dnsEnd numberFinished DNS address resolve.
connectStart numberStarted connecting to the remote host.
connectEnd numberConnected to the remote host.
sslStart numberStarted SSL handshake.
sslEnd numberFinished SSL handshake.
workerStart numberStarted running ServiceWorker.
workerReady numberFinished Starting ServiceWorker.
workerFetchStart numberStarted fetch event.
workerRespondWithSettled numberSettled fetch event respondWith promise.
workerRouterEvaluationStartOptional
numberStarted ServiceWorker static routing source evaluation.
workerCacheLookupStartOptional
numberStarted cache lookup when the source was evaluated to cache.
sendStart numberStarted sending request.
sendEnd numberFinished sending request.
pushStart numberTime the server started pushing request.
pushEnd numberTime the server finished pushing request.
receiveHeadersStart numberStarted receiving response headers.
receiveHeadersEnd numberFinished receiving response headers.
Network.ResourceType #
Resource type as it was perceived by the rendering engine.
Type: string
Allowed values: Document, Stylesheet, Image, Media, Font, Script, TextTrack, XHR, Fetch, Prefetch, EventSource, WebSocket, Manifest, SignedExchange, Ping, CSPViolationReport, Preflight, FedCM, Other
Network.Response #
HTTP response data.
Type: object
Properties
url stringResponse URL. This URL can be different from CachedResource.url in case of redirect.
status integerHTTP response status code.
statusText stringHTTP response status text.
headers HTTP response headers.
headersTextOptional
stringHTTP response headers text. This has been replaced by the headers in Network.responseReceivedExtraInfo.
mimeType stringResource mimeType as determined by the browser.
charset stringResource charset as determined by the browser (if applicable).
requestHeadersOptional
Refined HTTP request headers that were actually transmitted over the network.
requestHeadersTextOptional
stringHTTP request headers text. This has been replaced by the headers in Network.requestWillBeSentExtraInfo.
connectionReused booleanSpecifies whether physical connection was actually reused for this request.
connectionId numberPhysical connection id that was actually used for this request.
remoteIPAddressOptional
stringRemote IP address.
remotePortOptional
integerRemote port.
fromDiskCacheOptional
booleanSpecifies that the request was served from the disk cache.
fromServiceWorkerOptional
booleanSpecifies that the request was served from the ServiceWorker.
fromPrefetchCacheOptional
booleanSpecifies that the request was served from the prefetch cache.
fromEarlyHintsOptional
booleanSpecifies that the request was served from the prefetch cache.
serviceWorkerRouterInfoOptional
Information about how ServiceWorker Static Router API was used. If this
field is set with matchedSourceType field, a matching rule is found.
If this field is set without matchedSource, no matching rule is found.
Otherwise, the API is not used.
encodedDataLength numberTotal number of bytes received for this request so far.
timingOptional
Timing information for the given request.
serviceWorkerResponseSourceOptional
Response source of response from ServiceWorker.
responseTimeOptional
The time at which the returned response was generated.
cacheStorageCacheNameOptional
stringCache Storage Cache Name.
protocolOptional
stringProtocol used to fetch this request.
alternateProtocolUsageOptional
The reason why Chrome uses a specific transport protocol for HTTP semantics.
securityState Security state of the request resource.
securityDetailsOptional
Security details for the request.
isIpProtectionUsedOptional
booleanIndicates whether the request was sent through IP Protection proxies. If set to true, the request used the IP Protection privacy feature.
Network.SecurityDetails #
Security details about a request.
Type: object
Properties
protocol stringProtocol name (e.g. "TLS 1.2" or "QUIC").
keyExchange stringKey Exchange used by the connection, or the empty string if not applicable.
keyExchangeGroupOptional
string(EC)DH group used by the connection, if applicable.
cipher stringCipher name.
macOptional
stringTLS MAC. Note that AEAD ciphers do not have separate MACs.
certificateId Certificate ID value.
subjectName stringCertificate subject name.
sanList array[ string ]Subject Alternative Name (SAN) DNS names and IP addresses.
issuer stringName of the issuing CA.
validFrom Certificate valid from date.
validTo Certificate valid to (expiration) date
signedCertificateTimestampList array[ SignedCertificateTimestamp ]List of signed certificate timestamps (SCTs).
certificateTransparencyCompliance Whether the request complied with Certificate Transparency policy
serverSignatureAlgorithmOptional
integerThe signature algorithm used by the server in the TLS server signature, represented as a TLS SignatureScheme code point. Omitted if not applicable or not known.
encryptedClientHello booleanWhether the connection used Encrypted ClientHello
Network.ServiceWorkerResponseSource #
Source of serviceworker response.
Type: string
Allowed values: cache-storage, http-cache, fallback-code, network
Network.ServiceWorkerRouterSource #
Source of service worker router.
Type: string
Allowed values: network, cache, fetch-event, race-network-and-fetch-handler, race-network-and-cache
Network.SignedCertificateTimestamp #
Details of a signed certificate timestamp (SCT).
Type: object
Properties
status stringValidation status.
origin stringOrigin.
logDescription stringLog name / description.
logId stringLog ID.
timestamp numberIssuance date. Unlike TimeSinceEpoch, this contains the number of milliseconds since January 1, 1970, UTC, not the number of seconds.
hashAlgorithm stringHash algorithm.
signatureAlgorithm stringSignature algorithm.
signatureData stringSignature data.
Network.WebSocketFrame #
WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests.
Type: object
Properties
opcode numberWebSocket message opcode.
mask booleanWebSocket message mask.
payloadData stringWebSocket message payload data. If the opcode is 1, this is a text message and payloadData is a UTF-8 string. If the opcode isn't 1, then payloadData is a base64 encoded string representing binary data.
Network.WebSocketRequest #
WebSocket request data.
Type: object
Properties
headers HTTP request headers.
Network.WebSocketResponse #
WebSocket response data.
Type: object
Properties
status integerHTTP response status code.
statusText stringHTTP response status text.
headers HTTP response headers.
headersTextOptional
stringHTTP response headers text.
requestHeadersOptional
HTTP request headers.
requestHeadersTextOptional
stringHTTP request headers text.
Network.AlternateProtocolUsage Experimental#
The reason why Chrome uses a specific transport protocol for HTTP semantics.
Type: string
Allowed values: alternativeJobWonWithoutRace, alternativeJobWonRace, mainJobWonRace, mappingMissing, broken, dnsAlpnH3JobWonWithoutRace, dnsAlpnH3JobWonRace, unspecifiedReason
Network.AssociatedCookie Experimental#
A cookie associated with the request which may or may not be sent with it. Includes the cookies itself and reasons for blocking or exemption.
Type: object
Properties
cookie The cookie object representing the cookie which was not sent.
blockedReasons array[ CookieBlockedReason ]The reason(s) the cookie was blocked. If empty means the cookie is included.
exemptionReasonOptional
The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could only have at most one exemption reason.
Network.AuthChallenge Experimental#
Authorization challenge for HTTP status code 401 or 407.
Type: object
Properties
sourceOptional
stringSource of the authentication challenge.
Allowed values: Server, Proxy
origin stringOrigin of the challenger.
scheme stringThe authentication scheme used, such as basic or digest
realm stringThe realm of the challenge. May be empty.
Network.AuthChallengeResponse Experimental#
Response to an AuthChallenge.
Type: object
Properties
response stringThe decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box.
Allowed values: Default, CancelAuth, ProvideCredentials
usernameOptional
stringThe username to provide, possibly empty. Should only be set if response is ProvideCredentials.
passwordOptional
stringThe password to provide, possibly empty. Should only be set if response is ProvideCredentials.
Network.BlockedSetCookieWithReason Experimental#
A cookie which was not stored from a response with the corresponding reason.
Type: object
Properties
blockedReasons array[ SetCookieBlockedReason ]The reason(s) this cookie was blocked.
cookieLine stringThe string representing this individual cookie as it would appear in the header. This is not the entire "cookie" or "set-cookie" header which could have multiple cookies.
cookieOptional
The cookie object which represents the cookie which was not stored. It is optional because sometimes complete cookie information is not available, such as in the case of parsing errors.
Network.ClientSecurityState Experimental#
Type: object
Properties
initiatorIsSecureContext booleaninitiatorIPAddressSpace privateNetworkRequestPolicy Network.ConnectTiming Experimental#
Type: object
Properties
requestTime numberTiming's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime. Matches ResourceTiming's requestTime for the same request (but not for redirected requests).
Network.ContentEncoding Experimental#
List of content encodings supported by the backend.
Type: string
Allowed values: deflate, gzip, br, zstd
Network.ContentSecurityPolicyStatus Experimental#
Type: object
Properties
effectiveDirectives stringisEnforced booleansource Network.CookieBlockedReason Experimental#
Types of reasons why a cookie may not be sent with a request.
Type: string
Allowed values: SecureOnly, NotOnPath, DomainMismatch, SameSiteStrict, SameSiteLax, SameSiteUnspecifiedTreatedAsLax, SameSiteNoneInsecure, UserPreferences, ThirdPartyPhaseout, ThirdPartyBlockedInFirstPartySet, UnknownError, SchemefulSameSiteStrict, SchemefulSameSiteLax, SchemefulSameSiteUnspecifiedTreatedAsLax, SamePartyFromCrossPartyContext, NameValuePairExceedsMaxSize, PortMismatch, SchemeMismatch, AnonymousContext
Network.CookieExemptionReason Experimental#
Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
Type: string
Allowed values: None, UserSetting, TPCDMetadata, TPCDDeprecationTrial, TopLevelTPCDDeprecationTrial, TPCDHeuristics, EnterprisePolicy, StorageAccess, TopLevelStorageAccess, Scheme, SameSiteNoneCookiesInSandbox
Network.CookiePartitionKey Experimental#
cookiePartitionKey object The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.
Type: object
Properties
topLevelSite stringThe site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie.
hasCrossSiteAncestor booleanIndicates if the cookie has any ancestors that are cross-site to the topLevelSite.
Network.CookiePriority Experimental#
Represents the cookie's 'Priority' status: https://tools.ietf.org/html/draft-west-cookie-priority-00
Type: string
Allowed values: Low, Medium, High
Network.CookieSourceScheme Experimental#
Represents the source scheme of the origin that originally set the cookie. A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme. This is a temporary ability and it will be removed in the future.
Type: string
Allowed values: Unset, NonSecure, Secure
Network.CrossOriginEmbedderPolicyStatus Experimental#
Type: object
Properties
reportOnlyValue reportingEndpointOptional
stringreportOnlyReportingEndpointOptional
stringNetwork.CrossOriginEmbedderPolicyValue Experimental#
Type: string
Allowed values: None, Credentialless, RequireCorp
Network.CrossOriginOpenerPolicyStatus Experimental#
Type: object
Properties
reportOnlyValue reportingEndpointOptional
stringreportOnlyReportingEndpointOptional
stringNetwork.CrossOriginOpenerPolicyValue Experimental#
Type: string
Allowed values: SameOrigin, SameOriginAllowPopups, RestrictProperties, UnsafeNone, SameOriginPlusCoep, RestrictPropertiesPlusCoep, NoopenerAllowPopups
Network.DirectTCPSocketOptions Experimental#
Type: object
Properties
noDelay booleanTCP_NODELAY option
keepAliveDelayOptional
numberExpected to be unsigned integer.
sendBufferSizeOptional
numberExpected to be unsigned integer.
receiveBufferSizeOptional
numberExpected to be unsigned integer.
dnsQueryTypeOptional
Network.DirectUDPMessage Experimental#
Type: object
Properties
data stringremoteAddrOptional
stringNull for connected mode.
remotePortOptional
integerNull for connected mode. Expected to be unsigned integer.
Network.DirectUDPSocketOptions Experimental#
Type: object
Properties
remoteAddrOptional
stringremotePortOptional
integerUnsigned int 16.
localAddrOptional
stringlocalPortOptional
integerUnsigned int 16.
dnsQueryTypeOptional
sendBufferSizeOptional
numberExpected to be unsigned integer.
receiveBufferSizeOptional
numberExpected to be unsigned integer.
Network.ExemptedSetCookieWithReason Experimental#
A cookie should have been blocked by 3PCD but is exempted and stored from a response with the corresponding reason. A cookie could only have at most one exemption reason.
Type: object
Properties
exemptionReason The reason the cookie was exempted.
cookieLine stringThe string representing this individual cookie as it would appear in the header.
cookie The cookie object representing the cookie.
Network.InterceptionStage Experimental#
Stages of the interception to begin intercepting. Request will intercept before the request is sent. Response will intercept after the response is received.
Type: string
Allowed values: Request, HeadersReceived
Network.IpProxyStatus Experimental#
Sets Controls for IP Proxy of requests. Page reload is required before the new behavior will be observed.
Type: string
Allowed values: Available, FeatureNotEnabled, MaskedDomainListNotEnabled, MaskedDomainListNotPopulated, AuthTokensUnavailable, Unavailable, BypassedByDevTools
Network.LoadNetworkResourceOptions Experimental#
An options object that may be extended later to better support CORS, CORB and streaming.
Type: object
Properties
disableCache booleanincludeCredentials booleanNetwork.LoadNetworkResourcePageResult Experimental#
An object providing the result of a network resource load.
Type: object
Properties
success booleannetErrorOptional
numberOptional values used for error reporting.
netErrorNameOptional
stringhttpStatusCodeOptional
numberstreamOptional
If successful, one of the following two fields holds the result.
headersOptional
Response headers.
Network.PrivateNetworkRequestPolicy Experimental#
Type: string
Allowed values: Allow, BlockFromInsecureToMorePrivate, WarnFromInsecureToMorePrivate, PreflightBlock, PreflightWarn, PermissionBlock, PermissionWarn
Network.ReportingApiEndpoint Experimental#
Type: object
Properties
url stringThe URL of the endpoint to which reports may be delivered.
groupName stringName of the endpoint group.
Network.ReportingApiReport Experimental#
An object representing a report generated by the Reporting API.
Type: object
Properties
id initiatorUrl stringThe URL of the document that triggered the report.
destination stringThe name of the endpoint group that should be used to deliver the report.
type stringThe type of the report (specifies the set of data that is contained in the report body).
timestamp When the report was generated.
depth integerHow many uploads deep the related request was.
completedAttempts integerThe number of delivery attempts made so far, not including an active attempt.
body objectstatus Network.ReportStatus Experimental#
The status of a Reporting API report.
Type: string
Allowed values: Queued, Pending, MarkedForRemoval, Success
Network.RequestPattern Experimental#
Request pattern for interception.
Type: object
Properties
urlPatternOptional
stringWildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is
backslash. Omitting is equivalent to "*".
resourceTypeOptional
If set, only requests for matching resource types will be intercepted.
interceptionStageOptional
Stage at which to begin intercepting requests. Default is Request.
Network.SecurityIsolationStatus Experimental#
Type: object
Properties
coopOptional
coepOptional
cspOptional
array[ ContentSecurityPolicyStatus ]Network.ServiceWorkerRouterInfo Experimental#
Type: object
Properties
ruleIdMatchedOptional
integerID of the rule matched. If there is a matched rule, this field will be set, otherwiser no value will be set.
matchedSourceTypeOptional
The router source of the matched rule. If there is a matched rule, this field will be set, otherwise no value will be set.
actualSourceTypeOptional
The actual router source used.
Network.SetCookieBlockedReason Experimental#
Types of reasons why a cookie may not be stored from a response.
Type: string
Allowed values: SecureOnly, SameSiteStrict, SameSiteLax, SameSiteUnspecifiedTreatedAsLax, SameSiteNoneInsecure, UserPreferences, ThirdPartyPhaseout, ThirdPartyBlockedInFirstPartySet, SyntaxError, SchemeNotSupported, OverwriteSecure, InvalidDomain, InvalidPrefix, UnknownError, SchemefulSameSiteStrict, SchemefulSameSiteLax, SchemefulSameSiteUnspecifiedTreatedAsLax, SamePartyFromCrossPartyContext, SamePartyConflictsWithOtherAttributes, NameValuePairExceedsMaxSize, DisallowedCharacter, NoCookieContent
Network.SignedExchangeError Experimental#
Information about a signed exchange response.
Type: object
Properties
message stringError message.
signatureIndexOptional
integerThe index of the signature which caused the error.
errorFieldOptional
The field which caused the error.
Network.SignedExchangeErrorField Experimental#
Field type for a signed exchange related error.
Type: string
Allowed values: signatureSig, signatureIntegrity, signatureCertUrl, signatureCertSha256, signatureValidityUrl, signatureTimestamps
Network.SignedExchangeHeader Experimental#
Information about a signed exchange header. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation
Type: object
Properties
requestUrl stringSigned exchange request URL.
responseCode integerSigned exchange response code.
responseHeaders Signed exchange response headers.
signatures array[ SignedExchangeSignature ]Signed exchange response signature.
headerIntegrity stringSigned exchange header integrity hash in the form of sha256-<base64-hash-value>.
Network.SignedExchangeInfo Experimental#
Information about a signed exchange response.
Type: object
Properties
outerResponse The outer response of signed HTTP exchange which was received from network.
hasExtraInfo booleanWhether network response for the signed exchange was accompanied by extra headers.
headerOptional
Information about the signed exchange header.
securityDetailsOptional
Security details for the signed exchange header.
errorsOptional
array[ SignedExchangeError ]Errors occurred while handling the signed exchange.
Network.SignedExchangeSignature Experimental#
Information about a signed exchange signature. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
Type: object
Properties
label stringSigned exchange signature label.
signature stringThe hex string of signed exchange signature.
integrity stringSigned exchange signature integrity.
certUrlOptional
stringSigned exchange signature cert Url.
certSha256Optional
stringThe hex string of signed exchange signature cert sha256.
validityUrl stringSigned exchange signature validity Url.
date integerSigned exchange signature date.
expires integerSigned exchange signature expires.
certificatesOptional
array[ string ]The encoded certificates.
Network.TrustTokenOperationType Experimental#
Type: string
Allowed values: Issuance, Redemption, Signing
Network.TrustTokenParams Experimental#
Determines what type of Trust Token operation is executed and depending on the type, some additional parameters. The values are specified in third_party/blink/renderer/core/fetch/trust_token.idl.
Type: object
Properties
operation refreshPolicy stringOnly set for "token-redemption" operation and determine whether to request a fresh SRR or use a still valid cached SRR.
Allowed values: UseCached, Refresh
issuersOptional
array[ string ]Origins of issuers from whom to request tokens or redemption records.