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.getResponseBodyForInterception Experimental
- Network.getSecurityIsolationStatus Experimental
- Network.loadNetworkResource Experimental
- Network.replayXHR Experimental
- Network.searchInResponseBody Experimental
- Network.setAcceptedEncodings Experimental
- Network.setAttachDebugStack Experimental
- Network.setBlockedURLs 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.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.ExemptedSetCookieWithReason Experimental
- Network.InterceptionStage Experimental
- Network.IPAddressSpace 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
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
If specified, deletes only cookies with the the given name and partitionKey where all partition key attributes match the cookie partition key attribute.
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
Connection type if known.
packetLoss
Optional
number
WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.
packetQueueLength
Optional
integer
WebRTC packet queue length (packet). 0 removes any queue length limitations.
packetReordering
Optional
boolean
WebRTC packetReordering feature.
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).
maxResourceBufferSize
Optional
integer
Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
maxPostDataSize
Optional
integer
Longest post body size (in bytes) that would be included in requestWillBeSent notification
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.
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
string
Request body string, omitting files from multipart requests
Network.getResponseBody #
Returns content served for the given request.
Parameters
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.
Network.setBypassServiceWorker #
Toggles ignoring of service worker for each request.
Parameters
bypass
boolean
Bypass service worker and load from network.
Network.setCacheDisabled #
Toggles ignoring cache for each request. If true
, cache will not be used.
Parameters
cacheDisabled
boolean
Cache disabled state.
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
Cookie SameSite type.
expires
Optional
Cookie expiration date, session cookie if not set
priority
Optional
sameParty
Optional
boolean
True if cookie is SameParty.
sourceScheme
Optional
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.
partitionKey
Optional
Cookie partition key. If not set, the cookie will be set as not partitioned.
Return object
success
boolean
Always 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
string
User agent to use.
acceptLanguage
Optional
string
Browser language to emulate.
platform
Optional
string
The platform navigator.platform should return.
userAgentMetadata
Optional
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
boolean
True if browser cache can be cleared.
Network.canClearBrowserCookies Deprecated#
Tells whether clearing browser cookies is supported.
Return object
result
boolean
True if browser cookies can be cleared.
Network.canEmulateNetworkConditions Deprecated#
Tells whether emulation of network conditions is supported.
Return object
result
boolean
True 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
boolean
Whether to enable or disable events for the Reporting API
Network.getCertificate Experimental#
Returns the DER-encoded certificate.
Parameters
origin
string
Origin to get certificate for.
Return object
tableNames
array[ string
]
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
string
Response body.
base64Encoded
boolean
True, if content was sent as base64.
Network.getSecurityIsolationStatus Experimental#
Returns information about the COEP/COOP isolation status.
Parameters
frameId
Optional
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
frameId
Optional
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
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
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.
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
boolean
Whether 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.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
string
Data 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
errorReason
Optional
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
If set this allows the request headers to be changed. Must not be set in response to an authChallenge.
authChallengeResponse
Optional
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.
Parameters
requestId
Request identifier.
timestamp
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)
Network.eventSourceMessageReceived #
Fired when EventSource message is received.
Parameters
requestId
Request identifier.
timestamp
Timestamp.
eventName
string
Message type.
eventId
string
Message identifier.
data
string
Message content.
Network.loadingFailed #
Fired when HTTP request has failed to load.
Parameters
requestId
Request identifier.
timestamp
Timestamp.
type
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
The reason why loading was blocked, if any.
corsErrorStatus
Optional
The reason why loading was blocked by CORS, if any.
Network.loadingFinished #
Fired when HTTP request has finished loading.
Parameters
requestId
Request identifier.
timestamp
Timestamp.
encodedDataLength
number
Total 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.
Parameters
requestId
Request identifier.
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 data.
timestamp
Timestamp.
wallTime
Timestamp.
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.
redirectResponse
Optional
Redirect response data.
type
Optional
Type of this resource.
frameId
Optional
Frame identifier.
hasUserGesture
Optional
boolean
Whether the request is initiated by a user gesture. Defaults to false.
Network.responseReceived #
Fired when HTTP response is available.
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
boolean
Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted for this request.
frameId
Optional
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
string
WebSocket request URL.
initiator
Optional
Request initiator.
Network.webSocketFrameError #
Fired when WebSocket message error occurs.
Parameters
requestId
Request identifier.
timestamp
Timestamp.
errorMessage
string
WebSocket 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
string
WebTransport request URL.
timestamp
Timestamp.
initiator
Optional
Request initiator.
Network.reportingApiEndpointsChangedForOrigin Experimental#
Parameters
origin
string
Origin 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.
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
clientSecurityState
Optional
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.
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.
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.
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
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
The cookie partition key that will be used to store partitioned cookies set in this response. Only sent when partitioned cookies are enabled.
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.
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
string
URL of the subresource resource.
errorMessage
string
Error message
bundleRequestId
Optional
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
string
URL of the subresource resource.
bundleRequestId
Optional
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
string
Error 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
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.
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
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
Details of the Authorization Challenge encountered. If this is set then continueInterceptedRequest must contain an authChallengeResponse.
responseErrorReason
Optional
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
Response headers if intercepted at the response stage or if redirect occurred while intercepting request or auth retry occurred.
requestId
Optional
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
, 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
Network.CachedResource #
Information about the cached resource.
Type: object
Properties
url
string
Resource URL. This is the url of the original network request.
type
Type of this resource.
response
Optional
Cached response data.
bodySize
number
Cached 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
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
Cookie SameSite type.
priority
sameParty
boolean
True if cookie is SameParty.
sourceScheme
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.
partitionKey
Optional
partitionKeyOpaque
Optional
boolean
True if cookie partition key is opaque.
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
Cookie SameSite type.
expires
Optional
Cookie expiration date, session cookie if not set
priority
Optional
sameParty
Optional
boolean
True if cookie is SameParty.
sourceScheme
Optional
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.
partitionKey
Optional
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
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
string
Type of this initiator.
Allowed values: parser
, script
, preload
, SignedExchange
, preflight
, other
stack
Optional
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
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
string
Request URL (without fragment).
urlFragment
Optional
string
Fragment of the requested URL starting with hash, if present.
method
string
HTTP request method.
headers
HTTP request headers.
postData
Optional
string
HTTP POST request data. Use postDataEntries instead.
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).
mixedContentType
Optional
The mixed content type of the request.
initialPriority
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
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.
isSameSite
Optional
boolean
True if this resource request is considered to be the 'same site' as the request corresponding to the main frame.
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
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.
workerReady
number
Finished Starting ServiceWorker.
workerFetchStart
number
Started fetch event.
workerRespondWithSettled
number
Settled fetch event respondWith promise.
workerRouterEvaluationStart
Optional
number
Started ServiceWorker static routing source evaluation.
workerCacheLookupStart
Optional
number
Started cache lookup when the source was evaluated to cache
.
sendStart
number
Started sending request.
sendEnd
number
Finished sending request.
pushStart
number
Time the server started pushing request.
pushEnd
number
Time the server finished pushing request.
receiveHeadersStart
number
Started receiving response headers.
receiveHeadersEnd
number
Finished 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
, Other
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
HTTP response headers.
headersText
Optional
string
HTTP response headers text. This has been replaced by the headers in Network.responseReceivedExtraInfo.
mimeType
string
Resource mimeType as determined by the browser.
charset
string
Resource charset as determined by the browser (if applicable).
requestHeaders
Optional
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.
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
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
number
Total number of bytes received for this request so far.
timing
Optional
Timing information for the given request.
serviceWorkerResponseSource
Optional
Response source of response from ServiceWorker.
responseTime
Optional
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
The reason why Chrome uses a specific transport protocol for HTTP semantics.
securityState
Security state of the request resource.
securityDetails
Optional
Security details for the request.
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
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
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
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
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
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.
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.
Network.WebSocketRequest #
WebSocket request data.
Type: object
Properties
headers
HTTP request headers.
Network.WebSocketResponse #
WebSocket response data.
Type: object
Properties
status
integer
HTTP response status code.
statusText
string
HTTP response status text.
headers
HTTP response headers.
headersText
Optional
string
HTTP response headers text.
requestHeaders
Optional
HTTP request headers.
requestHeadersText
Optional
string
HTTP 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.
exemptionReason
Optional
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
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.
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.
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
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
boolean
initiatorIPAddressSpace
privateNetworkRequestPolicy
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).
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
string
isEnforced
boolean
source
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
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
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.
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
reportingEndpoint
Optional
string
reportOnlyReportingEndpoint
Optional
string
Network.CrossOriginEmbedderPolicyValue Experimental#
Type: string
Allowed values: None
, Credentialless
, RequireCorp
Network.CrossOriginOpenerPolicyStatus Experimental#
Type: object
Properties
reportOnlyValue
reportingEndpoint
Optional
string
reportOnlyReportingEndpoint
Optional
string
Network.CrossOriginOpenerPolicyValue Experimental#
Type: string
Allowed values: SameOrigin
, SameOriginAllowPopups
, RestrictProperties
, UnsafeNone
, SameOriginPlusCoep
, RestrictPropertiesPlusCoep
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
string
The 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.LoadNetworkResourceOptions Experimental#
An options object that may be extended later to better support CORS, CORB and streaming.
Type: object
Properties
disableCache
boolean
includeCredentials
boolean
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
If successful, one of the following two fields holds the result.
headers
Optional
Response headers.
Network.PrivateNetworkRequestPolicy Experimental#
Type: string
Allowed values: Allow
, BlockFromInsecureToMorePrivate
, WarnFromInsecureToMorePrivate
, PreflightBlock
, PreflightWarn
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.
Network.ReportingApiReport Experimental#
An object representing a report generated by the Reporting API.
Type: object
Properties
id
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
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
status
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
urlPattern
Optional
string
Wildcards ('*'
-> zero or more, '?'
-> exactly one) are allowed. Escape character is
backslash. Omitting is equivalent to "*"
.
resourceType
Optional
If set, only requests for matching resource types will be intercepted.
interceptionStage
Optional
Stage at which to begin intercepting requests. Default is Request.
Network.SecurityIsolationStatus Experimental#
Type: object
Properties
coop
Optional
coep
Optional
csp
Optional
array[ ContentSecurityPolicyStatus ]
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
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
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
string
Error message.
signatureIndex
Optional
integer
The index of the signature which caused the error.
errorField
Optional
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
string
Signed exchange request URL.
responseCode
integer
Signed exchange response code.
responseHeaders
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>
.
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.
header
Optional
Information about the signed exchange header.
securityDetails
Optional
Security details for the signed exchange header.
errors
Optional
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
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.
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
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.