Chrome DevTools

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

Events

Types

Methods

Chrome DevTools

Network.clearBrowserCache #

Clears browser cache.


Chrome DevTools

Network.clearBrowserCookies #

Clears browser cookies.


Chrome DevTools

Network.deleteCookies #

Deletes browser cookies with matching name and url or domain/path/partitionKey pair.

Parameters

name
string

Name of the cookies to remove.

url
Optional
string

If specified, deletes all the cookies with the given name where domain and path match provided URL.

domain
Optional
string

If specified, deletes only cookies with the exact domain.

path
Optional
string

If specified, deletes only cookies with the exact path.

partitionKey
Optional
CookiePartitionKey

If specified, deletes only cookies with the the given name and partitionKey where all partition key attributes match the cookie partition key attribute.

Experimental

Chrome DevTools

Network.disable #

Disables network tracking, prevents network events from being sent to the client.


Chrome DevTools

Network.emulateNetworkConditions #

Activates emulation of network conditions.

Parameters

offline
boolean

True to emulate internet disconnection.

latency
number

Minimum latency from request sent to response headers received (ms).

downloadThroughput
number

Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.

uploadThroughput
number

Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.

connectionType
Optional
ConnectionType

Connection type if known.

packetLoss
Optional
number

WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.

Experimental
packetQueueLength
Optional
integer

WebRTC packet queue length (packet). 0 removes any queue length limitations.

Experimental
packetReordering
Optional
boolean

WebRTC packetReordering feature.

Experimental

Chrome DevTools

Network.enable #

Enables network tracking, network events will now be delivered to the client.

Parameters

maxTotalBufferSize
Optional
integer

Buffer size in bytes to use when preserving network payloads (XHRs, etc).

Experimental
maxResourceBufferSize
Optional
integer

Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).

Experimental
maxPostDataSize
Optional
integer

Longest post body size (in bytes) that would be included in requestWillBeSent notification


Chrome DevTools

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

urls
Optional
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.


Chrome DevTools

Network.getRequestPostData #

Returns post data sent with the request. Returns an error when no data was sent with the request.

Parameters

requestId
RequestId

Identifier of the network request to get content for.

Return object

postData
string

Request body string, omitting files from multipart requests


Chrome DevTools

Network.getResponseBody #

Returns content served for the given request.

Parameters

requestId
RequestId

Identifier of the network request to get content for.

Return object

body
string

Response body.

base64Encoded
boolean

True, if content was sent as base64.


Chrome DevTools

Network.setBypassServiceWorker #

Toggles ignoring of service worker for each request.

Parameters

bypass
boolean

Bypass service worker and load from network.


Chrome DevTools

Network.setCacheDisabled #

Toggles ignoring cache for each request. If true, cache will not be used.

Parameters

cacheDisabled
boolean

Cache disabled state.


Chrome DevTools

Network.setCookie #

Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.

Parameters

name
string

Cookie name.

value
string

Cookie value.

url
Optional
string

The 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.

domain
Optional
string

Cookie domain.

path
Optional
string

Cookie path.

secure
Optional
boolean

True if cookie is secure.

httpOnly
Optional
boolean

True if cookie is http-only.

sameSite
Optional
CookieSameSite

Cookie SameSite type.

expires
Optional
TimeSinceEpoch

Cookie expiration date, session cookie if not set

priority
Optional
CookiePriority

Cookie Priority type.

Experimental
sameParty
Optional
boolean

True if cookie is SameParty.

Experimental
sourceScheme
Optional
CookieSourceScheme

Cookie source scheme type.

Experimental
sourcePort
Optional
integer

Cookie 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.

Experimental
partitionKey
Optional
CookiePartitionKey

Cookie partition key. If not set, the cookie will be set as not partitioned.

Experimental

Return object

success
boolean

Always set to true. If an error occurs, the response indicates protocol error.

Deprecated

Chrome DevTools

Network.setCookies #

Sets given cookies.

Parameters

cookies
array[ CookieParam ]

Cookies to be set.


Chrome DevTools

Network.setExtraHTTPHeaders #

Specifies whether to always send extra HTTP headers with the requests from this page.

Parameters

headers
Headers

Map with extra HTTP headers.


Chrome DevTools

Network.setUserAgentOverride #

Allows overriding user agent with the given string.

Parameters

userAgent
string

User agent to use.

acceptLanguage
Optional
string

Browser language to emulate.

platform
Optional
string

The platform navigator.platform should return.

userAgentMetadata
Optional
Emulation.UserAgentMetadata

To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData

Experimental

Chrome DevTools

Network.canClearBrowserCache Deprecated#

Tells whether clearing browser cache is supported.

Return object

result
boolean

True if browser cache can be cleared.


Chrome DevTools

Network.canClearBrowserCookies Deprecated#

Tells whether clearing browser cookies is supported.

Return object

result
boolean

True if browser cookies can be cleared.


Chrome DevTools

Network.canEmulateNetworkConditions Deprecated#

Tells whether emulation of network conditions is supported.

Return object

result
boolean

True if emulation of network conditions is supported.


Chrome DevTools

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.


Chrome DevTools

Network.clearAcceptedEncodingsOverride Experimental#

Clears accepted encodings set by setAcceptedEncodings


Chrome DevTools

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
boolean

Whether to enable or disable events for the Reporting API


Chrome DevTools

Network.getCertificate Experimental#

Returns the DER-encoded certificate.

Parameters

origin
string

Origin to get certificate for.

Return object

tableNames
array[ string ]

Chrome DevTools

Network.getResponseBodyForInterception Experimental#

Returns content served for the given currently intercepted request.

Parameters

interceptionId
InterceptionId

Identifier for the intercepted request to get body for.

Return object

body
string

Response body.

base64Encoded
boolean

True, if content was sent as base64.


Chrome DevTools

Network.getSecurityIsolationStatus Experimental#

Returns information about the COEP/COOP isolation status.

Parameters

frameId
Optional
Page.FrameId

If no frameId is provided, the status of the target is provided.

Return object


Chrome DevTools

Network.loadNetworkResource Experimental#

Fetches the resource and returns the content.

Parameters

frameId
Optional
Page.FrameId

Frame id to get the resource for. Mandatory for frame targets, and should be omitted for worker targets.

url
string

URL of the resource to get content for.

options
LoadNetworkResourceOptions

Options for the request.

Return object


Chrome DevTools

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
RequestId

Identifier of XHR to replay.


Chrome DevTools

Network.searchInResponseBody Experimental#

Searches for given string in response content.

Parameters

requestId
RequestId

Identifier of the network response to search.

query
string

String to search for.

caseSensitive
Optional
boolean

If true, search is case sensitive.

isRegex
Optional
boolean

If true, treats string parameter as regex.

Return object

result
array[ Debugger.SearchMatch ]

List of search matches.


Chrome DevTools

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.


Chrome DevTools

Network.setAttachDebugStack Experimental#

Specifies whether to attach a page script stack id in requests

Parameters

enabled
boolean

Whether to attach a page script stack for debugging purpose.


Chrome DevTools

Network.setBlockedURLs Experimental#

Blocks URLs from loading.

Parameters

urls
array[ string ]

URL patterns to block. Wildcards ('*') are allowed.


Chrome DevTools

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
RequestId

Identifier of the request to stream.

Return object

bufferedData
string

Data that has been buffered until streaming is enabled. (Encoded as a base64 string when passed over JSON)


Chrome DevTools

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


Chrome DevTools

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
errorReason
Optional
ErrorReason

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.

rawResponse
Optional
string

If 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)

url
Optional
string

If 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.

method
Optional
string

If set this allows the request method to be overridden. Must not be set in response to an authChallenge.

postData
Optional
string

If set this allows postData to be set. Must not be set in response to an authChallenge.

headers
Optional
Headers

If set this allows the request headers to be changed. Must not be set in response to an authChallenge.

authChallengeResponse
Optional
AuthChallengeResponse

Response to a requestIntercepted with an authChallenge. Must not be set otherwise.


Chrome DevTools

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

Chrome DevTools

Network.dataReceived #

Fired when data chunk was received over the network.

Parameters

requestId
RequestId

Request identifier.

timestamp
MonotonicTime

Timestamp.

dataLength
integer

Data chunk length.

encodedDataLength
integer

Actual bytes received (might be less than dataLength for compressed encodings).

data
Optional
string

Data that was received. (Encoded as a base64 string when passed over JSON)

Experimental

Chrome DevTools

Network.eventSourceMessageReceived #

Fired when EventSource message is received.

Parameters

requestId
RequestId

Request identifier.

timestamp
MonotonicTime

Timestamp.

eventName
string

Message type.

eventId
string

Message identifier.

data
string

Message content.


Chrome DevTools

Network.loadingFailed #

Fired when HTTP request has failed to load.

Parameters

requestId
RequestId

Request identifier.

timestamp
MonotonicTime

Timestamp.

type
ResourceType

Resource type.

errorText
string

Error message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h

canceled
Optional
boolean

True if loading was canceled.

blockedReason
Optional
BlockedReason

The reason why loading was blocked, if any.

corsErrorStatus
Optional
CorsErrorStatus

The reason why loading was blocked by CORS, if any.


Chrome DevTools

Network.loadingFinished #

Fired when HTTP request has finished loading.

Parameters

requestId
RequestId

Request identifier.

timestamp
MonotonicTime

Timestamp.

encodedDataLength
number

Total number of bytes received for this request.


Chrome DevTools

Network.requestServedFromCache #

Fired if request ended up loading from cache.

Parameters

requestId
RequestId

Request identifier.


Chrome DevTools

Network.requestWillBeSent #

Fired when page is about to send HTTP request.

Parameters

requestId
RequestId

Request identifier.

loaderId
LoaderId

Loader identifier. Empty string if the request is fetched from worker.

documentURL
string

URL of the document this request is loaded for.

request
Request

Request data.

timestamp
MonotonicTime

Timestamp.

wallTime
TimeSinceEpoch

Timestamp.

initiator
Initiator

Request initiator.

redirectHasExtraInfo
boolean

In 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.

Experimental
redirectResponse
Optional
Response

Redirect response data.

type
Optional
ResourceType

Type of this resource.

frameId
Optional
Page.FrameId

Frame identifier.

hasUserGesture
Optional
boolean

Whether the request is initiated by a user gesture. Defaults to false.


Chrome DevTools

Network.responseReceived #

Fired when HTTP response is available.

Parameters

requestId
RequestId

Request identifier.

loaderId
LoaderId

Loader identifier. Empty string if the request is fetched from worker.

timestamp
MonotonicTime

Timestamp.

type
ResourceType

Resource type.

response
Response

Response data.

hasExtraInfo
boolean

Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for this request.

Experimental
frameId
Optional
Page.FrameId

Frame identifier.


Chrome DevTools

Network.webSocketClosed #

Fired when WebSocket is closed.

Parameters

requestId
RequestId

Request identifier.

timestamp
MonotonicTime

Timestamp.


Chrome DevTools

Network.webSocketCreated #

Fired upon WebSocket creation.

Parameters

requestId
RequestId

Request identifier.

url
string

WebSocket request URL.

initiator
Optional
Initiator

Request initiator.


Chrome DevTools

Network.webSocketFrameError #

Fired when WebSocket message error occurs.

Parameters

requestId
RequestId

Request identifier.

timestamp
MonotonicTime

Timestamp.

errorMessage
string

WebSocket error message.


Chrome DevTools

Network.webSocketFrameReceived #

Fired when WebSocket message is received.

Parameters

requestId
RequestId

Request identifier.

timestamp
MonotonicTime

Timestamp.

response
WebSocketFrame

WebSocket response data.


Chrome DevTools

Network.webSocketFrameSent #

Fired when WebSocket message is sent.

Parameters

requestId
RequestId

Request identifier.

timestamp
MonotonicTime

Timestamp.

response
WebSocketFrame

WebSocket response data.


Chrome DevTools

Network.webSocketHandshakeResponseReceived #

Fired when WebSocket handshake response becomes available.

Parameters

requestId
RequestId

Request identifier.

timestamp
MonotonicTime

Timestamp.

response
WebSocketResponse

WebSocket response data.


Chrome DevTools

Network.webSocketWillSendHandshakeRequest #

Fired when WebSocket is about to initiate handshake.

Parameters

requestId
RequestId

Request identifier.

timestamp
MonotonicTime

Timestamp.

wallTime
TimeSinceEpoch

UTC Timestamp.

request
WebSocketRequest

WebSocket request data.


Chrome DevTools

Network.webTransportClosed #

Fired when WebTransport is disposed.

Parameters

transportId
RequestId

WebTransport identifier.

timestamp
MonotonicTime

Timestamp.


Chrome DevTools

Network.webTransportConnectionEstablished #

Fired when WebTransport handshake is finished.

Parameters

transportId
RequestId

WebTransport identifier.

timestamp
MonotonicTime

Timestamp.


Chrome DevTools

Network.webTransportCreated #

Fired upon WebTransport creation.

Parameters

transportId
RequestId

WebTransport identifier.

url
string

WebTransport request URL.

timestamp
MonotonicTime

Timestamp.

initiator
Optional
Initiator

Request initiator.


Chrome DevTools

Network.reportingApiEndpointsChangedForOrigin Experimental#

Parameters

origin
string

Origin of the document(s) which configured the endpoints.

endpoints

Chrome DevTools

Network.reportingApiReportAdded Experimental#

Is sent whenever a new report is added. And after 'enableReportingApi' for all existing reports.

Parameters


Chrome DevTools

Network.reportingApiReportUpdated Experimental#

Parameters


Chrome DevTools

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.

Parameters

requestId
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
Headers

Raw request headers as they will be sent over the wire.

connectTiming
ConnectTiming

Connection timing information for the request.

Experimental
clientSecurityState
Optional
ClientSecurityState

The client security state set for the request.

siteHasCookieInOtherPartition
Optional
boolean

Whether the site has partitioned cookies stored in a partition different than the current one.


Chrome DevTools

Network.resourceChangedPriority Experimental#

Fired when resource loading priority is changed

Parameters

requestId
RequestId

Request identifier.

newPriority
ResourcePriority

New priority

timestamp
MonotonicTime

Timestamp.


Chrome DevTools

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
RequestId

Request identifier. Used to match this information to another responseReceived event.

headers
Headers

Raw response headers as they were received over the wire.


Chrome DevTools

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
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
Headers

Raw response headers as they were received over the wire.

resourceIPAddressSpace
IPAddressSpace

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
integer

The 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.

headersText
Optional
string

Raw 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.

cookiePartitionKey
Optional
CookiePartitionKey

The cookie partition key that will be used to store partitioned cookies set in this response. Only sent when partitioned cookies are enabled.

Experimental
cookiePartitionKeyOpaque
Optional
boolean

True if partitioned cookies are enabled, but the partition key is not serializable to string.

exemptedCookies
Optional
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.


Chrome DevTools

Network.signedExchangeReceived Experimental#

Fired when a signed exchange was received over the network

Parameters

requestId
RequestId

Request identifier.

info
SignedExchangeInfo

Information about the signed exchange response.


Chrome DevTools

Network.subresourceWebBundleInnerResponseError Experimental#

Fired when request for resources within a .wbn file failed.

Parameters

innerRequestId
RequestId

Request identifier of the subresource request

innerRequestURL
string

URL of the subresource resource.

errorMessage
string

Error message

bundleRequestId
Optional
RequestId

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.


Chrome DevTools

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
RequestId

Request identifier of the subresource request

innerRequestURL
string

URL of the subresource resource.

bundleRequestId
Optional
RequestId

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.


Chrome DevTools

Network.subresourceWebBundleMetadataError Experimental#

Fired once when parsing the .wbn file has failed.

Parameters

requestId
RequestId

Request identifier. Used to match this information to another event.

errorMessage
string

Error message


Chrome DevTools

Network.subresourceWebBundleMetadataReceived Experimental#

Fired once when parsing the .wbn file has succeeded. The event contains the information about the web bundle contents.

Parameters

requestId
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.


Chrome DevTools

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
string

Detailed 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

requestId
topLevelOrigin
Optional
string

Top level origin. The context in which the operation was attempted.

issuerOrigin
Optional
string

Origin of the issuer in case of a "Issuance" or "Redemption" operation.

issuedTokenCount
Optional
integer

The number of obtained Trust Tokens on a successful "Issuance" operation.


Chrome DevTools

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
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
Page.FrameId

The id of the frame that initiated the request.

resourceType
ResourceType

How the requested resource will be used.

isNavigationRequest
boolean

Whether this is a navigation request, which can abort the navigation completely.

isDownload
Optional
boolean

Set 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).

redirectUrl
Optional
string

Redirect location, only sent if a redirect was intercepted.

authChallenge
Optional
AuthChallenge

Details of the Authorization Challenge encountered. If this is set then continueInterceptedRequest must contain an authChallengeResponse.

responseErrorReason
Optional
ErrorReason

Response error if intercepted at response stage or if redirect occurred while intercepting request.

responseStatusCode
Optional
integer

Response code if intercepted at response stage or if redirect occurred while intercepting request or auth retry occurred.

responseHeaders
Optional
Headers

Response headers if intercepted at the response stage or if redirect occurred while intercepting request or auth retry occurred.

requestId
Optional
RequestId

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

Chrome DevTools

Network.BlockedReason #

The reason why request was blocked.

Type: string

Allowed values: other, csp, mixed-content, origin, inspector, 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


Chrome DevTools

Network.CachedResource #

Information about the cached resource.

Type: object

Properties

url
string

Resource URL. This is the url of the original network request.

type
ResourceType

Type of this resource.

response
Optional
Response

Cached response data.

bodySize
number

Cached response body size.


Chrome DevTools

Network.CertificateTransparencyCompliance #

Whether the request complied with Certificate Transparency policy.

Type: string

Allowed values: unknown, not-compliant, compliant


Chrome DevTools

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


Chrome DevTools

Cookie object

Type: object

Properties

name
string

Cookie name.

value
string

Cookie value.

domain
string

Cookie domain.

path
string

Cookie path.

expires
number

Cookie expiration date as the number of seconds since the UNIX epoch.

size
integer

Cookie size.

httpOnly
boolean

True if cookie is http-only.

secure
boolean

True if cookie is secure.

session
boolean

True in case of session cookie.

sameSite
Optional
CookieSameSite

Cookie SameSite type.

priority
CookiePriority

Cookie Priority

Experimental
sameParty
boolean

True if cookie is SameParty.

ExperimentalDeprecated
sourceScheme
CookieSourceScheme

Cookie source scheme type.

Experimental
sourcePort
integer

Cookie 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.

Experimental
partitionKey
Optional
CookiePartitionKey

Cookie partition key.

Experimental
partitionKeyOpaque
Optional
boolean

True if cookie partition key is opaque.

Experimental

Chrome DevTools

Network.CookieParam #

Cookie parameter object

Type: object

Properties

name
string

Cookie name.

value
string

Cookie value.

url
Optional
string

The 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.

domain
Optional
string

Cookie domain.

path
Optional
string

Cookie path.

secure
Optional
boolean

True if cookie is secure.

httpOnly
Optional
boolean

True if cookie is http-only.

sameSite
Optional
CookieSameSite

Cookie SameSite type.

expires
Optional
TimeSinceEpoch

Cookie expiration date, session cookie if not set

priority
Optional
CookiePriority

Cookie Priority.

Experimental
sameParty
Optional
boolean

True if cookie is SameParty.

Experimental
sourceScheme
Optional
CookieSourceScheme

Cookie source scheme type.

Experimental
sourcePort
Optional
integer

Cookie 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.

Experimental
partitionKey
Optional
CookiePartitionKey

Cookie partition key. If not set, the cookie will be set as not partitioned.

Experimental

Chrome DevTools

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


Chrome DevTools

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


Chrome DevTools

Network.CorsErrorStatus #

Type: object

Properties

corsError
failedParameter
string

Chrome DevTools

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


Chrome DevTools

Network.Headers #

Request / response headers as keys / values of JSON object.

Type: object


Chrome DevTools

Network.Initiator #

Information about the request initiator.

Type: object

Properties

type
string

Type of this initiator.

Allowed values: parser, script, preload, SignedExchange, preflight, other

stack
Optional
Runtime.StackTrace

Initiator JavaScript stack trace, set for Script only.

url
Optional
string

Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.

lineNumber
Optional
number

Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).

columnNumber
Optional
number

Initiator column number, set for Parser type or for Script type (when script is importing module) (0-based).

requestId
Optional
RequestId

Set if another request triggered this request (e.g. preflight).


Chrome DevTools

Network.InterceptionId #

Unique intercepted request identifier.

Type: string


Chrome DevTools

Network.LoaderId #

Unique loader identifier.

Type: string


Chrome DevTools

Network.MonotonicTime #

Monotonically increasing time in seconds since an arbitrary point in the past.

Type: number


Chrome DevTools

Network.PostDataEntry #

Post data entry for HTTP request

Type: object

Properties

bytes
Optional
string

Chrome DevTools

Network.Request #

HTTP request data.

Type: object

Properties

url
string

Request URL (without fragment).

urlFragment
Optional
string

Fragment of the requested URL starting with hash, if present.

method
string

HTTP request method.

headers
Headers

HTTP request headers.

postData
Optional
string

HTTP POST request data. Use postDataEntries instead.

Deprecated
hasPostData
Optional
boolean

True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long.

postDataEntries
Optional
array[ PostDataEntry ]

Request body elements (post data broken into individual entries).

Experimental
mixedContentType
Optional
Security.MixedContentType

The mixed content type of the request.

initialPriority
ResourcePriority

Priority of the resource request at the time request is sent.

referrerPolicy
string

The 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

isLinkPreload
Optional
boolean

Whether is loaded via link preload.

trustTokenParams
Optional
TrustTokenParams

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.

Experimental
isSameSite
Optional
boolean

True if this resource request is considered to be the 'same site' as the request corresponding to the main frame.

Experimental

Chrome DevTools

Network.RequestId #

Unique request identifier.

Type: string


Chrome DevTools

Network.ResourcePriority #

Loading priority of a resource request.

Type: string

Allowed values: VeryLow, Low, Medium, High, VeryHigh


Chrome DevTools

Network.ResourceTiming #

Timing information for the request.

Type: object

Properties

requestTime
number

Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.

proxyStart
number

Started resolving proxy.

proxyEnd
number

Finished resolving proxy.

dnsStart
number

Started DNS address resolve.

dnsEnd
number

Finished DNS address resolve.

connectStart
number

Started connecting to the remote host.

connectEnd
number

Connected to the remote host.

sslStart
number

Started SSL handshake.

sslEnd
number

Finished SSL handshake.

workerStart
number

Started running ServiceWorker.

Experimental
workerReady
number

Finished Starting ServiceWorker.

Experimental
workerFetchStart
number

Started fetch event.

Experimental
workerRespondWithSettled
number

Settled fetch event respondWith promise.

Experimental
workerRouterEvaluationStart
Optional
number

Started ServiceWorker static routing source evaluation.

Experimental
workerCacheLookupStart
Optional
number

Started cache lookup when the source was evaluated to cache.

Experimental
sendStart
number

Started sending request.

sendEnd
number

Finished sending request.

pushStart
number

Time the server started pushing request.

Experimental
pushEnd
number

Time the server finished pushing request.

Experimental
receiveHeadersStart
number

Started receiving response headers.

Experimental
receiveHeadersEnd
number

Finished receiving response headers.


Chrome DevTools

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, Other


Chrome DevTools

Network.Response #

HTTP response data.

Type: object

Properties

url
string

Response URL. This URL can be different from CachedResource.url in case of redirect.

status
integer

HTTP response status code.

statusText
string

HTTP response status text.

headers
Headers

HTTP response headers.

headersText
Optional
string

HTTP response headers text. This has been replaced by the headers in Network.responseReceivedExtraInfo.

Deprecated
mimeType
string

Resource mimeType as determined by the browser.

charset
string

Resource charset as determined by the browser (if applicable).

requestHeaders
Optional
Headers

Refined HTTP request headers that were actually transmitted over the network.

requestHeadersText
Optional
string

HTTP request headers text. This has been replaced by the headers in Network.requestWillBeSentExtraInfo.

Deprecated
connectionReused
boolean

Specifies whether physical connection was actually reused for this request.

connectionId
number

Physical connection id that was actually used for this request.

remoteIPAddress
Optional
string

Remote IP address.

remotePort
Optional
integer

Remote port.

fromDiskCache
Optional
boolean

Specifies that the request was served from the disk cache.

fromServiceWorker
Optional
boolean

Specifies that the request was served from the ServiceWorker.

fromPrefetchCache
Optional
boolean

Specifies that the request was served from the prefetch cache.

fromEarlyHints
Optional
boolean

Specifies that the request was served from the prefetch cache.

serviceWorkerRouterInfo
Optional
ServiceWorkerRouterInfo

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.

Experimental
encodedDataLength
number

Total number of bytes received for this request so far.

timing
Optional
ResourceTiming

Timing information for the given request.

serviceWorkerResponseSource
Optional
ServiceWorkerResponseSource

Response source of response from ServiceWorker.

responseTime
Optional
TimeSinceEpoch

The time at which the returned response was generated.

cacheStorageCacheName
Optional
string

Cache Storage Cache Name.

protocol
Optional
string

Protocol used to fetch this request.

alternateProtocolUsage
Optional
AlternateProtocolUsage

The reason why Chrome uses a specific transport protocol for HTTP semantics.

Experimental
securityState
Security.SecurityState

Security state of the request resource.

securityDetails
Optional
SecurityDetails

Security details for the request.


Chrome DevTools

Network.SecurityDetails #

Security details about a request.

Type: object

Properties

protocol
string

Protocol name (e.g. "TLS 1.2" or "QUIC").

keyExchange
string

Key Exchange used by the connection, or the empty string if not applicable.

keyExchangeGroup
Optional
string

(EC)DH group used by the connection, if applicable.

cipher
string

Cipher name.

mac
Optional
string

TLS MAC. Note that AEAD ciphers do not have separate MACs.

certificateId
Security.CertificateId

Certificate ID value.

subjectName
string

Certificate subject name.

sanList
array[ string ]

Subject Alternative Name (SAN) DNS names and IP addresses.

issuer
string

Name of the issuing CA.

validFrom
TimeSinceEpoch

Certificate valid from date.

validTo
TimeSinceEpoch

Certificate valid to (expiration) date

signedCertificateTimestampList
array[ SignedCertificateTimestamp ]

List of signed certificate timestamps (SCTs).

certificateTransparencyCompliance
CertificateTransparencyCompliance

Whether the request complied with Certificate Transparency policy

serverSignatureAlgorithm
Optional
integer

The 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
boolean

Whether the connection used Encrypted ClientHello


Chrome DevTools

Network.ServiceWorkerResponseSource #

Source of serviceworker response.

Type: string

Allowed values: cache-storage, http-cache, fallback-code, network


Chrome DevTools

Network.ServiceWorkerRouterSource #

Source of service worker router.

Type: string

Allowed values: network, cache, fetch-event, race-network-and-fetch-handler


Chrome DevTools

Network.SignedCertificateTimestamp #

Details of a signed certificate timestamp (SCT).

Type: object

Properties

status
string

Validation status.

origin
string

Origin.

logDescription
string

Log name / description.

logId
string

Log ID.

timestamp
number

Issuance date. Unlike TimeSinceEpoch, this contains the number of milliseconds since January 1, 1970, UTC, not the number of seconds.

hashAlgorithm
string

Hash algorithm.

signatureAlgorithm
string

Signature algorithm.

signatureData
string

Signature data.


Chrome DevTools

Network.TimeSinceEpoch #

UTC time in seconds, counted from January 1, 1970.

Type: number


Chrome DevTools

Network.WebSocketFrame #

WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests.

Type: object

Properties

opcode
number

WebSocket message opcode.

mask
boolean

WebSocket message mask.

payloadData
string

WebSocket 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.


Chrome DevTools

Network.WebSocketRequest #

WebSocket request data.

Type: object

Properties

headers
Headers

HTTP request headers.


Chrome DevTools

Network.WebSocketResponse #

WebSocket response data.

Type: object

Properties

status
integer

HTTP response status code.

statusText
string

HTTP response status text.

headers
Headers

HTTP response headers.

headersText
Optional
string

HTTP response headers text.

requestHeaders
Optional
Headers

HTTP request headers.

requestHeadersText
Optional
string

HTTP request headers text.


Chrome DevTools

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


Chrome DevTools

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
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.

exemptionReason
Optional
CookieExemptionReason

The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could only have at most one exemption reason.


Chrome DevTools

Network.AuthChallenge Experimental#

Authorization challenge for HTTP status code 401 or 407.

Type: object

Properties

source
Optional
string

Source of the authentication challenge.

Allowed values: Server, Proxy

origin
string

Origin of the challenger.

scheme
string

The authentication scheme used, such as basic or digest

realm
string

The realm of the challenge. May be empty.


Chrome DevTools

Network.AuthChallengeResponse Experimental#

Response to an AuthChallenge.

Type: object

Properties

response
string

The 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

username
Optional
string

The username to provide, possibly empty. Should only be set if response is ProvideCredentials.

password
Optional
string

The password to provide, possibly empty. Should only be set if response is ProvideCredentials.


Chrome DevTools

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
string

The 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.

cookie
Optional
Cookie

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.


Chrome DevTools

Network.ClientSecurityState Experimental#

Type: object

Properties

initiatorIsSecureContext
boolean
initiatorIPAddressSpace
privateNetworkRequestPolicy

Chrome DevTools

Network.ConnectTiming Experimental#

Type: object

Properties

requestTime
number

Timing'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).


Chrome DevTools

Network.ContentEncoding Experimental#

List of content encodings supported by the backend.

Type: string

Allowed values: deflate, gzip, br, zstd


Chrome DevTools

Network.ContentSecurityPolicySource Experimental#

Type: string

Allowed values: HTTP, Meta


Chrome DevTools

Network.ContentSecurityPolicyStatus Experimental#

Type: object

Properties

effectiveDirectives
string
isEnforced
boolean

Chrome DevTools

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


Chrome DevTools

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, TPCDHeuristics, EnterprisePolicy, StorageAccess, TopLevelStorageAccess, CorsOptIn, Scheme


Chrome DevTools

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
string

The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie.

hasCrossSiteAncestor
boolean

Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.


Chrome DevTools

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


Chrome DevTools

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


Chrome DevTools

Network.CrossOriginEmbedderPolicyStatus Experimental#

Type: object

Properties

reportingEndpoint
Optional
string
reportOnlyReportingEndpoint
Optional
string

Chrome DevTools

Network.CrossOriginEmbedderPolicyValue Experimental#

Type: string

Allowed values: None, Credentialless, RequireCorp


Chrome DevTools

Network.CrossOriginOpenerPolicyStatus Experimental#

Type: object

Properties

reportingEndpoint
Optional
string
reportOnlyReportingEndpoint
Optional
string

Chrome DevTools

Network.CrossOriginOpenerPolicyValue Experimental#

Type: string

Allowed values: SameOrigin, SameOriginAllowPopups, RestrictProperties, UnsafeNone, SameOriginPlusCoep, RestrictPropertiesPlusCoep


Chrome DevTools

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
CookieExemptionReason

The reason the cookie was exempted.

cookieLine
string

The string representing this individual cookie as it would appear in the header.

cookie
Cookie

The cookie object representing the cookie.


Chrome DevTools

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


Chrome DevTools

Network.IPAddressSpace Experimental#

Type: string

Allowed values: Local, Private, Public, Unknown


Chrome DevTools

Network.LoadNetworkResourceOptions Experimental#

An options object that may be extended later to better support CORS, CORB and streaming.

Type: object

Properties

disableCache
boolean
includeCredentials
boolean

Chrome DevTools

Network.LoadNetworkResourcePageResult Experimental#

An object providing the result of a network resource load.

Type: object

Properties

success
boolean
netError
Optional
number

Optional values used for error reporting.

netErrorName
Optional
string
httpStatusCode
Optional
number
stream
Optional
IO.StreamHandle

If successful, one of the following two fields holds the result.

headers
Optional
Network.Headers

Response headers.


Chrome DevTools

Network.PrivateNetworkRequestPolicy Experimental#

Type: string

Allowed values: Allow, BlockFromInsecureToMorePrivate, WarnFromInsecureToMorePrivate, PreflightBlock, PreflightWarn


Chrome DevTools

Network.ReportId Experimental#

Type: string


Chrome DevTools

Network.ReportingApiEndpoint Experimental#

Type: object

Properties

url
string

The URL of the endpoint to which reports may be delivered.

groupName
string

Name of the endpoint group.


Chrome DevTools

Network.ReportingApiReport Experimental#

An object representing a report generated by the Reporting API.

Type: object

Properties

initiatorUrl
string

The URL of the document that triggered the report.

destination
string

The name of the endpoint group that should be used to deliver the report.

type
string

The type of the report (specifies the set of data that is contained in the report body).

timestamp
Network.TimeSinceEpoch

When the report was generated.

depth
integer

How many uploads deep the related request was.

completedAttempts
integer

The number of delivery attempts made so far, not including an active attempt.

body
object

Chrome DevTools

Network.ReportStatus Experimental#

The status of a Reporting API report.

Type: string

Allowed values: Queued, Pending, MarkedForRemoval, Success


Chrome DevTools

Network.RequestPattern Experimental#

Request pattern for interception.

Type: object

Properties

urlPattern
Optional
string

Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is backslash. Omitting is equivalent to "*".

resourceType
Optional
ResourceType

If set, only requests for matching resource types will be intercepted.

interceptionStage
Optional
InterceptionStage

Stage at which to begin intercepting requests. Default is Request.


Chrome DevTools

Network.SecurityIsolationStatus Experimental#

Type: object

Properties

csp
Optional

Chrome DevTools

Network.ServiceWorkerRouterInfo Experimental#

Type: object

Properties

ruleIdMatched
Optional
integer

ID of the rule matched. If there is a matched rule, this field will be set, otherwiser no value will be set.

matchedSourceType
Optional
ServiceWorkerRouterSource

The router source of the matched rule. If there is a matched rule, this field will be set, otherwise no value will be set.

actualSourceType
Optional
ServiceWorkerRouterSource

The actual router source used.


Chrome DevTools

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


Chrome DevTools

Network.SignedExchangeError Experimental#

Information about a signed exchange response.

Type: object

Properties

message
string

Error message.

signatureIndex
Optional
integer

The index of the signature which caused the error.

errorField
Optional
SignedExchangeErrorField

The field which caused the error.


Chrome DevTools

Network.SignedExchangeErrorField Experimental#

Field type for a signed exchange related error.

Type: string

Allowed values: signatureSig, signatureIntegrity, signatureCertUrl, signatureCertSha256, signatureValidityUrl, signatureTimestamps


Chrome DevTools

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
string

Signed exchange request URL.

responseCode
integer

Signed exchange response code.

responseHeaders
Headers

Signed exchange response headers.

signatures
array[ SignedExchangeSignature ]

Signed exchange response signature.

headerIntegrity
string

Signed exchange header integrity hash in the form of sha256-<base64-hash-value>.


Chrome DevTools

Network.SignedExchangeInfo Experimental#

Information about a signed exchange response.

Type: object

Properties

outerResponse
Response

The outer response of signed HTTP exchange which was received from network.

header
Optional
SignedExchangeHeader

Information about the signed exchange header.

securityDetails
Optional
SecurityDetails

Security details for the signed exchange header.

errors
Optional
array[ SignedExchangeError ]

Errors occurred while handling the signed exchange.


Chrome DevTools

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
string

Signed exchange signature label.

signature
string

The hex string of signed exchange signature.

integrity
string

Signed exchange signature integrity.

certUrl
Optional
string

Signed exchange signature cert Url.

certSha256
Optional
string

The hex string of signed exchange signature cert sha256.

validityUrl
string

Signed exchange signature validity Url.

date
integer

Signed exchange signature date.

expires
integer

Signed exchange signature expires.

certificates
Optional
array[ string ]

The encoded certificates.


Chrome DevTools

Network.TrustTokenOperationType Experimental#

Type: string

Allowed values: Issuance, Redemption, Signing


Chrome DevTools

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

refreshPolicy
string

Only set for "token-redemption" operation and determine whether to request a fresh SRR or use a still valid cached SRR.

Allowed values: UseCached, Refresh

issuers
Optional
array[ string ]

Origins of issuers from whom to request tokens or redemption records.