devtools-protocol 0.0.1498597 → 0.0.1501779
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/browser_protocol.json +17960 -17689
- package/json/js_protocol.json +6 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +47 -13824
- package/pdl/domains/Accessibility.pdl +290 -0
- package/pdl/domains/Animation.pdl +195 -0
- package/pdl/domains/Audits.pdl +755 -0
- package/pdl/domains/Autofill.pdl +106 -0
- package/pdl/domains/BackgroundService.pdl +77 -0
- package/pdl/domains/BluetoothEmulation.pdl +227 -0
- package/pdl/domains/Browser.pdl +345 -0
- package/pdl/domains/CSS.pdl +996 -0
- package/pdl/domains/CacheStorage.pdl +125 -0
- package/pdl/domains/Cast.pdl +62 -0
- package/pdl/domains/DOM.pdl +932 -0
- package/pdl/domains/DOMDebugger.pdl +128 -0
- package/pdl/domains/DOMSnapshot.pdl +319 -0
- package/pdl/domains/DOMStorage.pdl +72 -0
- package/pdl/domains/DeviceAccess.pdl +43 -0
- package/pdl/domains/DeviceOrientation.pdl +20 -0
- package/pdl/domains/Emulation.pdl +608 -0
- package/pdl/domains/EventBreakpoints.pdl +24 -0
- package/pdl/domains/Extensions.pdl +72 -0
- package/pdl/domains/FedCm.pdl +100 -0
- package/pdl/domains/Fetch.pdl +251 -0
- package/pdl/domains/FileSystem.pdl +41 -0
- package/pdl/domains/HeadlessExperimental.pdl +56 -0
- package/pdl/domains/IO.pdl +45 -0
- package/pdl/domains/IndexedDB.pdl +226 -0
- package/pdl/domains/Input.pdl +336 -0
- package/pdl/domains/Inspector.pdl +25 -0
- package/pdl/domains/LayerTree.pdl +178 -0
- package/pdl/domains/Log.pdl +93 -0
- package/pdl/domains/Media.pdl +106 -0
- package/pdl/domains/Memory.pdl +112 -0
- package/pdl/domains/Network.pdl +2039 -0
- package/pdl/domains/Overlay.pdl +498 -0
- package/pdl/domains/PWA.pdl +142 -0
- package/pdl/domains/Page.pdl +1767 -0
- package/pdl/domains/Performance.pdl +54 -0
- package/pdl/domains/PerformanceTimeline.pdl +71 -0
- package/pdl/domains/Preload.pdl +290 -0
- package/pdl/domains/Security.pdl +196 -0
- package/pdl/domains/ServiceWorker.pdl +121 -0
- package/pdl/domains/Storage.pdl +913 -0
- package/pdl/domains/SystemInfo.pdl +145 -0
- package/pdl/domains/Target.pdl +327 -0
- package/pdl/domains/Tethering.pdl +28 -0
- package/pdl/domains/Tracing.pdl +157 -0
- package/pdl/domains/WebAudio.pdl +205 -0
- package/pdl/domains/WebAuthn.pdl +230 -0
- package/types/protocol-mapping.d.ts +992 -615
- package/types/protocol-proxy-api.d.ts +543 -522
- package/types/protocol-tests-proxy-api.d.ts +628 -607
- package/types/protocol.d.ts +8059 -7903
@@ -0,0 +1,2039 @@
|
|
1
|
+
# Copyright 2017 The Chromium Authors
|
2
|
+
# Use of this source code is governed by a BSD-style license that can be
|
3
|
+
# found in the LICENSE file.
|
4
|
+
#
|
5
|
+
# Contributing to Chrome DevTools Protocol: https://goo.gle/devtools-contribution-guide-cdp
|
6
|
+
|
7
|
+
# Network domain allows tracking network activities of the page. It exposes information about http,
|
8
|
+
# file, data and other requests and responses, their headers, bodies, timing, etc.
|
9
|
+
domain Network
|
10
|
+
depends on Debugger
|
11
|
+
depends on Runtime
|
12
|
+
depends on Security
|
13
|
+
|
14
|
+
# Resource type as it was perceived by the rendering engine.
|
15
|
+
type ResourceType extends string
|
16
|
+
enum
|
17
|
+
Document
|
18
|
+
Stylesheet
|
19
|
+
Image
|
20
|
+
Media
|
21
|
+
Font
|
22
|
+
Script
|
23
|
+
TextTrack
|
24
|
+
XHR
|
25
|
+
Fetch
|
26
|
+
Prefetch
|
27
|
+
EventSource
|
28
|
+
WebSocket
|
29
|
+
Manifest
|
30
|
+
SignedExchange
|
31
|
+
Ping
|
32
|
+
CSPViolationReport
|
33
|
+
Preflight
|
34
|
+
FedCM
|
35
|
+
Other
|
36
|
+
|
37
|
+
# Unique loader identifier.
|
38
|
+
type LoaderId extends string
|
39
|
+
|
40
|
+
# Unique network request identifier.
|
41
|
+
# Note that this does not identify individual HTTP requests that are part of
|
42
|
+
# a network request.
|
43
|
+
type RequestId extends string
|
44
|
+
|
45
|
+
# Unique intercepted request identifier.
|
46
|
+
type InterceptionId extends string
|
47
|
+
|
48
|
+
# Network level fetch failure reason.
|
49
|
+
type ErrorReason extends string
|
50
|
+
enum
|
51
|
+
Failed
|
52
|
+
Aborted
|
53
|
+
TimedOut
|
54
|
+
AccessDenied
|
55
|
+
ConnectionClosed
|
56
|
+
ConnectionReset
|
57
|
+
ConnectionRefused
|
58
|
+
ConnectionAborted
|
59
|
+
ConnectionFailed
|
60
|
+
NameNotResolved
|
61
|
+
InternetDisconnected
|
62
|
+
AddressUnreachable
|
63
|
+
BlockedByClient
|
64
|
+
BlockedByResponse
|
65
|
+
|
66
|
+
# UTC time in seconds, counted from January 1, 1970.
|
67
|
+
type TimeSinceEpoch extends number
|
68
|
+
|
69
|
+
# Monotonically increasing time in seconds since an arbitrary point in the past.
|
70
|
+
type MonotonicTime extends number
|
71
|
+
|
72
|
+
# Request / response headers as keys / values of JSON object.
|
73
|
+
type Headers extends object
|
74
|
+
|
75
|
+
# The underlying connection technology that the browser is supposedly using.
|
76
|
+
type ConnectionType extends string
|
77
|
+
enum
|
78
|
+
none
|
79
|
+
cellular2g
|
80
|
+
cellular3g
|
81
|
+
cellular4g
|
82
|
+
bluetooth
|
83
|
+
ethernet
|
84
|
+
wifi
|
85
|
+
wimax
|
86
|
+
other
|
87
|
+
|
88
|
+
# Represents the cookie's 'SameSite' status:
|
89
|
+
# https://tools.ietf.org/html/draft-west-first-party-cookies
|
90
|
+
type CookieSameSite extends string
|
91
|
+
enum
|
92
|
+
Strict
|
93
|
+
Lax
|
94
|
+
None
|
95
|
+
|
96
|
+
# Represents the cookie's 'Priority' status:
|
97
|
+
# https://tools.ietf.org/html/draft-west-cookie-priority-00
|
98
|
+
experimental type CookiePriority extends string
|
99
|
+
enum
|
100
|
+
Low
|
101
|
+
Medium
|
102
|
+
High
|
103
|
+
|
104
|
+
# Represents the source scheme of the origin that originally set the cookie.
|
105
|
+
# A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme.
|
106
|
+
# This is a temporary ability and it will be removed in the future.
|
107
|
+
experimental type CookieSourceScheme extends string
|
108
|
+
enum
|
109
|
+
Unset
|
110
|
+
NonSecure
|
111
|
+
Secure
|
112
|
+
|
113
|
+
# Timing information for the request.
|
114
|
+
type ResourceTiming extends object
|
115
|
+
properties
|
116
|
+
# Timing's requestTime is a baseline in seconds, while the other numbers are ticks in
|
117
|
+
# milliseconds relatively to this requestTime.
|
118
|
+
number requestTime
|
119
|
+
# Started resolving proxy.
|
120
|
+
number proxyStart
|
121
|
+
# Finished resolving proxy.
|
122
|
+
number proxyEnd
|
123
|
+
# Started DNS address resolve.
|
124
|
+
number dnsStart
|
125
|
+
# Finished DNS address resolve.
|
126
|
+
number dnsEnd
|
127
|
+
# Started connecting to the remote host.
|
128
|
+
number connectStart
|
129
|
+
# Connected to the remote host.
|
130
|
+
number connectEnd
|
131
|
+
# Started SSL handshake.
|
132
|
+
number sslStart
|
133
|
+
# Finished SSL handshake.
|
134
|
+
number sslEnd
|
135
|
+
# Started running ServiceWorker.
|
136
|
+
experimental number workerStart
|
137
|
+
# Finished Starting ServiceWorker.
|
138
|
+
experimental number workerReady
|
139
|
+
# Started fetch event.
|
140
|
+
experimental number workerFetchStart
|
141
|
+
# Settled fetch event respondWith promise.
|
142
|
+
experimental number workerRespondWithSettled
|
143
|
+
# Started ServiceWorker static routing source evaluation.
|
144
|
+
experimental optional number workerRouterEvaluationStart
|
145
|
+
# Started cache lookup when the source was evaluated to `cache`.
|
146
|
+
experimental optional number workerCacheLookupStart
|
147
|
+
# Started sending request.
|
148
|
+
number sendStart
|
149
|
+
# Finished sending request.
|
150
|
+
number sendEnd
|
151
|
+
# Time the server started pushing request.
|
152
|
+
experimental number pushStart
|
153
|
+
# Time the server finished pushing request.
|
154
|
+
experimental number pushEnd
|
155
|
+
# Started receiving response headers.
|
156
|
+
experimental number receiveHeadersStart
|
157
|
+
# Finished receiving response headers.
|
158
|
+
number receiveHeadersEnd
|
159
|
+
|
160
|
+
# Loading priority of a resource request.
|
161
|
+
type ResourcePriority extends string
|
162
|
+
enum
|
163
|
+
VeryLow
|
164
|
+
Low
|
165
|
+
Medium
|
166
|
+
High
|
167
|
+
VeryHigh
|
168
|
+
|
169
|
+
# Post data entry for HTTP request
|
170
|
+
type PostDataEntry extends object
|
171
|
+
properties
|
172
|
+
optional binary bytes
|
173
|
+
|
174
|
+
# HTTP request data.
|
175
|
+
type Request extends object
|
176
|
+
properties
|
177
|
+
# Request URL (without fragment).
|
178
|
+
string url
|
179
|
+
# Fragment of the requested URL starting with hash, if present.
|
180
|
+
optional string urlFragment
|
181
|
+
# HTTP request method.
|
182
|
+
string method
|
183
|
+
# HTTP request headers.
|
184
|
+
Headers headers
|
185
|
+
# HTTP POST request data.
|
186
|
+
# Use postDataEntries instead.
|
187
|
+
deprecated optional string postData
|
188
|
+
# 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.
|
189
|
+
optional boolean hasPostData
|
190
|
+
# Request body elements (post data broken into individual entries).
|
191
|
+
experimental optional array of PostDataEntry postDataEntries
|
192
|
+
# The mixed content type of the request.
|
193
|
+
optional Security.MixedContentType mixedContentType
|
194
|
+
# Priority of the resource request at the time request is sent.
|
195
|
+
ResourcePriority initialPriority
|
196
|
+
# The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/
|
197
|
+
enum referrerPolicy
|
198
|
+
unsafe-url
|
199
|
+
no-referrer-when-downgrade
|
200
|
+
no-referrer
|
201
|
+
origin
|
202
|
+
origin-when-cross-origin
|
203
|
+
same-origin
|
204
|
+
strict-origin
|
205
|
+
strict-origin-when-cross-origin
|
206
|
+
# Whether is loaded via link preload.
|
207
|
+
optional boolean isLinkPreload
|
208
|
+
# Set for requests when the TrustToken API is used. Contains the parameters
|
209
|
+
# passed by the developer (e.g. via "fetch") as understood by the backend.
|
210
|
+
experimental optional TrustTokenParams trustTokenParams
|
211
|
+
# True if this resource request is considered to be the 'same site' as the
|
212
|
+
# request corresponding to the main frame.
|
213
|
+
experimental optional boolean isSameSite
|
214
|
+
|
215
|
+
# Details of a signed certificate timestamp (SCT).
|
216
|
+
type SignedCertificateTimestamp extends object
|
217
|
+
properties
|
218
|
+
# Validation status.
|
219
|
+
string status
|
220
|
+
# Origin.
|
221
|
+
string origin
|
222
|
+
# Log name / description.
|
223
|
+
string logDescription
|
224
|
+
# Log ID.
|
225
|
+
string logId
|
226
|
+
# Issuance date. Unlike TimeSinceEpoch, this contains the number of
|
227
|
+
# milliseconds since January 1, 1970, UTC, not the number of seconds.
|
228
|
+
number timestamp
|
229
|
+
# Hash algorithm.
|
230
|
+
string hashAlgorithm
|
231
|
+
# Signature algorithm.
|
232
|
+
string signatureAlgorithm
|
233
|
+
# Signature data.
|
234
|
+
string signatureData
|
235
|
+
|
236
|
+
# Security details about a request.
|
237
|
+
type SecurityDetails extends object
|
238
|
+
properties
|
239
|
+
# Protocol name (e.g. "TLS 1.2" or "QUIC").
|
240
|
+
string protocol
|
241
|
+
# Key Exchange used by the connection, or the empty string if not applicable.
|
242
|
+
string keyExchange
|
243
|
+
# (EC)DH group used by the connection, if applicable.
|
244
|
+
optional string keyExchangeGroup
|
245
|
+
# Cipher name.
|
246
|
+
string cipher
|
247
|
+
# TLS MAC. Note that AEAD ciphers do not have separate MACs.
|
248
|
+
optional string mac
|
249
|
+
# Certificate ID value.
|
250
|
+
Security.CertificateId certificateId
|
251
|
+
# Certificate subject name.
|
252
|
+
string subjectName
|
253
|
+
# Subject Alternative Name (SAN) DNS names and IP addresses.
|
254
|
+
array of string sanList
|
255
|
+
# Name of the issuing CA.
|
256
|
+
string issuer
|
257
|
+
# Certificate valid from date.
|
258
|
+
TimeSinceEpoch validFrom
|
259
|
+
# Certificate valid to (expiration) date
|
260
|
+
TimeSinceEpoch validTo
|
261
|
+
# List of signed certificate timestamps (SCTs).
|
262
|
+
array of SignedCertificateTimestamp signedCertificateTimestampList
|
263
|
+
# Whether the request complied with Certificate Transparency policy
|
264
|
+
CertificateTransparencyCompliance certificateTransparencyCompliance
|
265
|
+
# The signature algorithm used by the server in the TLS server signature,
|
266
|
+
# represented as a TLS SignatureScheme code point. Omitted if not
|
267
|
+
# applicable or not known.
|
268
|
+
optional integer serverSignatureAlgorithm
|
269
|
+
# Whether the connection used Encrypted ClientHello
|
270
|
+
boolean encryptedClientHello
|
271
|
+
|
272
|
+
# Whether the request complied with Certificate Transparency policy.
|
273
|
+
type CertificateTransparencyCompliance extends string
|
274
|
+
enum
|
275
|
+
unknown
|
276
|
+
not-compliant
|
277
|
+
compliant
|
278
|
+
|
279
|
+
# The reason why request was blocked.
|
280
|
+
type BlockedReason extends string
|
281
|
+
enum
|
282
|
+
other
|
283
|
+
csp
|
284
|
+
mixed-content
|
285
|
+
origin
|
286
|
+
inspector
|
287
|
+
integrity
|
288
|
+
subresource-filter
|
289
|
+
content-type
|
290
|
+
coep-frame-resource-needs-coep-header
|
291
|
+
coop-sandboxed-iframe-cannot-navigate-to-coop-page
|
292
|
+
corp-not-same-origin
|
293
|
+
corp-not-same-origin-after-defaulted-to-same-origin-by-coep
|
294
|
+
corp-not-same-origin-after-defaulted-to-same-origin-by-dip
|
295
|
+
corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip
|
296
|
+
corp-not-same-site
|
297
|
+
sri-message-signature-mismatch
|
298
|
+
|
299
|
+
# The reason why request was blocked.
|
300
|
+
type CorsError extends string
|
301
|
+
enum
|
302
|
+
DisallowedByMode
|
303
|
+
InvalidResponse
|
304
|
+
WildcardOriginNotAllowed
|
305
|
+
MissingAllowOriginHeader
|
306
|
+
MultipleAllowOriginValues
|
307
|
+
InvalidAllowOriginValue
|
308
|
+
AllowOriginMismatch
|
309
|
+
InvalidAllowCredentials
|
310
|
+
CorsDisabledScheme
|
311
|
+
PreflightInvalidStatus
|
312
|
+
PreflightDisallowedRedirect
|
313
|
+
PreflightWildcardOriginNotAllowed
|
314
|
+
PreflightMissingAllowOriginHeader
|
315
|
+
PreflightMultipleAllowOriginValues
|
316
|
+
PreflightInvalidAllowOriginValue
|
317
|
+
PreflightAllowOriginMismatch
|
318
|
+
PreflightInvalidAllowCredentials
|
319
|
+
# TODO(https://crbug.com/1263483): Remove this once frontend code does
|
320
|
+
# not reference it anymore.
|
321
|
+
PreflightMissingAllowExternal
|
322
|
+
# TODO(https://crbug.com/1263483): Remove this once frontend code does
|
323
|
+
# not reference it anymore.
|
324
|
+
PreflightInvalidAllowExternal
|
325
|
+
PreflightMissingAllowPrivateNetwork
|
326
|
+
PreflightInvalidAllowPrivateNetwork
|
327
|
+
InvalidAllowMethodsPreflightResponse
|
328
|
+
InvalidAllowHeadersPreflightResponse
|
329
|
+
MethodDisallowedByPreflightResponse
|
330
|
+
HeaderDisallowedByPreflightResponse
|
331
|
+
RedirectContainsCredentials
|
332
|
+
# Request was a private network request initiated by a non-secure context.
|
333
|
+
InsecurePrivateNetwork
|
334
|
+
# Request carried a target IP address space property that did not match
|
335
|
+
# the target resource's address space.
|
336
|
+
InvalidPrivateNetworkAccess
|
337
|
+
# Request was a private network request yet did not carry a target IP
|
338
|
+
# address space.
|
339
|
+
UnexpectedPrivateNetworkAccess
|
340
|
+
NoCorsRedirectModeNotFollow
|
341
|
+
# Request was a private network request and needed user permission yet did
|
342
|
+
# not carry `Private-Network-Access-Id` in the preflight response.
|
343
|
+
# https://github.com/WICG/private-network-access/blob/main/permission_prompt/explainer.md
|
344
|
+
PreflightMissingPrivateNetworkAccessId
|
345
|
+
# Request was a private network request and needed user permission yet did
|
346
|
+
# not carry `Private-Network-Access-Name` in the preflight response.
|
347
|
+
# https://github.com/WICG/private-network-access/blob/main/permission_prompt/explainer.md
|
348
|
+
PreflightMissingPrivateNetworkAccessName
|
349
|
+
# Request was a private network request and needed user permission yet not
|
350
|
+
# able to request for permission.
|
351
|
+
# https://github.com/WICG/private-network-access/blob/main/permission_prompt/explainer.md
|
352
|
+
PrivateNetworkAccessPermissionUnavailable
|
353
|
+
# Request was a private network request and is denied by user permission.
|
354
|
+
# https://github.com/WICG/private-network-access/blob/main/permission_prompt/explainer.md
|
355
|
+
PrivateNetworkAccessPermissionDenied
|
356
|
+
# Request was a local network request and is denied by user permission.
|
357
|
+
# https://wicg.github.io/local-network-access/
|
358
|
+
LocalNetworkAccessPermissionDenied
|
359
|
+
|
360
|
+
type CorsErrorStatus extends object
|
361
|
+
properties
|
362
|
+
CorsError corsError
|
363
|
+
string failedParameter
|
364
|
+
|
365
|
+
# Source of serviceworker response.
|
366
|
+
type ServiceWorkerResponseSource extends string
|
367
|
+
enum
|
368
|
+
cache-storage
|
369
|
+
http-cache
|
370
|
+
fallback-code
|
371
|
+
network
|
372
|
+
|
373
|
+
# Determines what type of Trust Token operation is executed and
|
374
|
+
# depending on the type, some additional parameters. The values
|
375
|
+
# are specified in third_party/blink/renderer/core/fetch/trust_token.idl.
|
376
|
+
experimental type TrustTokenParams extends object
|
377
|
+
properties
|
378
|
+
TrustTokenOperationType operation
|
379
|
+
|
380
|
+
# Only set for "token-redemption" operation and determine whether
|
381
|
+
# to request a fresh SRR or use a still valid cached SRR.
|
382
|
+
enum refreshPolicy
|
383
|
+
UseCached
|
384
|
+
Refresh
|
385
|
+
|
386
|
+
# Origins of issuers from whom to request tokens or redemption
|
387
|
+
# records.
|
388
|
+
optional array of string issuers
|
389
|
+
|
390
|
+
experimental type TrustTokenOperationType extends string
|
391
|
+
enum
|
392
|
+
# Type "token-request" in the Trust Token API.
|
393
|
+
Issuance
|
394
|
+
# Type "token-redemption" in the Trust Token API.
|
395
|
+
Redemption
|
396
|
+
# Type "send-redemption-record" in the Trust Token API.
|
397
|
+
Signing
|
398
|
+
|
399
|
+
# The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
400
|
+
experimental type AlternateProtocolUsage extends string
|
401
|
+
enum
|
402
|
+
# Alternate Protocol was used without racing a normal connection.
|
403
|
+
alternativeJobWonWithoutRace
|
404
|
+
# Alternate Protocol was used by winning a race with a normal connection.
|
405
|
+
alternativeJobWonRace
|
406
|
+
# Alternate Protocol was not used by losing a race with a normal connection.
|
407
|
+
mainJobWonRace
|
408
|
+
# Alternate Protocol was not used because no Alternate-Protocol information
|
409
|
+
# was available when the request was issued, but an Alternate-Protocol header
|
410
|
+
# was present in the response.
|
411
|
+
mappingMissing
|
412
|
+
# Alternate Protocol was not used because it was marked broken.
|
413
|
+
broken
|
414
|
+
# HTTPS DNS protocol upgrade job was used without racing with a normal
|
415
|
+
# connection and an Alternate Protocol job.
|
416
|
+
dnsAlpnH3JobWonWithoutRace
|
417
|
+
# HTTPS DNS protocol upgrade job won a race with a normal connection and
|
418
|
+
# an Alternate Protocol job.
|
419
|
+
dnsAlpnH3JobWonRace
|
420
|
+
# This value is used when the reason is unknown.
|
421
|
+
unspecifiedReason
|
422
|
+
|
423
|
+
# Source of service worker router.
|
424
|
+
type ServiceWorkerRouterSource extends string
|
425
|
+
enum
|
426
|
+
network
|
427
|
+
cache
|
428
|
+
fetch-event
|
429
|
+
race-network-and-fetch-handler
|
430
|
+
race-network-and-cache
|
431
|
+
|
432
|
+
experimental type ServiceWorkerRouterInfo extends object
|
433
|
+
properties
|
434
|
+
# ID of the rule matched. If there is a matched rule, this field will
|
435
|
+
# be set, otherwiser no value will be set.
|
436
|
+
optional integer ruleIdMatched
|
437
|
+
# The router source of the matched rule. If there is a matched rule, this
|
438
|
+
# field will be set, otherwise no value will be set.
|
439
|
+
optional ServiceWorkerRouterSource matchedSourceType
|
440
|
+
# The actual router source used.
|
441
|
+
optional ServiceWorkerRouterSource actualSourceType
|
442
|
+
|
443
|
+
# HTTP response data.
|
444
|
+
type Response extends object
|
445
|
+
properties
|
446
|
+
# Response URL. This URL can be different from CachedResource.url in case of redirect.
|
447
|
+
string url
|
448
|
+
# HTTP response status code.
|
449
|
+
integer status
|
450
|
+
# HTTP response status text.
|
451
|
+
string statusText
|
452
|
+
# HTTP response headers.
|
453
|
+
Headers headers
|
454
|
+
# HTTP response headers text. This has been replaced by the headers in Network.responseReceivedExtraInfo.
|
455
|
+
deprecated optional string headersText
|
456
|
+
# Resource mimeType as determined by the browser.
|
457
|
+
string mimeType
|
458
|
+
# Resource charset as determined by the browser (if applicable).
|
459
|
+
string charset
|
460
|
+
# Refined HTTP request headers that were actually transmitted over the network.
|
461
|
+
optional Headers requestHeaders
|
462
|
+
# HTTP request headers text. This has been replaced by the headers in Network.requestWillBeSentExtraInfo.
|
463
|
+
deprecated optional string requestHeadersText
|
464
|
+
# Specifies whether physical connection was actually reused for this request.
|
465
|
+
boolean connectionReused
|
466
|
+
# Physical connection id that was actually used for this request.
|
467
|
+
number connectionId
|
468
|
+
# Remote IP address.
|
469
|
+
optional string remoteIPAddress
|
470
|
+
# Remote port.
|
471
|
+
optional integer remotePort
|
472
|
+
# Specifies that the request was served from the disk cache.
|
473
|
+
optional boolean fromDiskCache
|
474
|
+
# Specifies that the request was served from the ServiceWorker.
|
475
|
+
optional boolean fromServiceWorker
|
476
|
+
# Specifies that the request was served from the prefetch cache.
|
477
|
+
optional boolean fromPrefetchCache
|
478
|
+
# Specifies that the request was served from the prefetch cache.
|
479
|
+
optional boolean fromEarlyHints
|
480
|
+
# Information about how ServiceWorker Static Router API was used. If this
|
481
|
+
# field is set with `matchedSourceType` field, a matching rule is found.
|
482
|
+
# If this field is set without `matchedSource`, no matching rule is found.
|
483
|
+
# Otherwise, the API is not used.
|
484
|
+
experimental optional ServiceWorkerRouterInfo serviceWorkerRouterInfo
|
485
|
+
# Total number of bytes received for this request so far.
|
486
|
+
number encodedDataLength
|
487
|
+
# Timing information for the given request.
|
488
|
+
optional ResourceTiming timing
|
489
|
+
# Response source of response from ServiceWorker.
|
490
|
+
optional ServiceWorkerResponseSource serviceWorkerResponseSource
|
491
|
+
# The time at which the returned response was generated.
|
492
|
+
optional TimeSinceEpoch responseTime
|
493
|
+
# Cache Storage Cache Name.
|
494
|
+
optional string cacheStorageCacheName
|
495
|
+
# Protocol used to fetch this request.
|
496
|
+
optional string protocol
|
497
|
+
# The reason why Chrome uses a specific transport protocol for HTTP semantics.
|
498
|
+
experimental optional AlternateProtocolUsage alternateProtocolUsage
|
499
|
+
# Security state of the request resource.
|
500
|
+
Security.SecurityState securityState
|
501
|
+
# Security details for the request.
|
502
|
+
optional SecurityDetails securityDetails
|
503
|
+
# Indicates whether the request was sent through IP Protection proxies. If
|
504
|
+
# set to true, the request used the IP Protection privacy feature.
|
505
|
+
experimental optional boolean isIpProtectionUsed
|
506
|
+
|
507
|
+
# WebSocket request data.
|
508
|
+
type WebSocketRequest extends object
|
509
|
+
properties
|
510
|
+
# HTTP request headers.
|
511
|
+
Headers headers
|
512
|
+
|
513
|
+
# WebSocket response data.
|
514
|
+
type WebSocketResponse extends object
|
515
|
+
properties
|
516
|
+
# HTTP response status code.
|
517
|
+
integer status
|
518
|
+
# HTTP response status text.
|
519
|
+
string statusText
|
520
|
+
# HTTP response headers.
|
521
|
+
Headers headers
|
522
|
+
# HTTP response headers text.
|
523
|
+
optional string headersText
|
524
|
+
# HTTP request headers.
|
525
|
+
optional Headers requestHeaders
|
526
|
+
# HTTP request headers text.
|
527
|
+
optional string requestHeadersText
|
528
|
+
|
529
|
+
# WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests.
|
530
|
+
type WebSocketFrame extends object
|
531
|
+
properties
|
532
|
+
# WebSocket message opcode.
|
533
|
+
number opcode
|
534
|
+
# WebSocket message mask.
|
535
|
+
boolean mask
|
536
|
+
# WebSocket message payload data.
|
537
|
+
# If the opcode is 1, this is a text message and payloadData is a UTF-8 string.
|
538
|
+
# If the opcode isn't 1, then payloadData is a base64 encoded string representing binary data.
|
539
|
+
string payloadData
|
540
|
+
|
541
|
+
# Information about the cached resource.
|
542
|
+
type CachedResource extends object
|
543
|
+
properties
|
544
|
+
# Resource URL. This is the url of the original network request.
|
545
|
+
string url
|
546
|
+
# Type of this resource.
|
547
|
+
ResourceType type
|
548
|
+
# Cached response data.
|
549
|
+
optional Response response
|
550
|
+
# Cached response body size.
|
551
|
+
number bodySize
|
552
|
+
|
553
|
+
# Information about the request initiator.
|
554
|
+
type Initiator extends object
|
555
|
+
properties
|
556
|
+
# Type of this initiator.
|
557
|
+
enum type
|
558
|
+
parser
|
559
|
+
script
|
560
|
+
preload
|
561
|
+
SignedExchange
|
562
|
+
preflight
|
563
|
+
other
|
564
|
+
# Initiator JavaScript stack trace, set for Script only.
|
565
|
+
# Requires the Debugger domain to be enabled.
|
566
|
+
optional Runtime.StackTrace stack
|
567
|
+
# Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.
|
568
|
+
optional string url
|
569
|
+
# Initiator line number, set for Parser type or for Script type (when script is importing
|
570
|
+
# module) (0-based).
|
571
|
+
optional number lineNumber
|
572
|
+
# Initiator column number, set for Parser type or for Script type (when script is importing
|
573
|
+
# module) (0-based).
|
574
|
+
optional number columnNumber
|
575
|
+
# Set if another request triggered this request (e.g. preflight).
|
576
|
+
optional RequestId requestId
|
577
|
+
|
578
|
+
# cookiePartitionKey object
|
579
|
+
# The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.
|
580
|
+
experimental type CookiePartitionKey extends object
|
581
|
+
properties
|
582
|
+
# The site of the top-level URL the browser was visiting at the start
|
583
|
+
# of the request to the endpoint that set the cookie.
|
584
|
+
string topLevelSite
|
585
|
+
# Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.
|
586
|
+
boolean hasCrossSiteAncestor
|
587
|
+
|
588
|
+
# Cookie object
|
589
|
+
type Cookie extends object
|
590
|
+
properties
|
591
|
+
# Cookie name.
|
592
|
+
string name
|
593
|
+
# Cookie value.
|
594
|
+
string value
|
595
|
+
# Cookie domain.
|
596
|
+
string domain
|
597
|
+
# Cookie path.
|
598
|
+
string path
|
599
|
+
# Cookie expiration date as the number of seconds since the UNIX epoch.
|
600
|
+
number expires
|
601
|
+
# Cookie size.
|
602
|
+
integer size
|
603
|
+
# True if cookie is http-only.
|
604
|
+
boolean httpOnly
|
605
|
+
# True if cookie is secure.
|
606
|
+
boolean secure
|
607
|
+
# True in case of session cookie.
|
608
|
+
boolean session
|
609
|
+
# Cookie SameSite type.
|
610
|
+
optional CookieSameSite sameSite
|
611
|
+
# Cookie Priority
|
612
|
+
experimental CookiePriority priority
|
613
|
+
# True if cookie is SameParty.
|
614
|
+
experimental deprecated boolean sameParty
|
615
|
+
# Cookie source scheme type.
|
616
|
+
experimental CookieSourceScheme sourceScheme
|
617
|
+
# Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
618
|
+
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
619
|
+
# This is a temporary ability and it will be removed in the future.
|
620
|
+
experimental integer sourcePort
|
621
|
+
# Cookie partition key.
|
622
|
+
experimental optional CookiePartitionKey partitionKey
|
623
|
+
# True if cookie partition key is opaque.
|
624
|
+
experimental optional boolean partitionKeyOpaque
|
625
|
+
|
626
|
+
# Types of reasons why a cookie may not be stored from a response.
|
627
|
+
experimental type SetCookieBlockedReason extends string
|
628
|
+
enum
|
629
|
+
# The cookie had the "Secure" attribute but was not received over a secure connection.
|
630
|
+
SecureOnly
|
631
|
+
# The cookie had the "SameSite=Strict" attribute but came from a cross-origin response.
|
632
|
+
# This includes navigation requests initiated by other origins.
|
633
|
+
SameSiteStrict
|
634
|
+
# The cookie had the "SameSite=Lax" attribute but came from a cross-origin response.
|
635
|
+
SameSiteLax
|
636
|
+
# The cookie didn't specify a "SameSite" attribute and was defaulted to "SameSite=Lax" and
|
637
|
+
# broke the same rules specified in the SameSiteLax value.
|
638
|
+
SameSiteUnspecifiedTreatedAsLax
|
639
|
+
# The cookie had the "SameSite=None" attribute but did not specify the "Secure" attribute,
|
640
|
+
# which is required in order to use "SameSite=None".
|
641
|
+
SameSiteNoneInsecure
|
642
|
+
# The cookie was not stored due to user preferences.
|
643
|
+
UserPreferences
|
644
|
+
# The cookie was blocked due to third-party cookie phaseout.
|
645
|
+
ThirdPartyPhaseout
|
646
|
+
# The cookie was blocked by third-party cookie blocking between sites in
|
647
|
+
# the same First-Party Set.
|
648
|
+
ThirdPartyBlockedInFirstPartySet
|
649
|
+
# The syntax of the Set-Cookie header of the response was invalid.
|
650
|
+
SyntaxError
|
651
|
+
# The scheme of the connection is not allowed to store cookies.
|
652
|
+
SchemeNotSupported
|
653
|
+
# The cookie was not sent over a secure connection and would have overwritten a cookie with
|
654
|
+
# the Secure attribute.
|
655
|
+
OverwriteSecure
|
656
|
+
# The cookie's domain attribute was invalid with regards to the current host url.
|
657
|
+
InvalidDomain
|
658
|
+
# The cookie used the "__Secure-" or "__Host-" prefix in its name and broke the additional
|
659
|
+
# rules applied to cookies with these prefixes as defined in
|
660
|
+
# https://tools.ietf.org/html/draft-west-cookie-prefixes-05
|
661
|
+
InvalidPrefix
|
662
|
+
# An unknown error was encountered when trying to store this cookie.
|
663
|
+
UnknownError
|
664
|
+
# The cookie had the "SameSite=Strict" attribute but came from a response
|
665
|
+
# with the same registrable domain but a different scheme.
|
666
|
+
# This includes navigation requests initiated by other origins.
|
667
|
+
# This is the "Schemeful Same-Site" version of the blocked reason.
|
668
|
+
SchemefulSameSiteStrict
|
669
|
+
# The cookie had the "SameSite=Lax" attribute but came from a response
|
670
|
+
# with the same registrable domain but a different scheme.
|
671
|
+
# This is the "Schemeful Same-Site" version of the blocked reason.
|
672
|
+
SchemefulSameSiteLax
|
673
|
+
# The cookie didn't specify a "SameSite" attribute and was defaulted to
|
674
|
+
# "SameSite=Lax" and broke the same rules specified in the SchemefulSameSiteLax
|
675
|
+
# value.
|
676
|
+
# This is the "Schemeful Same-Site" version of the blocked reason.
|
677
|
+
SchemefulSameSiteUnspecifiedTreatedAsLax
|
678
|
+
# The cookie had the "SameParty" attribute but came from a cross-party response.
|
679
|
+
SamePartyFromCrossPartyContext
|
680
|
+
# The cookie had the "SameParty" attribute but did not specify the "Secure" attribute
|
681
|
+
# (which is required in order to use "SameParty"); or specified the "SameSite=Strict"
|
682
|
+
# attribute (which is forbidden when using "SameParty").
|
683
|
+
SamePartyConflictsWithOtherAttributes
|
684
|
+
# The cookie's name/value pair size exceeded the size limit defined in
|
685
|
+
# RFC6265bis.
|
686
|
+
NameValuePairExceedsMaxSize
|
687
|
+
# The cookie contained a forbidden ASCII control character, or the tab
|
688
|
+
# character if it appears in the middle of the cookie name, value, an
|
689
|
+
# attribute name, or an attribute value.
|
690
|
+
DisallowedCharacter
|
691
|
+
# Cookie contains no content or only whitespace.
|
692
|
+
NoCookieContent
|
693
|
+
|
694
|
+
# Types of reasons why a cookie may not be sent with a request.
|
695
|
+
experimental type CookieBlockedReason extends string
|
696
|
+
enum
|
697
|
+
# The cookie had the "Secure" attribute and the connection was not secure.
|
698
|
+
SecureOnly
|
699
|
+
# The cookie's path was not within the request url's path.
|
700
|
+
NotOnPath
|
701
|
+
# The cookie's domain is not configured to match the request url's domain, even though they
|
702
|
+
# share a common TLD+1 (TLD+1 of foo.bar.example.com is example.com).
|
703
|
+
DomainMismatch
|
704
|
+
# The cookie had the "SameSite=Strict" attribute and the request was made on on a different
|
705
|
+
# site. This includes navigation requests initiated by other sites.
|
706
|
+
SameSiteStrict
|
707
|
+
# The cookie had the "SameSite=Lax" attribute and the request was made on a different site.
|
708
|
+
# This does not include navigation requests initiated by other sites.
|
709
|
+
SameSiteLax
|
710
|
+
# The cookie didn't specify a SameSite attribute when it was stored and was defaulted to
|
711
|
+
# "SameSite=Lax" and broke the same rules specified in the SameSiteLax value. The cookie had
|
712
|
+
# to have been set with "SameSite=None" to enable third-party usage.
|
713
|
+
SameSiteUnspecifiedTreatedAsLax
|
714
|
+
# The cookie had the "SameSite=None" attribute and the connection was not secure. Cookies
|
715
|
+
# without SameSite restrictions must be sent over a secure connection.
|
716
|
+
SameSiteNoneInsecure
|
717
|
+
# The cookie was not sent due to user preferences.
|
718
|
+
UserPreferences
|
719
|
+
# The cookie was blocked due to third-party cookie phaseout.
|
720
|
+
ThirdPartyPhaseout
|
721
|
+
# The cookie was blocked by third-party cookie blocking between sites in
|
722
|
+
# the same First-Party Set.
|
723
|
+
ThirdPartyBlockedInFirstPartySet
|
724
|
+
# An unknown error was encountered when trying to send this cookie.
|
725
|
+
UnknownError
|
726
|
+
# The cookie had the "SameSite=Strict" attribute but came from a response
|
727
|
+
# with the same registrable domain but a different scheme.
|
728
|
+
# This includes navigation requests initiated by other origins.
|
729
|
+
# This is the "Schemeful Same-Site" version of the blocked reason.
|
730
|
+
SchemefulSameSiteStrict
|
731
|
+
# The cookie had the "SameSite=Lax" attribute but came from a response
|
732
|
+
# with the same registrable domain but a different scheme.
|
733
|
+
# This is the "Schemeful Same-Site" version of the blocked reason.
|
734
|
+
SchemefulSameSiteLax
|
735
|
+
# The cookie didn't specify a "SameSite" attribute and was defaulted to
|
736
|
+
# "SameSite=Lax" and broke the same rules specified in the SchemefulSameSiteLax
|
737
|
+
# value.
|
738
|
+
# This is the "Schemeful Same-Site" version of the blocked reason.
|
739
|
+
SchemefulSameSiteUnspecifiedTreatedAsLax
|
740
|
+
# The cookie had the "SameParty" attribute and the request was made from a cross-party context.
|
741
|
+
SamePartyFromCrossPartyContext
|
742
|
+
# The cookie's name/value pair size exceeded the size limit defined in
|
743
|
+
# RFC6265bis.
|
744
|
+
NameValuePairExceedsMaxSize
|
745
|
+
# The cookie's source port value does not match the request origin's port.
|
746
|
+
PortMismatch
|
747
|
+
# The cookie's source scheme value does not match the request origin's scheme.
|
748
|
+
SchemeMismatch
|
749
|
+
# Unpartitioned cookie access from an anonymous context was blocked.
|
750
|
+
AnonymousContext
|
751
|
+
|
752
|
+
# Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
753
|
+
experimental type CookieExemptionReason extends string
|
754
|
+
enum
|
755
|
+
# The default value. Cookie with this reason could either be blocked or included.
|
756
|
+
None
|
757
|
+
# The cookie should have been blocked by 3PCD but is exempted by explicit user setting.
|
758
|
+
UserSetting
|
759
|
+
# The cookie should have been blocked by 3PCD but is exempted by metadata mitigation.
|
760
|
+
TPCDMetadata
|
761
|
+
# The cookie should have been blocked by 3PCD but is exempted by Deprecation Trial mitigation.
|
762
|
+
TPCDDeprecationTrial
|
763
|
+
# The cookie should have been blocked by 3PCD but is exempted by Top-level Deprecation Trial mitigation.
|
764
|
+
TopLevelTPCDDeprecationTrial
|
765
|
+
# The cookie should have been blocked by 3PCD but is exempted by heuristics mitigation.
|
766
|
+
TPCDHeuristics
|
767
|
+
# The cookie should have been blocked by 3PCD but is exempted by Enterprise Policy.
|
768
|
+
EnterprisePolicy
|
769
|
+
# The cookie should have been blocked by 3PCD but is exempted by Storage Access API.
|
770
|
+
StorageAccess
|
771
|
+
# The cookie should have been blocked by 3PCD but is exempted by Top-level Storage Access API.
|
772
|
+
TopLevelStorageAccess
|
773
|
+
# The cookie should have been blocked by 3PCD but is exempted by the first-party URL scheme.
|
774
|
+
Scheme
|
775
|
+
# The cookie was included due to the 'allow-same-site-none-cookies' value being set in the sandboxing policy.
|
776
|
+
SameSiteNoneCookiesInSandbox
|
777
|
+
|
778
|
+
# A cookie which was not stored from a response with the corresponding reason.
|
779
|
+
experimental type BlockedSetCookieWithReason extends object
|
780
|
+
properties
|
781
|
+
# The reason(s) this cookie was blocked.
|
782
|
+
array of SetCookieBlockedReason blockedReasons
|
783
|
+
# The string representing this individual cookie as it would appear in the header.
|
784
|
+
# This is not the entire "cookie" or "set-cookie" header which could have multiple cookies.
|
785
|
+
string cookieLine
|
786
|
+
# The cookie object which represents the cookie which was not stored. It is optional because
|
787
|
+
# sometimes complete cookie information is not available, such as in the case of parsing
|
788
|
+
# errors.
|
789
|
+
optional Cookie cookie
|
790
|
+
|
791
|
+
# A cookie should have been blocked by 3PCD but is exempted and stored from a response with the
|
792
|
+
# corresponding reason. A cookie could only have at most one exemption reason.
|
793
|
+
experimental type ExemptedSetCookieWithReason extends object
|
794
|
+
properties
|
795
|
+
# The reason the cookie was exempted.
|
796
|
+
CookieExemptionReason exemptionReason
|
797
|
+
# The string representing this individual cookie as it would appear in the header.
|
798
|
+
string cookieLine
|
799
|
+
# The cookie object representing the cookie.
|
800
|
+
Cookie cookie
|
801
|
+
|
802
|
+
# A cookie associated with the request which may or may not be sent with it.
|
803
|
+
# Includes the cookies itself and reasons for blocking or exemption.
|
804
|
+
experimental type AssociatedCookie extends object
|
805
|
+
properties
|
806
|
+
# The cookie object representing the cookie which was not sent.
|
807
|
+
Cookie cookie
|
808
|
+
# The reason(s) the cookie was blocked. If empty means the cookie is included.
|
809
|
+
array of CookieBlockedReason blockedReasons
|
810
|
+
# The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could
|
811
|
+
# only have at most one exemption reason.
|
812
|
+
optional CookieExemptionReason exemptionReason
|
813
|
+
|
814
|
+
# Cookie parameter object
|
815
|
+
type CookieParam extends object
|
816
|
+
properties
|
817
|
+
# Cookie name.
|
818
|
+
string name
|
819
|
+
# Cookie value.
|
820
|
+
string value
|
821
|
+
# The request-URI to associate with the setting of the cookie. This value can affect the
|
822
|
+
# default domain, path, source port, and source scheme values of the created cookie.
|
823
|
+
optional string url
|
824
|
+
# Cookie domain.
|
825
|
+
optional string domain
|
826
|
+
# Cookie path.
|
827
|
+
optional string path
|
828
|
+
# True if cookie is secure.
|
829
|
+
optional boolean secure
|
830
|
+
# True if cookie is http-only.
|
831
|
+
optional boolean httpOnly
|
832
|
+
# Cookie SameSite type.
|
833
|
+
optional CookieSameSite sameSite
|
834
|
+
# Cookie expiration date, session cookie if not set
|
835
|
+
optional TimeSinceEpoch expires
|
836
|
+
# Cookie Priority.
|
837
|
+
experimental optional CookiePriority priority
|
838
|
+
# True if cookie is SameParty.
|
839
|
+
experimental optional boolean sameParty
|
840
|
+
# Cookie source scheme type.
|
841
|
+
experimental optional CookieSourceScheme sourceScheme
|
842
|
+
# Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
843
|
+
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
844
|
+
# This is a temporary ability and it will be removed in the future.
|
845
|
+
experimental optional integer sourcePort
|
846
|
+
# Cookie partition key. If not set, the cookie will be set as not partitioned.
|
847
|
+
experimental optional CookiePartitionKey partitionKey
|
848
|
+
|
849
|
+
# Authorization challenge for HTTP status code 401 or 407.
|
850
|
+
experimental type AuthChallenge extends object
|
851
|
+
properties
|
852
|
+
# Source of the authentication challenge.
|
853
|
+
optional enum source
|
854
|
+
Server
|
855
|
+
Proxy
|
856
|
+
# Origin of the challenger.
|
857
|
+
string origin
|
858
|
+
# The authentication scheme used, such as basic or digest
|
859
|
+
string scheme
|
860
|
+
# The realm of the challenge. May be empty.
|
861
|
+
string realm
|
862
|
+
|
863
|
+
# Response to an AuthChallenge.
|
864
|
+
experimental type AuthChallengeResponse extends object
|
865
|
+
properties
|
866
|
+
# The decision on what to do in response to the authorization challenge. Default means
|
867
|
+
# deferring to the default behavior of the net stack, which will likely either the Cancel
|
868
|
+
# authentication or display a popup dialog box.
|
869
|
+
enum response
|
870
|
+
Default
|
871
|
+
CancelAuth
|
872
|
+
ProvideCredentials
|
873
|
+
# The username to provide, possibly empty. Should only be set if response is
|
874
|
+
# ProvideCredentials.
|
875
|
+
optional string username
|
876
|
+
# The password to provide, possibly empty. Should only be set if response is
|
877
|
+
# ProvideCredentials.
|
878
|
+
optional string password
|
879
|
+
|
880
|
+
# Stages of the interception to begin intercepting. Request will intercept before the request is
|
881
|
+
# sent. Response will intercept after the response is received.
|
882
|
+
experimental type InterceptionStage extends string
|
883
|
+
enum
|
884
|
+
Request
|
885
|
+
HeadersReceived
|
886
|
+
|
887
|
+
# Request pattern for interception.
|
888
|
+
experimental type RequestPattern extends object
|
889
|
+
properties
|
890
|
+
# Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is
|
891
|
+
# backslash. Omitting is equivalent to `"*"`.
|
892
|
+
optional string urlPattern
|
893
|
+
# If set, only requests for matching resource types will be intercepted.
|
894
|
+
optional ResourceType resourceType
|
895
|
+
# Stage at which to begin intercepting requests. Default is Request.
|
896
|
+
optional InterceptionStage interceptionStage
|
897
|
+
|
898
|
+
# Information about a signed exchange signature.
|
899
|
+
# https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
|
900
|
+
experimental type SignedExchangeSignature extends object
|
901
|
+
properties
|
902
|
+
# Signed exchange signature label.
|
903
|
+
string label
|
904
|
+
# The hex string of signed exchange signature.
|
905
|
+
string signature
|
906
|
+
# Signed exchange signature integrity.
|
907
|
+
string integrity
|
908
|
+
# Signed exchange signature cert Url.
|
909
|
+
optional string certUrl
|
910
|
+
# The hex string of signed exchange signature cert sha256.
|
911
|
+
optional string certSha256
|
912
|
+
# Signed exchange signature validity Url.
|
913
|
+
string validityUrl
|
914
|
+
# Signed exchange signature date.
|
915
|
+
integer date
|
916
|
+
# Signed exchange signature expires.
|
917
|
+
integer expires
|
918
|
+
# The encoded certificates.
|
919
|
+
optional array of string certificates
|
920
|
+
|
921
|
+
# Information about a signed exchange header.
|
922
|
+
# https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation
|
923
|
+
experimental type SignedExchangeHeader extends object
|
924
|
+
properties
|
925
|
+
# Signed exchange request URL.
|
926
|
+
string requestUrl
|
927
|
+
# Signed exchange response code.
|
928
|
+
integer responseCode
|
929
|
+
# Signed exchange response headers.
|
930
|
+
Headers responseHeaders
|
931
|
+
# Signed exchange response signature.
|
932
|
+
array of SignedExchangeSignature signatures
|
933
|
+
# Signed exchange header integrity hash in the form of `sha256-<base64-hash-value>`.
|
934
|
+
string headerIntegrity
|
935
|
+
|
936
|
+
# Field type for a signed exchange related error.
|
937
|
+
experimental type SignedExchangeErrorField extends string
|
938
|
+
enum
|
939
|
+
signatureSig
|
940
|
+
signatureIntegrity
|
941
|
+
signatureCertUrl
|
942
|
+
signatureCertSha256
|
943
|
+
signatureValidityUrl
|
944
|
+
signatureTimestamps
|
945
|
+
|
946
|
+
# Information about a signed exchange response.
|
947
|
+
experimental type SignedExchangeError extends object
|
948
|
+
properties
|
949
|
+
# Error message.
|
950
|
+
string message
|
951
|
+
# The index of the signature which caused the error.
|
952
|
+
optional integer signatureIndex
|
953
|
+
# The field which caused the error.
|
954
|
+
optional SignedExchangeErrorField errorField
|
955
|
+
|
956
|
+
# Information about a signed exchange response.
|
957
|
+
experimental type SignedExchangeInfo extends object
|
958
|
+
properties
|
959
|
+
# The outer response of signed HTTP exchange which was received from network.
|
960
|
+
Response outerResponse
|
961
|
+
# Whether network response for the signed exchange was accompanied by
|
962
|
+
# extra headers.
|
963
|
+
boolean hasExtraInfo
|
964
|
+
# Information about the signed exchange header.
|
965
|
+
optional SignedExchangeHeader header
|
966
|
+
# Security details for the signed exchange header.
|
967
|
+
optional SecurityDetails securityDetails
|
968
|
+
# Errors occurred while handling the signed exchange.
|
969
|
+
optional array of SignedExchangeError errors
|
970
|
+
|
971
|
+
# List of content encodings supported by the backend.
|
972
|
+
experimental type ContentEncoding extends string
|
973
|
+
enum
|
974
|
+
deflate
|
975
|
+
gzip
|
976
|
+
br
|
977
|
+
zstd
|
978
|
+
|
979
|
+
# Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
|
980
|
+
experimental command setAcceptedEncodings
|
981
|
+
parameters
|
982
|
+
# List of accepted content encodings.
|
983
|
+
array of ContentEncoding encodings
|
984
|
+
|
985
|
+
# Clears accepted encodings set by setAcceptedEncodings
|
986
|
+
experimental command clearAcceptedEncodingsOverride
|
987
|
+
|
988
|
+
# Tells whether clearing browser cache is supported.
|
989
|
+
deprecated command canClearBrowserCache
|
990
|
+
returns
|
991
|
+
# True if browser cache can be cleared.
|
992
|
+
boolean result
|
993
|
+
|
994
|
+
# Tells whether clearing browser cookies is supported.
|
995
|
+
deprecated command canClearBrowserCookies
|
996
|
+
returns
|
997
|
+
# True if browser cookies can be cleared.
|
998
|
+
boolean result
|
999
|
+
|
1000
|
+
# Tells whether emulation of network conditions is supported.
|
1001
|
+
deprecated command canEmulateNetworkConditions
|
1002
|
+
returns
|
1003
|
+
# True if emulation of network conditions is supported.
|
1004
|
+
boolean result
|
1005
|
+
|
1006
|
+
# Clears browser cache.
|
1007
|
+
command clearBrowserCache
|
1008
|
+
|
1009
|
+
# Clears browser cookies.
|
1010
|
+
command clearBrowserCookies
|
1011
|
+
|
1012
|
+
# Response to Network.requestIntercepted which either modifies the request to continue with any
|
1013
|
+
# modifications, or blocks it, or completes it with the provided response bytes. If a network
|
1014
|
+
# fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted
|
1015
|
+
# event will be sent with the same InterceptionId.
|
1016
|
+
# Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
|
1017
|
+
experimental deprecated command continueInterceptedRequest
|
1018
|
+
parameters
|
1019
|
+
InterceptionId interceptionId
|
1020
|
+
# If set this causes the request to fail with the given reason. Passing `Aborted` for requests
|
1021
|
+
# marked with `isNavigationRequest` also cancels the navigation. Must not be set in response
|
1022
|
+
# to an authChallenge.
|
1023
|
+
optional ErrorReason errorReason
|
1024
|
+
# If set the requests completes using with the provided base64 encoded raw response, including
|
1025
|
+
# HTTP status line and headers etc... Must not be set in response to an authChallenge.
|
1026
|
+
optional binary rawResponse
|
1027
|
+
# If set the request url will be modified in a way that's not observable by page. Must not be
|
1028
|
+
# set in response to an authChallenge.
|
1029
|
+
optional string url
|
1030
|
+
# If set this allows the request method to be overridden. Must not be set in response to an
|
1031
|
+
# authChallenge.
|
1032
|
+
optional string method
|
1033
|
+
# If set this allows postData to be set. Must not be set in response to an authChallenge.
|
1034
|
+
optional string postData
|
1035
|
+
# If set this allows the request headers to be changed. Must not be set in response to an
|
1036
|
+
# authChallenge.
|
1037
|
+
optional Headers headers
|
1038
|
+
# Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
|
1039
|
+
optional AuthChallengeResponse authChallengeResponse
|
1040
|
+
|
1041
|
+
# Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
|
1042
|
+
command deleteCookies
|
1043
|
+
parameters
|
1044
|
+
# Name of the cookies to remove.
|
1045
|
+
string name
|
1046
|
+
# If specified, deletes all the cookies with the given name where domain and path match
|
1047
|
+
# provided URL.
|
1048
|
+
optional string url
|
1049
|
+
# If specified, deletes only cookies with the exact domain.
|
1050
|
+
optional string domain
|
1051
|
+
# If specified, deletes only cookies with the exact path.
|
1052
|
+
optional string path
|
1053
|
+
# If specified, deletes only cookies with the the given name and partitionKey where
|
1054
|
+
# all partition key attributes match the cookie partition key attribute.
|
1055
|
+
experimental optional CookiePartitionKey partitionKey
|
1056
|
+
|
1057
|
+
# Disables network tracking, prevents network events from being sent to the client.
|
1058
|
+
command disable
|
1059
|
+
|
1060
|
+
# Activates emulation of network conditions.
|
1061
|
+
command emulateNetworkConditions
|
1062
|
+
parameters
|
1063
|
+
# True to emulate internet disconnection.
|
1064
|
+
boolean offline
|
1065
|
+
# Minimum latency from request sent to response headers received (ms).
|
1066
|
+
number latency
|
1067
|
+
# Maximal aggregated download throughput (bytes/sec). -1 disables download throttling.
|
1068
|
+
number downloadThroughput
|
1069
|
+
# Maximal aggregated upload throughput (bytes/sec). -1 disables upload throttling.
|
1070
|
+
number uploadThroughput
|
1071
|
+
# Connection type if known.
|
1072
|
+
optional ConnectionType connectionType
|
1073
|
+
# WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.
|
1074
|
+
experimental optional number packetLoss
|
1075
|
+
# WebRTC packet queue length (packet). 0 removes any queue length limitations.
|
1076
|
+
experimental optional integer packetQueueLength
|
1077
|
+
# WebRTC packetReordering feature.
|
1078
|
+
experimental optional boolean packetReordering
|
1079
|
+
|
1080
|
+
# Enables network tracking, network events will now be delivered to the client.
|
1081
|
+
command enable
|
1082
|
+
parameters
|
1083
|
+
# Buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
1084
|
+
experimental optional integer maxTotalBufferSize
|
1085
|
+
# Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
1086
|
+
experimental optional integer maxResourceBufferSize
|
1087
|
+
# Longest post body size (in bytes) that would be included in requestWillBeSent notification
|
1088
|
+
optional integer maxPostDataSize
|
1089
|
+
# Whether DirectSocket chunk send/receive events should be reported.
|
1090
|
+
experimental optional boolean reportDirectSocketTraffic
|
1091
|
+
|
1092
|
+
# Returns all browser cookies. Depending on the backend support, will return detailed cookie
|
1093
|
+
# information in the `cookies` field.
|
1094
|
+
# Deprecated. Use Storage.getCookies instead.
|
1095
|
+
deprecated command getAllCookies
|
1096
|
+
returns
|
1097
|
+
# Array of cookie objects.
|
1098
|
+
array of Cookie cookies
|
1099
|
+
|
1100
|
+
# Returns the DER-encoded certificate.
|
1101
|
+
experimental command getCertificate
|
1102
|
+
parameters
|
1103
|
+
# Origin to get certificate for.
|
1104
|
+
string origin
|
1105
|
+
returns
|
1106
|
+
array of string tableNames
|
1107
|
+
|
1108
|
+
# Returns all browser cookies for the current URL. Depending on the backend support, will return
|
1109
|
+
# detailed cookie information in the `cookies` field.
|
1110
|
+
command getCookies
|
1111
|
+
parameters
|
1112
|
+
# The list of URLs for which applicable cookies will be fetched.
|
1113
|
+
# If not specified, it's assumed to be set to the list containing
|
1114
|
+
# the URLs of the page and all of its subframes.
|
1115
|
+
optional array of string urls
|
1116
|
+
returns
|
1117
|
+
# Array of cookie objects.
|
1118
|
+
array of Cookie cookies
|
1119
|
+
|
1120
|
+
# Returns content served for the given request.
|
1121
|
+
command getResponseBody
|
1122
|
+
parameters
|
1123
|
+
# Identifier of the network request to get content for.
|
1124
|
+
RequestId requestId
|
1125
|
+
returns
|
1126
|
+
# Response body.
|
1127
|
+
string body
|
1128
|
+
# True, if content was sent as base64.
|
1129
|
+
boolean base64Encoded
|
1130
|
+
|
1131
|
+
# Returns post data sent with the request. Returns an error when no data was sent with the request.
|
1132
|
+
command getRequestPostData
|
1133
|
+
parameters
|
1134
|
+
# Identifier of the network request to get content for.
|
1135
|
+
RequestId requestId
|
1136
|
+
returns
|
1137
|
+
# Request body string, omitting files from multipart requests
|
1138
|
+
string postData
|
1139
|
+
|
1140
|
+
# Returns content served for the given currently intercepted request.
|
1141
|
+
experimental command getResponseBodyForInterception
|
1142
|
+
parameters
|
1143
|
+
# Identifier for the intercepted request to get body for.
|
1144
|
+
InterceptionId interceptionId
|
1145
|
+
returns
|
1146
|
+
# Response body.
|
1147
|
+
string body
|
1148
|
+
# True, if content was sent as base64.
|
1149
|
+
boolean base64Encoded
|
1150
|
+
|
1151
|
+
# Returns a handle to the stream representing the response body. Note that after this command,
|
1152
|
+
# the intercepted request can't be continued as is -- you either need to cancel it or to provide
|
1153
|
+
# the response body. The stream only supports sequential read, IO.read will fail if the position
|
1154
|
+
# is specified.
|
1155
|
+
experimental command takeResponseBodyForInterceptionAsStream
|
1156
|
+
parameters
|
1157
|
+
InterceptionId interceptionId
|
1158
|
+
returns
|
1159
|
+
IO.StreamHandle stream
|
1160
|
+
|
1161
|
+
# This method sends a new XMLHttpRequest which is identical to the original one. The following
|
1162
|
+
# parameters should be identical: method, url, async, request body, extra headers, withCredentials
|
1163
|
+
# attribute, user, password.
|
1164
|
+
experimental command replayXHR
|
1165
|
+
parameters
|
1166
|
+
# Identifier of XHR to replay.
|
1167
|
+
RequestId requestId
|
1168
|
+
|
1169
|
+
# Searches for given string in response content.
|
1170
|
+
experimental command searchInResponseBody
|
1171
|
+
parameters
|
1172
|
+
# Identifier of the network response to search.
|
1173
|
+
RequestId requestId
|
1174
|
+
# String to search for.
|
1175
|
+
string query
|
1176
|
+
# If true, search is case sensitive.
|
1177
|
+
optional boolean caseSensitive
|
1178
|
+
# If true, treats string parameter as regex.
|
1179
|
+
optional boolean isRegex
|
1180
|
+
returns
|
1181
|
+
# List of search matches.
|
1182
|
+
array of Debugger.SearchMatch result
|
1183
|
+
|
1184
|
+
# Blocks URLs from loading.
|
1185
|
+
experimental command setBlockedURLs
|
1186
|
+
parameters
|
1187
|
+
# URL patterns to block. Wildcards ('*') are allowed.
|
1188
|
+
array of string urls
|
1189
|
+
|
1190
|
+
# Toggles ignoring of service worker for each request.
|
1191
|
+
command setBypassServiceWorker
|
1192
|
+
parameters
|
1193
|
+
# Bypass service worker and load from network.
|
1194
|
+
boolean bypass
|
1195
|
+
|
1196
|
+
# Toggles ignoring cache for each request. If `true`, cache will not be used.
|
1197
|
+
command setCacheDisabled
|
1198
|
+
parameters
|
1199
|
+
# Cache disabled state.
|
1200
|
+
boolean cacheDisabled
|
1201
|
+
|
1202
|
+
# Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
|
1203
|
+
command setCookie
|
1204
|
+
parameters
|
1205
|
+
# Cookie name.
|
1206
|
+
string name
|
1207
|
+
# Cookie value.
|
1208
|
+
string value
|
1209
|
+
# The request-URI to associate with the setting of the cookie. This value can affect the
|
1210
|
+
# default domain, path, source port, and source scheme values of the created cookie.
|
1211
|
+
optional string url
|
1212
|
+
# Cookie domain.
|
1213
|
+
optional string domain
|
1214
|
+
# Cookie path.
|
1215
|
+
optional string path
|
1216
|
+
# True if cookie is secure.
|
1217
|
+
optional boolean secure
|
1218
|
+
# True if cookie is http-only.
|
1219
|
+
optional boolean httpOnly
|
1220
|
+
# Cookie SameSite type.
|
1221
|
+
optional CookieSameSite sameSite
|
1222
|
+
# Cookie expiration date, session cookie if not set
|
1223
|
+
optional TimeSinceEpoch expires
|
1224
|
+
# Cookie Priority type.
|
1225
|
+
experimental optional CookiePriority priority
|
1226
|
+
# True if cookie is SameParty.
|
1227
|
+
experimental optional boolean sameParty
|
1228
|
+
# Cookie source scheme type.
|
1229
|
+
experimental optional CookieSourceScheme sourceScheme
|
1230
|
+
# Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
1231
|
+
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
1232
|
+
# This is a temporary ability and it will be removed in the future.
|
1233
|
+
experimental optional integer sourcePort
|
1234
|
+
# Cookie partition key. If not set, the cookie will be set as not partitioned.
|
1235
|
+
experimental optional CookiePartitionKey partitionKey
|
1236
|
+
returns
|
1237
|
+
# Always set to true. If an error occurs, the response indicates protocol error.
|
1238
|
+
deprecated boolean success
|
1239
|
+
|
1240
|
+
# Sets given cookies.
|
1241
|
+
command setCookies
|
1242
|
+
parameters
|
1243
|
+
# Cookies to be set.
|
1244
|
+
array of CookieParam cookies
|
1245
|
+
|
1246
|
+
# Specifies whether to always send extra HTTP headers with the requests from this page.
|
1247
|
+
command setExtraHTTPHeaders
|
1248
|
+
parameters
|
1249
|
+
# Map with extra HTTP headers.
|
1250
|
+
Headers headers
|
1251
|
+
|
1252
|
+
# Specifies whether to attach a page script stack id in requests
|
1253
|
+
experimental command setAttachDebugStack
|
1254
|
+
parameters
|
1255
|
+
# Whether to attach a page script stack for debugging purpose.
|
1256
|
+
boolean enabled
|
1257
|
+
|
1258
|
+
# Sets the requests to intercept that match the provided patterns and optionally resource types.
|
1259
|
+
# Deprecated, please use Fetch.enable instead.
|
1260
|
+
experimental deprecated command setRequestInterception
|
1261
|
+
parameters
|
1262
|
+
# Requests matching any of these patterns will be forwarded and wait for the corresponding
|
1263
|
+
# continueInterceptedRequest call.
|
1264
|
+
array of RequestPattern patterns
|
1265
|
+
|
1266
|
+
# Allows overriding user agent with the given string.
|
1267
|
+
command setUserAgentOverride
|
1268
|
+
redirect Emulation
|
1269
|
+
parameters
|
1270
|
+
# User agent to use.
|
1271
|
+
string userAgent
|
1272
|
+
# Browser language to emulate.
|
1273
|
+
optional string acceptLanguage
|
1274
|
+
# The platform navigator.platform should return.
|
1275
|
+
optional string platform
|
1276
|
+
# To be sent in Sec-CH-UA-* headers and returned in navigator.userAgentData
|
1277
|
+
experimental optional Emulation.UserAgentMetadata userAgentMetadata
|
1278
|
+
|
1279
|
+
|
1280
|
+
# Fired when data chunk was received over the network.
|
1281
|
+
event dataReceived
|
1282
|
+
parameters
|
1283
|
+
# Request identifier.
|
1284
|
+
RequestId requestId
|
1285
|
+
# Timestamp.
|
1286
|
+
MonotonicTime timestamp
|
1287
|
+
# Data chunk length.
|
1288
|
+
integer dataLength
|
1289
|
+
# Actual bytes received (might be less than dataLength for compressed encodings).
|
1290
|
+
integer encodedDataLength
|
1291
|
+
# Data that was received.
|
1292
|
+
experimental optional binary data
|
1293
|
+
|
1294
|
+
# Enables streaming of the response for the given requestId.
|
1295
|
+
# If enabled, the dataReceived event contains the data that was received during streaming.
|
1296
|
+
experimental command streamResourceContent
|
1297
|
+
parameters
|
1298
|
+
# Identifier of the request to stream.
|
1299
|
+
RequestId requestId
|
1300
|
+
returns
|
1301
|
+
# Data that has been buffered until streaming is enabled.
|
1302
|
+
binary bufferedData
|
1303
|
+
|
1304
|
+
# Fired when EventSource message is received.
|
1305
|
+
event eventSourceMessageReceived
|
1306
|
+
parameters
|
1307
|
+
# Request identifier.
|
1308
|
+
RequestId requestId
|
1309
|
+
# Timestamp.
|
1310
|
+
MonotonicTime timestamp
|
1311
|
+
# Message type.
|
1312
|
+
string eventName
|
1313
|
+
# Message identifier.
|
1314
|
+
string eventId
|
1315
|
+
# Message content.
|
1316
|
+
string data
|
1317
|
+
|
1318
|
+
# Fired when HTTP request has failed to load.
|
1319
|
+
event loadingFailed
|
1320
|
+
parameters
|
1321
|
+
# Request identifier.
|
1322
|
+
RequestId requestId
|
1323
|
+
# Timestamp.
|
1324
|
+
MonotonicTime timestamp
|
1325
|
+
# Resource type.
|
1326
|
+
ResourceType type
|
1327
|
+
# Error message. List of network errors: https://cs.chromium.org/chromium/src/net/base/net_error_list.h
|
1328
|
+
string errorText
|
1329
|
+
# True if loading was canceled.
|
1330
|
+
optional boolean canceled
|
1331
|
+
# The reason why loading was blocked, if any.
|
1332
|
+
optional BlockedReason blockedReason
|
1333
|
+
# The reason why loading was blocked by CORS, if any.
|
1334
|
+
optional CorsErrorStatus corsErrorStatus
|
1335
|
+
|
1336
|
+
# Fired when HTTP request has finished loading.
|
1337
|
+
event loadingFinished
|
1338
|
+
parameters
|
1339
|
+
# Request identifier.
|
1340
|
+
RequestId requestId
|
1341
|
+
# Timestamp.
|
1342
|
+
MonotonicTime timestamp
|
1343
|
+
# Total number of bytes received for this request.
|
1344
|
+
number encodedDataLength
|
1345
|
+
|
1346
|
+
# Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
|
1347
|
+
# mocked.
|
1348
|
+
# Deprecated, use Fetch.requestPaused instead.
|
1349
|
+
experimental deprecated event requestIntercepted
|
1350
|
+
parameters
|
1351
|
+
# Each request the page makes will have a unique id, however if any redirects are encountered
|
1352
|
+
# while processing that fetch, they will be reported with the same id as the original fetch.
|
1353
|
+
# Likewise if HTTP authentication is needed then the same fetch id will be used.
|
1354
|
+
InterceptionId interceptionId
|
1355
|
+
Request request
|
1356
|
+
# The id of the frame that initiated the request.
|
1357
|
+
Page.FrameId frameId
|
1358
|
+
# How the requested resource will be used.
|
1359
|
+
ResourceType resourceType
|
1360
|
+
# Whether this is a navigation request, which can abort the navigation completely.
|
1361
|
+
boolean isNavigationRequest
|
1362
|
+
# Set if the request is a navigation that will result in a download.
|
1363
|
+
# Only present after response is received from the server (i.e. HeadersReceived stage).
|
1364
|
+
optional boolean isDownload
|
1365
|
+
# Redirect location, only sent if a redirect was intercepted.
|
1366
|
+
optional string redirectUrl
|
1367
|
+
# Details of the Authorization Challenge encountered. If this is set then
|
1368
|
+
# continueInterceptedRequest must contain an authChallengeResponse.
|
1369
|
+
optional AuthChallenge authChallenge
|
1370
|
+
# Response error if intercepted at response stage or if redirect occurred while intercepting
|
1371
|
+
# request.
|
1372
|
+
optional ErrorReason responseErrorReason
|
1373
|
+
# Response code if intercepted at response stage or if redirect occurred while intercepting
|
1374
|
+
# request or auth retry occurred.
|
1375
|
+
optional integer responseStatusCode
|
1376
|
+
# Response headers if intercepted at the response stage or if redirect occurred while
|
1377
|
+
# intercepting request or auth retry occurred.
|
1378
|
+
optional Headers responseHeaders
|
1379
|
+
# If the intercepted request had a corresponding requestWillBeSent event fired for it, then
|
1380
|
+
# this requestId will be the same as the requestId present in the requestWillBeSent event.
|
1381
|
+
optional RequestId requestId
|
1382
|
+
|
1383
|
+
# Fired if request ended up loading from cache.
|
1384
|
+
event requestServedFromCache
|
1385
|
+
parameters
|
1386
|
+
# Request identifier.
|
1387
|
+
RequestId requestId
|
1388
|
+
|
1389
|
+
# Fired when page is about to send HTTP request.
|
1390
|
+
event requestWillBeSent
|
1391
|
+
parameters
|
1392
|
+
# Request identifier.
|
1393
|
+
RequestId requestId
|
1394
|
+
# Loader identifier. Empty string if the request is fetched from worker.
|
1395
|
+
LoaderId loaderId
|
1396
|
+
# URL of the document this request is loaded for.
|
1397
|
+
string documentURL
|
1398
|
+
# Request data.
|
1399
|
+
Request request
|
1400
|
+
# Timestamp.
|
1401
|
+
MonotonicTime timestamp
|
1402
|
+
# Timestamp.
|
1403
|
+
TimeSinceEpoch wallTime
|
1404
|
+
# Request initiator.
|
1405
|
+
Initiator initiator
|
1406
|
+
# In the case that redirectResponse is populated, this flag indicates whether
|
1407
|
+
# requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted
|
1408
|
+
# for the request which was just redirected.
|
1409
|
+
experimental boolean redirectHasExtraInfo
|
1410
|
+
# Redirect response data.
|
1411
|
+
optional Response redirectResponse
|
1412
|
+
# Type of this resource.
|
1413
|
+
optional ResourceType type
|
1414
|
+
# Frame identifier.
|
1415
|
+
optional Page.FrameId frameId
|
1416
|
+
# Whether the request is initiated by a user gesture. Defaults to false.
|
1417
|
+
optional boolean hasUserGesture
|
1418
|
+
|
1419
|
+
# Fired when resource loading priority is changed
|
1420
|
+
experimental event resourceChangedPriority
|
1421
|
+
parameters
|
1422
|
+
# Request identifier.
|
1423
|
+
RequestId requestId
|
1424
|
+
# New priority
|
1425
|
+
ResourcePriority newPriority
|
1426
|
+
# Timestamp.
|
1427
|
+
MonotonicTime timestamp
|
1428
|
+
|
1429
|
+
# Fired when a signed exchange was received over the network
|
1430
|
+
experimental event signedExchangeReceived
|
1431
|
+
parameters
|
1432
|
+
# Request identifier.
|
1433
|
+
RequestId requestId
|
1434
|
+
# Information about the signed exchange response.
|
1435
|
+
SignedExchangeInfo info
|
1436
|
+
|
1437
|
+
# Fired when HTTP response is available.
|
1438
|
+
event responseReceived
|
1439
|
+
parameters
|
1440
|
+
# Request identifier.
|
1441
|
+
RequestId requestId
|
1442
|
+
# Loader identifier. Empty string if the request is fetched from worker.
|
1443
|
+
LoaderId loaderId
|
1444
|
+
# Timestamp.
|
1445
|
+
MonotonicTime timestamp
|
1446
|
+
# Resource type.
|
1447
|
+
ResourceType type
|
1448
|
+
# Response data.
|
1449
|
+
Response response
|
1450
|
+
# Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be
|
1451
|
+
# or were emitted for this request.
|
1452
|
+
experimental boolean hasExtraInfo
|
1453
|
+
# Frame identifier.
|
1454
|
+
optional Page.FrameId frameId
|
1455
|
+
|
1456
|
+
# Fired when WebSocket is closed.
|
1457
|
+
event webSocketClosed
|
1458
|
+
parameters
|
1459
|
+
# Request identifier.
|
1460
|
+
RequestId requestId
|
1461
|
+
# Timestamp.
|
1462
|
+
MonotonicTime timestamp
|
1463
|
+
|
1464
|
+
# Fired upon WebSocket creation.
|
1465
|
+
event webSocketCreated
|
1466
|
+
parameters
|
1467
|
+
# Request identifier.
|
1468
|
+
RequestId requestId
|
1469
|
+
# WebSocket request URL.
|
1470
|
+
string url
|
1471
|
+
# Request initiator.
|
1472
|
+
optional Initiator initiator
|
1473
|
+
|
1474
|
+
# Fired when WebSocket message error occurs.
|
1475
|
+
event webSocketFrameError
|
1476
|
+
parameters
|
1477
|
+
# Request identifier.
|
1478
|
+
RequestId requestId
|
1479
|
+
# Timestamp.
|
1480
|
+
MonotonicTime timestamp
|
1481
|
+
# WebSocket error message.
|
1482
|
+
string errorMessage
|
1483
|
+
|
1484
|
+
# Fired when WebSocket message is received.
|
1485
|
+
event webSocketFrameReceived
|
1486
|
+
parameters
|
1487
|
+
# Request identifier.
|
1488
|
+
RequestId requestId
|
1489
|
+
# Timestamp.
|
1490
|
+
MonotonicTime timestamp
|
1491
|
+
# WebSocket response data.
|
1492
|
+
WebSocketFrame response
|
1493
|
+
|
1494
|
+
# Fired when WebSocket message is sent.
|
1495
|
+
event webSocketFrameSent
|
1496
|
+
parameters
|
1497
|
+
# Request identifier.
|
1498
|
+
RequestId requestId
|
1499
|
+
# Timestamp.
|
1500
|
+
MonotonicTime timestamp
|
1501
|
+
# WebSocket response data.
|
1502
|
+
WebSocketFrame response
|
1503
|
+
|
1504
|
+
# Fired when WebSocket handshake response becomes available.
|
1505
|
+
event webSocketHandshakeResponseReceived
|
1506
|
+
parameters
|
1507
|
+
# Request identifier.
|
1508
|
+
RequestId requestId
|
1509
|
+
# Timestamp.
|
1510
|
+
MonotonicTime timestamp
|
1511
|
+
# WebSocket response data.
|
1512
|
+
WebSocketResponse response
|
1513
|
+
|
1514
|
+
# Fired when WebSocket is about to initiate handshake.
|
1515
|
+
event webSocketWillSendHandshakeRequest
|
1516
|
+
parameters
|
1517
|
+
# Request identifier.
|
1518
|
+
RequestId requestId
|
1519
|
+
# Timestamp.
|
1520
|
+
MonotonicTime timestamp
|
1521
|
+
# UTC Timestamp.
|
1522
|
+
TimeSinceEpoch wallTime
|
1523
|
+
# WebSocket request data.
|
1524
|
+
WebSocketRequest request
|
1525
|
+
|
1526
|
+
# Fired upon WebTransport creation.
|
1527
|
+
event webTransportCreated
|
1528
|
+
parameters
|
1529
|
+
# WebTransport identifier.
|
1530
|
+
RequestId transportId
|
1531
|
+
# WebTransport request URL.
|
1532
|
+
string url
|
1533
|
+
# Timestamp.
|
1534
|
+
MonotonicTime timestamp
|
1535
|
+
# Request initiator.
|
1536
|
+
optional Initiator initiator
|
1537
|
+
|
1538
|
+
# Fired when WebTransport handshake is finished.
|
1539
|
+
event webTransportConnectionEstablished
|
1540
|
+
parameters
|
1541
|
+
# WebTransport identifier.
|
1542
|
+
RequestId transportId
|
1543
|
+
# Timestamp.
|
1544
|
+
MonotonicTime timestamp
|
1545
|
+
|
1546
|
+
# Fired when WebTransport is disposed.
|
1547
|
+
event webTransportClosed
|
1548
|
+
parameters
|
1549
|
+
# WebTransport identifier.
|
1550
|
+
RequestId transportId
|
1551
|
+
# Timestamp.
|
1552
|
+
MonotonicTime timestamp
|
1553
|
+
|
1554
|
+
experimental type DirectSocketDnsQueryType extends string
|
1555
|
+
enum
|
1556
|
+
ipv4
|
1557
|
+
ipv6
|
1558
|
+
|
1559
|
+
experimental type DirectTCPSocketOptions extends object
|
1560
|
+
properties
|
1561
|
+
# TCP_NODELAY option
|
1562
|
+
boolean noDelay
|
1563
|
+
# Expected to be unsigned integer.
|
1564
|
+
optional number keepAliveDelay
|
1565
|
+
# Expected to be unsigned integer.
|
1566
|
+
optional number sendBufferSize
|
1567
|
+
# Expected to be unsigned integer.
|
1568
|
+
optional number receiveBufferSize
|
1569
|
+
optional DirectSocketDnsQueryType dnsQueryType
|
1570
|
+
|
1571
|
+
|
1572
|
+
# Fired upon direct_socket.TCPSocket creation.
|
1573
|
+
experimental event directTCPSocketCreated
|
1574
|
+
parameters
|
1575
|
+
RequestId identifier
|
1576
|
+
string remoteAddr
|
1577
|
+
# Unsigned int 16.
|
1578
|
+
integer remotePort
|
1579
|
+
DirectTCPSocketOptions options
|
1580
|
+
MonotonicTime timestamp
|
1581
|
+
optional Initiator initiator
|
1582
|
+
|
1583
|
+
# Fired when direct_socket.TCPSocket connection is opened.
|
1584
|
+
experimental event directTCPSocketOpened
|
1585
|
+
parameters
|
1586
|
+
RequestId identifier
|
1587
|
+
string remoteAddr
|
1588
|
+
# Expected to be unsigned integer.
|
1589
|
+
integer remotePort
|
1590
|
+
MonotonicTime timestamp
|
1591
|
+
optional string localAddr
|
1592
|
+
# Expected to be unsigned integer.
|
1593
|
+
optional integer localPort
|
1594
|
+
|
1595
|
+
# Fired when direct_socket.TCPSocket is aborted.
|
1596
|
+
experimental event directTCPSocketAborted
|
1597
|
+
parameters
|
1598
|
+
RequestId identifier
|
1599
|
+
string errorMessage
|
1600
|
+
MonotonicTime timestamp
|
1601
|
+
|
1602
|
+
# Fired when direct_socket.TCPSocket is closed.
|
1603
|
+
experimental event directTCPSocketClosed
|
1604
|
+
parameters
|
1605
|
+
RequestId identifier
|
1606
|
+
MonotonicTime timestamp
|
1607
|
+
|
1608
|
+
# Fired when data is sent to tcp direct socket stream.
|
1609
|
+
experimental event directTCPSocketChunkSent
|
1610
|
+
parameters
|
1611
|
+
RequestId identifier
|
1612
|
+
binary data
|
1613
|
+
MonotonicTime timestamp
|
1614
|
+
|
1615
|
+
# Fired when data is received from tcp direct socket stream.
|
1616
|
+
experimental event directTCPSocketChunkReceived
|
1617
|
+
parameters
|
1618
|
+
RequestId identifier
|
1619
|
+
binary data
|
1620
|
+
MonotonicTime timestamp
|
1621
|
+
|
1622
|
+
experimental type DirectUDPSocketOptions extends object
|
1623
|
+
properties
|
1624
|
+
optional string remoteAddr
|
1625
|
+
# Unsigned int 16.
|
1626
|
+
optional integer remotePort
|
1627
|
+
|
1628
|
+
optional string localAddr
|
1629
|
+
# Unsigned int 16.
|
1630
|
+
optional integer localPort
|
1631
|
+
|
1632
|
+
optional DirectSocketDnsQueryType dnsQueryType
|
1633
|
+
|
1634
|
+
# Expected to be unsigned integer.
|
1635
|
+
optional number sendBufferSize
|
1636
|
+
# Expected to be unsigned integer.
|
1637
|
+
optional number receiveBufferSize
|
1638
|
+
|
1639
|
+
|
1640
|
+
# Fired upon direct_socket.UDPSocket creation.
|
1641
|
+
experimental event directUDPSocketCreated
|
1642
|
+
parameters
|
1643
|
+
RequestId identifier
|
1644
|
+
DirectUDPSocketOptions options
|
1645
|
+
MonotonicTime timestamp
|
1646
|
+
optional Initiator initiator
|
1647
|
+
|
1648
|
+
# Fired when direct_socket.UDPSocket connection is opened.
|
1649
|
+
experimental event directUDPSocketOpened
|
1650
|
+
parameters
|
1651
|
+
RequestId identifier
|
1652
|
+
string localAddr
|
1653
|
+
# Expected to be unsigned integer.
|
1654
|
+
integer localPort
|
1655
|
+
MonotonicTime timestamp
|
1656
|
+
optional string remoteAddr
|
1657
|
+
# Expected to be unsigned integer.
|
1658
|
+
optional integer remotePort
|
1659
|
+
|
1660
|
+
# Fired when direct_socket.UDPSocket is aborted.
|
1661
|
+
experimental event directUDPSocketAborted
|
1662
|
+
parameters
|
1663
|
+
RequestId identifier
|
1664
|
+
string errorMessage
|
1665
|
+
MonotonicTime timestamp
|
1666
|
+
|
1667
|
+
# Fired when direct_socket.UDPSocket is closed.
|
1668
|
+
experimental event directUDPSocketClosed
|
1669
|
+
parameters
|
1670
|
+
RequestId identifier
|
1671
|
+
MonotonicTime timestamp
|
1672
|
+
|
1673
|
+
experimental type DirectUDPMessage extends object
|
1674
|
+
properties
|
1675
|
+
binary data
|
1676
|
+
# Null for connected mode.
|
1677
|
+
optional string remoteAddr
|
1678
|
+
# Null for connected mode.
|
1679
|
+
# Expected to be unsigned integer.
|
1680
|
+
optional integer remotePort
|
1681
|
+
|
1682
|
+
# Fired when message is sent to udp direct socket stream.
|
1683
|
+
experimental event directUDPSocketChunkSent
|
1684
|
+
parameters
|
1685
|
+
RequestId identifier
|
1686
|
+
DirectUDPMessage message
|
1687
|
+
MonotonicTime timestamp
|
1688
|
+
|
1689
|
+
# Fired when message is received from udp direct socket stream.
|
1690
|
+
experimental event directUDPSocketChunkReceived
|
1691
|
+
parameters
|
1692
|
+
RequestId identifier
|
1693
|
+
DirectUDPMessage message
|
1694
|
+
MonotonicTime timestamp
|
1695
|
+
|
1696
|
+
experimental type PrivateNetworkRequestPolicy extends string
|
1697
|
+
enum
|
1698
|
+
Allow
|
1699
|
+
BlockFromInsecureToMorePrivate
|
1700
|
+
WarnFromInsecureToMorePrivate
|
1701
|
+
PreflightBlock
|
1702
|
+
PreflightWarn
|
1703
|
+
PermissionBlock
|
1704
|
+
PermissionWarn
|
1705
|
+
|
1706
|
+
experimental type IPAddressSpace extends string
|
1707
|
+
enum
|
1708
|
+
Loopback
|
1709
|
+
Local
|
1710
|
+
Public
|
1711
|
+
Unknown
|
1712
|
+
|
1713
|
+
experimental type ConnectTiming extends object
|
1714
|
+
properties
|
1715
|
+
# Timing's requestTime is a baseline in seconds, while the other numbers are ticks in
|
1716
|
+
# milliseconds relatively to this requestTime. Matches ResourceTiming's requestTime for
|
1717
|
+
# the same request (but not for redirected requests).
|
1718
|
+
number requestTime
|
1719
|
+
|
1720
|
+
experimental type ClientSecurityState extends object
|
1721
|
+
properties
|
1722
|
+
boolean initiatorIsSecureContext
|
1723
|
+
IPAddressSpace initiatorIPAddressSpace
|
1724
|
+
PrivateNetworkRequestPolicy privateNetworkRequestPolicy
|
1725
|
+
|
1726
|
+
# Fired when additional information about a requestWillBeSent event is available from the
|
1727
|
+
# network stack. Not every requestWillBeSent event will have an additional
|
1728
|
+
# requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent
|
1729
|
+
# or requestWillBeSentExtraInfo will be fired first for the same request.
|
1730
|
+
experimental event requestWillBeSentExtraInfo
|
1731
|
+
parameters
|
1732
|
+
# Request identifier. Used to match this information to an existing requestWillBeSent event.
|
1733
|
+
RequestId requestId
|
1734
|
+
# A list of cookies potentially associated to the requested URL. This includes both cookies sent with
|
1735
|
+
# the request and the ones not sent; the latter are distinguished by having blockedReasons field set.
|
1736
|
+
array of AssociatedCookie associatedCookies
|
1737
|
+
# Raw request headers as they will be sent over the wire.
|
1738
|
+
Headers headers
|
1739
|
+
# Connection timing information for the request.
|
1740
|
+
experimental ConnectTiming connectTiming
|
1741
|
+
# The client security state set for the request.
|
1742
|
+
optional ClientSecurityState clientSecurityState
|
1743
|
+
# Whether the site has partitioned cookies stored in a partition different than the current one.
|
1744
|
+
optional boolean siteHasCookieInOtherPartition
|
1745
|
+
|
1746
|
+
# Fired when additional information about a responseReceived event is available from the network
|
1747
|
+
# stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for
|
1748
|
+
# it, and responseReceivedExtraInfo may be fired before or after responseReceived.
|
1749
|
+
experimental event responseReceivedExtraInfo
|
1750
|
+
parameters
|
1751
|
+
# Request identifier. Used to match this information to another responseReceived event.
|
1752
|
+
RequestId requestId
|
1753
|
+
# A list of cookies which were not stored from the response along with the corresponding
|
1754
|
+
# reasons for blocking. The cookies here may not be valid due to syntax errors, which
|
1755
|
+
# are represented by the invalid cookie line string instead of a proper cookie.
|
1756
|
+
array of BlockedSetCookieWithReason blockedCookies
|
1757
|
+
# Raw response headers as they were received over the wire.
|
1758
|
+
# Duplicate headers in the response are represented as a single key with their values
|
1759
|
+
# concatentated using `\n` as the separator.
|
1760
|
+
# See also `headersText` that contains verbatim text for HTTP/1.*.
|
1761
|
+
Headers headers
|
1762
|
+
# The IP address space of the resource. The address space can only be determined once the transport
|
1763
|
+
# established the connection, so we can't send it in `requestWillBeSentExtraInfo`.
|
1764
|
+
IPAddressSpace resourceIPAddressSpace
|
1765
|
+
# The status code of the response. This is useful in cases the request failed and no responseReceived
|
1766
|
+
# event is triggered, which is the case for, e.g., CORS errors. This is also the correct status code
|
1767
|
+
# for cached requests, where the status in responseReceived is a 200 and this will be 304.
|
1768
|
+
integer statusCode
|
1769
|
+
# Raw response header text as it was received over the wire. The raw text may not always be
|
1770
|
+
# available, such as in the case of HTTP/2 or QUIC.
|
1771
|
+
optional string headersText
|
1772
|
+
# The cookie partition key that will be used to store partitioned cookies set in this response.
|
1773
|
+
# Only sent when partitioned cookies are enabled.
|
1774
|
+
experimental optional CookiePartitionKey cookiePartitionKey
|
1775
|
+
# True if partitioned cookies are enabled, but the partition key is not serializable to string.
|
1776
|
+
optional boolean cookiePartitionKeyOpaque
|
1777
|
+
# A list of cookies which should have been blocked by 3PCD but are exempted and stored from
|
1778
|
+
# the response with the corresponding reason.
|
1779
|
+
optional array of ExemptedSetCookieWithReason exemptedCookies
|
1780
|
+
|
1781
|
+
# Fired when 103 Early Hints headers is received in addition to the common response.
|
1782
|
+
# Not every responseReceived event will have an responseReceivedEarlyHints fired.
|
1783
|
+
# Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
|
1784
|
+
experimental event responseReceivedEarlyHints
|
1785
|
+
parameters
|
1786
|
+
# Request identifier. Used to match this information to another responseReceived event.
|
1787
|
+
RequestId requestId
|
1788
|
+
# Raw response headers as they were received over the wire.
|
1789
|
+
# Duplicate headers in the response are represented as a single key with their values
|
1790
|
+
# concatentated using `\n` as the separator.
|
1791
|
+
# See also `headersText` that contains verbatim text for HTTP/1.*.
|
1792
|
+
Headers headers
|
1793
|
+
|
1794
|
+
# Fired exactly once for each Trust Token operation. Depending on
|
1795
|
+
# the type of the operation and whether the operation succeeded or
|
1796
|
+
# failed, the event is fired before the corresponding request was sent
|
1797
|
+
# or after the response was received.
|
1798
|
+
experimental event trustTokenOperationDone
|
1799
|
+
parameters
|
1800
|
+
# Detailed success or error status of the operation.
|
1801
|
+
# 'AlreadyExists' also signifies a successful operation, as the result
|
1802
|
+
# of the operation already exists und thus, the operation was abort
|
1803
|
+
# preemptively (e.g. a cache hit).
|
1804
|
+
enum status
|
1805
|
+
Ok
|
1806
|
+
InvalidArgument
|
1807
|
+
MissingIssuerKeys
|
1808
|
+
FailedPrecondition
|
1809
|
+
ResourceExhausted
|
1810
|
+
AlreadyExists
|
1811
|
+
ResourceLimited
|
1812
|
+
Unauthorized
|
1813
|
+
BadResponse
|
1814
|
+
InternalError
|
1815
|
+
UnknownError
|
1816
|
+
FulfilledLocally
|
1817
|
+
SiteIssuerLimit
|
1818
|
+
TrustTokenOperationType type
|
1819
|
+
RequestId requestId
|
1820
|
+
# Top level origin. The context in which the operation was attempted.
|
1821
|
+
optional string topLevelOrigin
|
1822
|
+
# Origin of the issuer in case of a "Issuance" or "Redemption" operation.
|
1823
|
+
optional string issuerOrigin
|
1824
|
+
# The number of obtained Trust Tokens on a successful "Issuance" operation.
|
1825
|
+
optional integer issuedTokenCount
|
1826
|
+
|
1827
|
+
# Fired once security policy has been updated.
|
1828
|
+
experimental event policyUpdated
|
1829
|
+
|
1830
|
+
# Fired once when parsing the .wbn file has succeeded.
|
1831
|
+
# The event contains the information about the web bundle contents.
|
1832
|
+
experimental event subresourceWebBundleMetadataReceived
|
1833
|
+
parameters
|
1834
|
+
# Request identifier. Used to match this information to another event.
|
1835
|
+
RequestId requestId
|
1836
|
+
# A list of URLs of resources in the subresource Web Bundle.
|
1837
|
+
array of string urls
|
1838
|
+
|
1839
|
+
# Fired once when parsing the .wbn file has failed.
|
1840
|
+
experimental event subresourceWebBundleMetadataError
|
1841
|
+
parameters
|
1842
|
+
# Request identifier. Used to match this information to another event.
|
1843
|
+
RequestId requestId
|
1844
|
+
# Error message
|
1845
|
+
string errorMessage
|
1846
|
+
|
1847
|
+
# Fired when handling requests for resources within a .wbn file.
|
1848
|
+
# Note: this will only be fired for resources that are requested by the webpage.
|
1849
|
+
experimental event subresourceWebBundleInnerResponseParsed
|
1850
|
+
parameters
|
1851
|
+
# Request identifier of the subresource request
|
1852
|
+
RequestId innerRequestId
|
1853
|
+
# URL of the subresource resource.
|
1854
|
+
string innerRequestURL
|
1855
|
+
# Bundle request identifier. Used to match this information to another event.
|
1856
|
+
# This made be absent in case when the instrumentation was enabled only
|
1857
|
+
# after webbundle was parsed.
|
1858
|
+
optional RequestId bundleRequestId
|
1859
|
+
|
1860
|
+
# Fired when request for resources within a .wbn file failed.
|
1861
|
+
experimental event subresourceWebBundleInnerResponseError
|
1862
|
+
parameters
|
1863
|
+
# Request identifier of the subresource request
|
1864
|
+
RequestId innerRequestId
|
1865
|
+
# URL of the subresource resource.
|
1866
|
+
string innerRequestURL
|
1867
|
+
# Error message
|
1868
|
+
string errorMessage
|
1869
|
+
# Bundle request identifier. Used to match this information to another event.
|
1870
|
+
# This made be absent in case when the instrumentation was enabled only
|
1871
|
+
# after webbundle was parsed.
|
1872
|
+
optional RequestId bundleRequestId
|
1873
|
+
|
1874
|
+
experimental type CrossOriginOpenerPolicyValue extends string
|
1875
|
+
enum
|
1876
|
+
SameOrigin
|
1877
|
+
SameOriginAllowPopups
|
1878
|
+
RestrictProperties
|
1879
|
+
UnsafeNone
|
1880
|
+
SameOriginPlusCoep
|
1881
|
+
RestrictPropertiesPlusCoep
|
1882
|
+
NoopenerAllowPopups
|
1883
|
+
|
1884
|
+
experimental type CrossOriginOpenerPolicyStatus extends object
|
1885
|
+
properties
|
1886
|
+
CrossOriginOpenerPolicyValue value
|
1887
|
+
CrossOriginOpenerPolicyValue reportOnlyValue
|
1888
|
+
optional string reportingEndpoint
|
1889
|
+
optional string reportOnlyReportingEndpoint
|
1890
|
+
|
1891
|
+
experimental type CrossOriginEmbedderPolicyValue extends string
|
1892
|
+
enum
|
1893
|
+
None
|
1894
|
+
Credentialless
|
1895
|
+
RequireCorp
|
1896
|
+
|
1897
|
+
experimental type CrossOriginEmbedderPolicyStatus extends object
|
1898
|
+
properties
|
1899
|
+
CrossOriginEmbedderPolicyValue value
|
1900
|
+
CrossOriginEmbedderPolicyValue reportOnlyValue
|
1901
|
+
optional string reportingEndpoint
|
1902
|
+
optional string reportOnlyReportingEndpoint
|
1903
|
+
|
1904
|
+
experimental type ContentSecurityPolicySource extends string
|
1905
|
+
enum
|
1906
|
+
HTTP
|
1907
|
+
Meta
|
1908
|
+
|
1909
|
+
experimental type ContentSecurityPolicyStatus extends object
|
1910
|
+
properties
|
1911
|
+
string effectiveDirectives
|
1912
|
+
boolean isEnforced
|
1913
|
+
ContentSecurityPolicySource source
|
1914
|
+
|
1915
|
+
experimental type SecurityIsolationStatus extends object
|
1916
|
+
properties
|
1917
|
+
optional CrossOriginOpenerPolicyStatus coop
|
1918
|
+
optional CrossOriginEmbedderPolicyStatus coep
|
1919
|
+
optional array of ContentSecurityPolicyStatus csp
|
1920
|
+
|
1921
|
+
# Returns information about the COEP/COOP isolation status.
|
1922
|
+
experimental command getSecurityIsolationStatus
|
1923
|
+
parameters
|
1924
|
+
# If no frameId is provided, the status of the target is provided.
|
1925
|
+
optional Page.FrameId frameId
|
1926
|
+
returns
|
1927
|
+
SecurityIsolationStatus status
|
1928
|
+
|
1929
|
+
# Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client.
|
1930
|
+
# Enabling triggers 'reportingApiReportAdded' for all existing reports.
|
1931
|
+
experimental command enableReportingApi
|
1932
|
+
parameters
|
1933
|
+
# Whether to enable or disable events for the Reporting API
|
1934
|
+
boolean enable
|
1935
|
+
|
1936
|
+
# The status of a Reporting API report.
|
1937
|
+
experimental type ReportStatus extends string
|
1938
|
+
enum
|
1939
|
+
# Report has been queued and no attempt has been made to deliver it yet,
|
1940
|
+
# or attempted previous upload failed (impermanently).
|
1941
|
+
Queued
|
1942
|
+
# There is an ongoing attempt to upload this report.
|
1943
|
+
Pending
|
1944
|
+
# Deletion of this report was requested while it was pending, so it will
|
1945
|
+
# be removed after possibly outstanding upload attempts complete (successful
|
1946
|
+
# or not).
|
1947
|
+
MarkedForRemoval
|
1948
|
+
# Successfully uploaded and MarkedForRemoval.
|
1949
|
+
Success
|
1950
|
+
|
1951
|
+
experimental type ReportId extends string
|
1952
|
+
|
1953
|
+
# An object representing a report generated by the Reporting API.
|
1954
|
+
experimental type ReportingApiReport extends object
|
1955
|
+
properties
|
1956
|
+
ReportId id
|
1957
|
+
# The URL of the document that triggered the report.
|
1958
|
+
string initiatorUrl
|
1959
|
+
# The name of the endpoint group that should be used to deliver the report.
|
1960
|
+
string destination
|
1961
|
+
# The type of the report (specifies the set of data that is contained in the report body).
|
1962
|
+
string type
|
1963
|
+
# When the report was generated.
|
1964
|
+
Network.TimeSinceEpoch timestamp
|
1965
|
+
# How many uploads deep the related request was.
|
1966
|
+
integer depth
|
1967
|
+
# The number of delivery attempts made so far, not including an active attempt.
|
1968
|
+
integer completedAttempts
|
1969
|
+
object body
|
1970
|
+
ReportStatus status
|
1971
|
+
|
1972
|
+
# Is sent whenever a new report is added.
|
1973
|
+
# And after 'enableReportingApi' for all existing reports.
|
1974
|
+
experimental event reportingApiReportAdded
|
1975
|
+
parameters
|
1976
|
+
ReportingApiReport report
|
1977
|
+
|
1978
|
+
experimental event reportingApiReportUpdated
|
1979
|
+
parameters
|
1980
|
+
ReportingApiReport report
|
1981
|
+
|
1982
|
+
experimental type ReportingApiEndpoint extends object
|
1983
|
+
properties
|
1984
|
+
# The URL of the endpoint to which reports may be delivered.
|
1985
|
+
string url
|
1986
|
+
# Name of the endpoint group.
|
1987
|
+
string groupName
|
1988
|
+
|
1989
|
+
experimental event reportingApiEndpointsChangedForOrigin
|
1990
|
+
parameters
|
1991
|
+
# Origin of the document(s) which configured the endpoints.
|
1992
|
+
string origin
|
1993
|
+
array of ReportingApiEndpoint endpoints
|
1994
|
+
|
1995
|
+
# An object providing the result of a network resource load.
|
1996
|
+
experimental type LoadNetworkResourcePageResult extends object
|
1997
|
+
properties
|
1998
|
+
boolean success
|
1999
|
+
# Optional values used for error reporting.
|
2000
|
+
optional number netError
|
2001
|
+
optional string netErrorName
|
2002
|
+
optional number httpStatusCode
|
2003
|
+
# If successful, one of the following two fields holds the result.
|
2004
|
+
optional IO.StreamHandle stream
|
2005
|
+
# Response headers.
|
2006
|
+
optional Network.Headers headers
|
2007
|
+
|
2008
|
+
# An options object that may be extended later to better support CORS,
|
2009
|
+
# CORB and streaming.
|
2010
|
+
experimental type LoadNetworkResourceOptions extends object
|
2011
|
+
properties
|
2012
|
+
boolean disableCache
|
2013
|
+
boolean includeCredentials
|
2014
|
+
|
2015
|
+
# Fetches the resource and returns the content.
|
2016
|
+
experimental command loadNetworkResource
|
2017
|
+
parameters
|
2018
|
+
# Frame id to get the resource for. Mandatory for frame targets, and
|
2019
|
+
# should be omitted for worker targets.
|
2020
|
+
optional Page.FrameId frameId
|
2021
|
+
# URL of the resource to get content for.
|
2022
|
+
string url
|
2023
|
+
# Options for the request.
|
2024
|
+
LoadNetworkResourceOptions options
|
2025
|
+
returns
|
2026
|
+
LoadNetworkResourcePageResult resource
|
2027
|
+
|
2028
|
+
# Sets Controls for third-party cookie access
|
2029
|
+
# Page reload is required before the new cookie behavior will be observed
|
2030
|
+
experimental command setCookieControls
|
2031
|
+
parameters
|
2032
|
+
# Whether 3pc restriction is enabled.
|
2033
|
+
boolean enableThirdPartyCookieRestriction
|
2034
|
+
|
2035
|
+
# Whether 3pc grace period exception should be enabled; false by default.
|
2036
|
+
boolean disableThirdPartyCookieMetadata
|
2037
|
+
|
2038
|
+
# Whether 3pc heuristics exceptions should be enabled; false by default.
|
2039
|
+
boolean disableThirdPartyCookieHeuristics
|