devtools-protocol 0.0.1670834 → 0.0.1673900
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 +23 -237
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +4 -0
- package/pdl/domains/DOM.pdl +9 -0
- package/pdl/domains/Network.pdl +2 -118
- package/pdl/domains/Page.pdl +0 -1
- package/pdl/domains/WebAuthn.pdl +1 -1
- package/types/protocol-mapping.d.ts +9 -50
- package/types/protocol-proxy-api.d.ts +7 -43
- package/types/protocol-tests-proxy-api.d.ts +7 -45
- package/types/protocol.d.ts +15 -172
|
@@ -1957,6 +1957,7 @@
|
|
|
1957
1957
|
"TooManyRequests",
|
|
1958
1958
|
"WellKnownHttpNotFound",
|
|
1959
1959
|
"WellKnownNoResponse",
|
|
1960
|
+
"WellKnownBlockedByConnectionAllowlist",
|
|
1960
1961
|
"WellKnownInvalidResponse",
|
|
1961
1962
|
"WellKnownListEmpty",
|
|
1962
1963
|
"WellKnownInvalidContentType",
|
|
@@ -1964,6 +1965,7 @@
|
|
|
1964
1965
|
"WellKnownTooBig",
|
|
1965
1966
|
"ConfigHttpNotFound",
|
|
1966
1967
|
"ConfigNoResponse",
|
|
1968
|
+
"ConfigBlockedByConnectionAllowlist",
|
|
1967
1969
|
"ConfigInvalidResponse",
|
|
1968
1970
|
"ConfigInvalidContentType",
|
|
1969
1971
|
"IdpNotPotentiallyTrustworthy",
|
|
@@ -1973,11 +1975,13 @@
|
|
|
1973
1975
|
"InvalidSigninResponse",
|
|
1974
1976
|
"AccountsHttpNotFound",
|
|
1975
1977
|
"AccountsNoResponse",
|
|
1978
|
+
"AccountsBlockedByConnectionAllowlist",
|
|
1976
1979
|
"AccountsInvalidResponse",
|
|
1977
1980
|
"AccountsListEmpty",
|
|
1978
1981
|
"AccountsInvalidContentType",
|
|
1979
1982
|
"IdTokenHttpNotFound",
|
|
1980
1983
|
"IdTokenNoResponse",
|
|
1984
|
+
"IdTokenBlockedByConnectionAllowlist",
|
|
1981
1985
|
"IdTokenInvalidResponse",
|
|
1982
1986
|
"IdTokenIdpErrorResponse",
|
|
1983
1987
|
"IdTokenCrossSiteIdpErrorResponse",
|
|
@@ -8893,6 +8897,23 @@
|
|
|
8893
8897
|
}
|
|
8894
8898
|
}
|
|
8895
8899
|
]
|
|
8900
|
+
},
|
|
8901
|
+
{
|
|
8902
|
+
"name": "forceShowInterest",
|
|
8903
|
+
"description": "When enabling, this API forces an element to gain interest in its target,\nkeeping interest active until disabled.",
|
|
8904
|
+
"experimental": true,
|
|
8905
|
+
"parameters": [
|
|
8906
|
+
{
|
|
8907
|
+
"name": "nodeId",
|
|
8908
|
+
"description": "Id of the interest invoker HTMLElement.",
|
|
8909
|
+
"$ref": "NodeId"
|
|
8910
|
+
},
|
|
8911
|
+
{
|
|
8912
|
+
"name": "enable",
|
|
8913
|
+
"description": "If true, opens and holds interest. If false, releases forced interest.",
|
|
8914
|
+
"type": "boolean"
|
|
8915
|
+
}
|
|
8916
|
+
]
|
|
8896
8917
|
}
|
|
8897
8918
|
],
|
|
8898
8919
|
"events": [
|
|
@@ -15667,11 +15688,6 @@
|
|
|
15667
15688
|
"description": "Unique network request identifier.\nNote that this does not identify individual HTTP requests that are part of\na network request.",
|
|
15668
15689
|
"type": "string"
|
|
15669
15690
|
},
|
|
15670
|
-
{
|
|
15671
|
-
"id": "InterceptionId",
|
|
15672
|
-
"description": "Unique intercepted request identifier.",
|
|
15673
|
-
"type": "string"
|
|
15674
|
-
},
|
|
15675
15691
|
{
|
|
15676
15692
|
"id": "ErrorReason",
|
|
15677
15693
|
"description": "Network level fetch failure reason.",
|
|
@@ -17064,42 +17080,6 @@
|
|
|
17064
17080
|
}
|
|
17065
17081
|
]
|
|
17066
17082
|
},
|
|
17067
|
-
{
|
|
17068
|
-
"id": "InterceptionStage",
|
|
17069
|
-
"description": "Stages of the interception to begin intercepting. Request will intercept before the request is\nsent. Response will intercept after the response is received.",
|
|
17070
|
-
"experimental": true,
|
|
17071
|
-
"type": "string",
|
|
17072
|
-
"enum": [
|
|
17073
|
-
"Request",
|
|
17074
|
-
"HeadersReceived"
|
|
17075
|
-
]
|
|
17076
|
-
},
|
|
17077
|
-
{
|
|
17078
|
-
"id": "RequestPattern",
|
|
17079
|
-
"description": "Request pattern for interception.",
|
|
17080
|
-
"experimental": true,
|
|
17081
|
-
"type": "object",
|
|
17082
|
-
"properties": [
|
|
17083
|
-
{
|
|
17084
|
-
"name": "urlPattern",
|
|
17085
|
-
"description": "Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is\nbackslash. Omitting is equivalent to `\"*\"`.",
|
|
17086
|
-
"optional": true,
|
|
17087
|
-
"type": "string"
|
|
17088
|
-
},
|
|
17089
|
-
{
|
|
17090
|
-
"name": "resourceType",
|
|
17091
|
-
"description": "If set, only requests for matching resource types will be intercepted.",
|
|
17092
|
-
"optional": true,
|
|
17093
|
-
"$ref": "ResourceType"
|
|
17094
|
-
},
|
|
17095
|
-
{
|
|
17096
|
-
"name": "interceptionStage",
|
|
17097
|
-
"description": "Stage at which to begin intercepting requests. Default is Request.",
|
|
17098
|
-
"optional": true,
|
|
17099
|
-
"$ref": "InterceptionStage"
|
|
17100
|
-
}
|
|
17101
|
-
]
|
|
17102
|
-
},
|
|
17103
17083
|
{
|
|
17104
17084
|
"id": "SignedExchangeSignature",
|
|
17105
17085
|
"description": "Information about a signed exchange signature.\nhttps://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1",
|
|
@@ -18365,60 +18345,6 @@
|
|
|
18365
18345
|
"name": "clearBrowserCookies",
|
|
18366
18346
|
"description": "Clears browser cookies."
|
|
18367
18347
|
},
|
|
18368
|
-
{
|
|
18369
|
-
"name": "continueInterceptedRequest",
|
|
18370
|
-
"description": "Response to Network.requestIntercepted which either modifies the request to continue with any\nmodifications, or blocks it, or completes it with the provided response bytes. If a network\nfetch occurs as a result which encounters a redirect an additional Network.requestIntercepted\nevent will be sent with the same InterceptionId.\nDeprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.",
|
|
18371
|
-
"experimental": true,
|
|
18372
|
-
"deprecated": true,
|
|
18373
|
-
"parameters": [
|
|
18374
|
-
{
|
|
18375
|
-
"name": "interceptionId",
|
|
18376
|
-
"$ref": "InterceptionId"
|
|
18377
|
-
},
|
|
18378
|
-
{
|
|
18379
|
-
"name": "errorReason",
|
|
18380
|
-
"description": "If set this causes the request to fail with the given reason. Passing `Aborted` for requests\nmarked with `isNavigationRequest` also cancels the navigation. Must not be set in response\nto an authChallenge.",
|
|
18381
|
-
"optional": true,
|
|
18382
|
-
"$ref": "ErrorReason"
|
|
18383
|
-
},
|
|
18384
|
-
{
|
|
18385
|
-
"name": "rawResponse",
|
|
18386
|
-
"description": "If set the requests completes using with the provided base64 encoded raw response, including\nHTTP status line and headers etc... Must not be set in response to an authChallenge. (Encoded as a base64 string when passed over JSON)",
|
|
18387
|
-
"optional": true,
|
|
18388
|
-
"type": "string"
|
|
18389
|
-
},
|
|
18390
|
-
{
|
|
18391
|
-
"name": "url",
|
|
18392
|
-
"description": "If set the request url will be modified in a way that's not observable by page. Must not be\nset in response to an authChallenge.",
|
|
18393
|
-
"optional": true,
|
|
18394
|
-
"type": "string"
|
|
18395
|
-
},
|
|
18396
|
-
{
|
|
18397
|
-
"name": "method",
|
|
18398
|
-
"description": "If set this allows the request method to be overridden. Must not be set in response to an\nauthChallenge.",
|
|
18399
|
-
"optional": true,
|
|
18400
|
-
"type": "string"
|
|
18401
|
-
},
|
|
18402
|
-
{
|
|
18403
|
-
"name": "postData",
|
|
18404
|
-
"description": "If set this allows postData to be set. Must not be set in response to an authChallenge.",
|
|
18405
|
-
"optional": true,
|
|
18406
|
-
"type": "string"
|
|
18407
|
-
},
|
|
18408
|
-
{
|
|
18409
|
-
"name": "headers",
|
|
18410
|
-
"description": "If set this allows the request headers to be changed. Must not be set in response to an\nauthChallenge.",
|
|
18411
|
-
"optional": true,
|
|
18412
|
-
"$ref": "Headers"
|
|
18413
|
-
},
|
|
18414
|
-
{
|
|
18415
|
-
"name": "authChallengeResponse",
|
|
18416
|
-
"description": "Response to a requestIntercepted with an authChallenge. Must not be set otherwise.",
|
|
18417
|
-
"optional": true,
|
|
18418
|
-
"$ref": "AuthChallengeResponse"
|
|
18419
|
-
}
|
|
18420
|
-
]
|
|
18421
|
-
},
|
|
18422
18348
|
{
|
|
18423
18349
|
"name": "deleteCookies",
|
|
18424
18350
|
"description": "Deletes browser cookies with matching name and url or domain/path/partitionKey pair.",
|
|
@@ -18750,47 +18676,6 @@
|
|
|
18750
18676
|
}
|
|
18751
18677
|
]
|
|
18752
18678
|
},
|
|
18753
|
-
{
|
|
18754
|
-
"name": "getResponseBodyForInterception",
|
|
18755
|
-
"description": "Returns content served for the given currently intercepted request.",
|
|
18756
|
-
"experimental": true,
|
|
18757
|
-
"parameters": [
|
|
18758
|
-
{
|
|
18759
|
-
"name": "interceptionId",
|
|
18760
|
-
"description": "Identifier for the intercepted request to get body for.",
|
|
18761
|
-
"$ref": "InterceptionId"
|
|
18762
|
-
}
|
|
18763
|
-
],
|
|
18764
|
-
"returns": [
|
|
18765
|
-
{
|
|
18766
|
-
"name": "body",
|
|
18767
|
-
"description": "Response body.",
|
|
18768
|
-
"type": "string"
|
|
18769
|
-
},
|
|
18770
|
-
{
|
|
18771
|
-
"name": "base64Encoded",
|
|
18772
|
-
"description": "True, if content was sent as base64.",
|
|
18773
|
-
"type": "boolean"
|
|
18774
|
-
}
|
|
18775
|
-
]
|
|
18776
|
-
},
|
|
18777
|
-
{
|
|
18778
|
-
"name": "takeResponseBodyForInterceptionAsStream",
|
|
18779
|
-
"description": "Returns a handle to the stream representing the response body. Note that after this command,\nthe intercepted request can't be continued as is -- you either need to cancel it or to provide\nthe response body. The stream only supports sequential read, IO.read will fail if the position\nis specified.",
|
|
18780
|
-
"experimental": true,
|
|
18781
|
-
"parameters": [
|
|
18782
|
-
{
|
|
18783
|
-
"name": "interceptionId",
|
|
18784
|
-
"$ref": "InterceptionId"
|
|
18785
|
-
}
|
|
18786
|
-
],
|
|
18787
|
-
"returns": [
|
|
18788
|
-
{
|
|
18789
|
-
"name": "stream",
|
|
18790
|
-
"$ref": "IO.StreamHandle"
|
|
18791
|
-
}
|
|
18792
|
-
]
|
|
18793
|
-
},
|
|
18794
18679
|
{
|
|
18795
18680
|
"name": "replayXHR",
|
|
18796
18681
|
"description": "This method sends a new XMLHttpRequest which is identical to the original one. The following\nparameters should be identical: method, url, async, request body, extra headers, withCredentials\nattribute, user, password.",
|
|
@@ -19021,22 +18906,6 @@
|
|
|
19021
18906
|
}
|
|
19022
18907
|
]
|
|
19023
18908
|
},
|
|
19024
|
-
{
|
|
19025
|
-
"name": "setRequestInterception",
|
|
19026
|
-
"description": "Sets the requests to intercept that match the provided patterns and optionally resource types.\nDeprecated, please use Fetch.enable instead.",
|
|
19027
|
-
"experimental": true,
|
|
19028
|
-
"deprecated": true,
|
|
19029
|
-
"parameters": [
|
|
19030
|
-
{
|
|
19031
|
-
"name": "patterns",
|
|
19032
|
-
"description": "Requests matching any of these patterns will be forwarded and wait for the corresponding\ncontinueInterceptedRequest call.",
|
|
19033
|
-
"type": "array",
|
|
19034
|
-
"items": {
|
|
19035
|
-
"$ref": "RequestPattern"
|
|
19036
|
-
}
|
|
19037
|
-
}
|
|
19038
|
-
]
|
|
19039
|
-
},
|
|
19040
18909
|
{
|
|
19041
18910
|
"name": "setUserAgentOverride",
|
|
19042
18911
|
"description": "Allows overriding user agent with the given string.",
|
|
@@ -19332,80 +19201,6 @@
|
|
|
19332
19201
|
}
|
|
19333
19202
|
]
|
|
19334
19203
|
},
|
|
19335
|
-
{
|
|
19336
|
-
"name": "requestIntercepted",
|
|
19337
|
-
"description": "Details of an intercepted HTTP request, which must be either allowed, blocked, modified or\nmocked.\nDeprecated, use Fetch.requestPaused instead.",
|
|
19338
|
-
"experimental": true,
|
|
19339
|
-
"deprecated": true,
|
|
19340
|
-
"parameters": [
|
|
19341
|
-
{
|
|
19342
|
-
"name": "interceptionId",
|
|
19343
|
-
"description": "Each request the page makes will have a unique id, however if any redirects are encountered\nwhile processing that fetch, they will be reported with the same id as the original fetch.\nLikewise if HTTP authentication is needed then the same fetch id will be used.",
|
|
19344
|
-
"$ref": "InterceptionId"
|
|
19345
|
-
},
|
|
19346
|
-
{
|
|
19347
|
-
"name": "request",
|
|
19348
|
-
"$ref": "Request"
|
|
19349
|
-
},
|
|
19350
|
-
{
|
|
19351
|
-
"name": "frameId",
|
|
19352
|
-
"description": "The id of the frame that initiated the request.",
|
|
19353
|
-
"$ref": "Page.FrameId"
|
|
19354
|
-
},
|
|
19355
|
-
{
|
|
19356
|
-
"name": "resourceType",
|
|
19357
|
-
"description": "How the requested resource will be used.",
|
|
19358
|
-
"$ref": "ResourceType"
|
|
19359
|
-
},
|
|
19360
|
-
{
|
|
19361
|
-
"name": "isNavigationRequest",
|
|
19362
|
-
"description": "Whether this is a navigation request, which can abort the navigation completely.",
|
|
19363
|
-
"type": "boolean"
|
|
19364
|
-
},
|
|
19365
|
-
{
|
|
19366
|
-
"name": "isDownload",
|
|
19367
|
-
"description": "Set if the request is a navigation that will result in a download.\nOnly present after response is received from the server (i.e. HeadersReceived stage).",
|
|
19368
|
-
"optional": true,
|
|
19369
|
-
"type": "boolean"
|
|
19370
|
-
},
|
|
19371
|
-
{
|
|
19372
|
-
"name": "redirectUrl",
|
|
19373
|
-
"description": "Redirect location, only sent if a redirect was intercepted.",
|
|
19374
|
-
"optional": true,
|
|
19375
|
-
"type": "string"
|
|
19376
|
-
},
|
|
19377
|
-
{
|
|
19378
|
-
"name": "authChallenge",
|
|
19379
|
-
"description": "Details of the Authorization Challenge encountered. If this is set then\ncontinueInterceptedRequest must contain an authChallengeResponse.",
|
|
19380
|
-
"optional": true,
|
|
19381
|
-
"$ref": "AuthChallenge"
|
|
19382
|
-
},
|
|
19383
|
-
{
|
|
19384
|
-
"name": "responseErrorReason",
|
|
19385
|
-
"description": "Response error if intercepted at response stage or if redirect occurred while intercepting\nrequest.",
|
|
19386
|
-
"optional": true,
|
|
19387
|
-
"$ref": "ErrorReason"
|
|
19388
|
-
},
|
|
19389
|
-
{
|
|
19390
|
-
"name": "responseStatusCode",
|
|
19391
|
-
"description": "Response code if intercepted at response stage or if redirect occurred while intercepting\nrequest or auth retry occurred.",
|
|
19392
|
-
"optional": true,
|
|
19393
|
-
"type": "integer"
|
|
19394
|
-
},
|
|
19395
|
-
{
|
|
19396
|
-
"name": "responseHeaders",
|
|
19397
|
-
"description": "Response headers if intercepted at the response stage or if redirect occurred while\nintercepting request or auth retry occurred.",
|
|
19398
|
-
"optional": true,
|
|
19399
|
-
"$ref": "Headers"
|
|
19400
|
-
},
|
|
19401
|
-
{
|
|
19402
|
-
"name": "requestId",
|
|
19403
|
-
"description": "If the intercepted request had a corresponding requestWillBeSent event fired for it, then\nthis requestId will be the same as the requestId present in the requestWillBeSent event.",
|
|
19404
|
-
"optional": true,
|
|
19405
|
-
"$ref": "RequestId"
|
|
19406
|
-
}
|
|
19407
|
-
]
|
|
19408
|
-
},
|
|
19409
19204
|
{
|
|
19410
19205
|
"name": "requestServedFromCache",
|
|
19411
19206
|
"description": "Fired if request ended up loading from cache.",
|
|
@@ -19863,7 +19658,7 @@
|
|
|
19863
19658
|
},
|
|
19864
19659
|
{
|
|
19865
19660
|
"name": "errorMessage",
|
|
19866
|
-
"
|
|
19661
|
+
"$ref": "ErrorReason"
|
|
19867
19662
|
},
|
|
19868
19663
|
{
|
|
19869
19664
|
"name": "timestamp",
|
|
@@ -20022,7 +19817,7 @@
|
|
|
20022
19817
|
},
|
|
20023
19818
|
{
|
|
20024
19819
|
"name": "errorMessage",
|
|
20025
|
-
"
|
|
19820
|
+
"$ref": "ErrorReason"
|
|
20026
19821
|
},
|
|
20027
19822
|
{
|
|
20028
19823
|
"name": "timestamp",
|
|
@@ -22895,14 +22690,6 @@
|
|
|
22895
22690
|
"name": "name",
|
|
22896
22691
|
"type": "string"
|
|
22897
22692
|
},
|
|
22898
|
-
{
|
|
22899
|
-
"name": "icons",
|
|
22900
|
-
"optional": true,
|
|
22901
|
-
"type": "array",
|
|
22902
|
-
"items": {
|
|
22903
|
-
"$ref": "ImageResource"
|
|
22904
|
-
}
|
|
22905
|
-
},
|
|
22906
22693
|
{
|
|
22907
22694
|
"name": "accepts",
|
|
22908
22695
|
"description": "Mimic a map, name is the key, accepts is the value.",
|
|
@@ -30537,7 +30324,6 @@
|
|
|
30537
30324
|
{
|
|
30538
30325
|
"name": "signCount",
|
|
30539
30326
|
"description": "Signature counter. Must be equal to or greater than -1.\nIf -1, the credential won't have an associated signature counter, and\nevery assertion operation will report a value of 0.\nSee https://w3c.github.io/webauthn/#signature-counter",
|
|
30540
|
-
"optional": true,
|
|
30541
30327
|
"type": "integer"
|
|
30542
30328
|
},
|
|
30543
30329
|
{
|
package/package.json
CHANGED
package/pdl/domains/Audits.pdl
CHANGED
|
@@ -468,6 +468,7 @@ experimental domain Audits
|
|
|
468
468
|
TooManyRequests
|
|
469
469
|
WellKnownHttpNotFound
|
|
470
470
|
WellKnownNoResponse
|
|
471
|
+
WellKnownBlockedByConnectionAllowlist
|
|
471
472
|
WellKnownInvalidResponse
|
|
472
473
|
WellKnownListEmpty
|
|
473
474
|
WellKnownInvalidContentType
|
|
@@ -475,6 +476,7 @@ experimental domain Audits
|
|
|
475
476
|
WellKnownTooBig
|
|
476
477
|
ConfigHttpNotFound
|
|
477
478
|
ConfigNoResponse
|
|
479
|
+
ConfigBlockedByConnectionAllowlist
|
|
478
480
|
ConfigInvalidResponse
|
|
479
481
|
ConfigInvalidContentType
|
|
480
482
|
IdpNotPotentiallyTrustworthy
|
|
@@ -484,11 +486,13 @@ experimental domain Audits
|
|
|
484
486
|
InvalidSigninResponse
|
|
485
487
|
AccountsHttpNotFound
|
|
486
488
|
AccountsNoResponse
|
|
489
|
+
AccountsBlockedByConnectionAllowlist
|
|
487
490
|
AccountsInvalidResponse
|
|
488
491
|
AccountsListEmpty
|
|
489
492
|
AccountsInvalidContentType
|
|
490
493
|
IdTokenHttpNotFound
|
|
491
494
|
IdTokenNoResponse
|
|
495
|
+
IdTokenBlockedByConnectionAllowlist
|
|
492
496
|
IdTokenInvalidResponse
|
|
493
497
|
IdTokenIdpErrorResponse
|
|
494
498
|
IdTokenCrossSiteIdpErrorResponse
|
package/pdl/domains/DOM.pdl
CHANGED
|
@@ -827,6 +827,15 @@ domain DOM
|
|
|
827
827
|
# List of popovers that were closed in order to respect popover stacking order.
|
|
828
828
|
array of NodeId nodeIds
|
|
829
829
|
|
|
830
|
+
# When enabling, this API forces an element to gain interest in its target,
|
|
831
|
+
# keeping interest active until disabled.
|
|
832
|
+
experimental command forceShowInterest
|
|
833
|
+
parameters
|
|
834
|
+
# Id of the interest invoker HTMLElement.
|
|
835
|
+
NodeId nodeId
|
|
836
|
+
# If true, opens and holds interest. If false, releases forced interest.
|
|
837
|
+
boolean enable
|
|
838
|
+
|
|
830
839
|
# Fired when `Element`'s attribute is modified.
|
|
831
840
|
event attributeModified
|
|
832
841
|
parameters
|
package/pdl/domains/Network.pdl
CHANGED
|
@@ -42,9 +42,6 @@ domain Network
|
|
|
42
42
|
# a network request.
|
|
43
43
|
type RequestId extends string
|
|
44
44
|
|
|
45
|
-
# Unique intercepted request identifier.
|
|
46
|
-
type InterceptionId extends string
|
|
47
|
-
|
|
48
45
|
# Network level fetch failure reason.
|
|
49
46
|
type ErrorReason extends string
|
|
50
47
|
enum
|
|
@@ -849,24 +846,6 @@ domain Network
|
|
|
849
846
|
# ProvideCredentials.
|
|
850
847
|
optional string password
|
|
851
848
|
|
|
852
|
-
# Stages of the interception to begin intercepting. Request will intercept before the request is
|
|
853
|
-
# sent. Response will intercept after the response is received.
|
|
854
|
-
experimental type InterceptionStage extends string
|
|
855
|
-
enum
|
|
856
|
-
Request
|
|
857
|
-
HeadersReceived
|
|
858
|
-
|
|
859
|
-
# Request pattern for interception.
|
|
860
|
-
experimental type RequestPattern extends object
|
|
861
|
-
properties
|
|
862
|
-
# Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is
|
|
863
|
-
# backslash. Omitting is equivalent to `"*"`.
|
|
864
|
-
optional string urlPattern
|
|
865
|
-
# If set, only requests for matching resource types will be intercepted.
|
|
866
|
-
optional ResourceType resourceType
|
|
867
|
-
# Stage at which to begin intercepting requests. Default is Request.
|
|
868
|
-
optional InterceptionStage interceptionStage
|
|
869
|
-
|
|
870
849
|
# Information about a signed exchange signature.
|
|
871
850
|
# https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
|
|
872
851
|
experimental type SignedExchangeSignature extends object
|
|
@@ -981,35 +960,6 @@ domain Network
|
|
|
981
960
|
# Clears browser cookies.
|
|
982
961
|
command clearBrowserCookies
|
|
983
962
|
|
|
984
|
-
# Response to Network.requestIntercepted which either modifies the request to continue with any
|
|
985
|
-
# modifications, or blocks it, or completes it with the provided response bytes. If a network
|
|
986
|
-
# fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted
|
|
987
|
-
# event will be sent with the same InterceptionId.
|
|
988
|
-
# Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
|
|
989
|
-
experimental deprecated command continueInterceptedRequest
|
|
990
|
-
parameters
|
|
991
|
-
InterceptionId interceptionId
|
|
992
|
-
# If set this causes the request to fail with the given reason. Passing `Aborted` for requests
|
|
993
|
-
# marked with `isNavigationRequest` also cancels the navigation. Must not be set in response
|
|
994
|
-
# to an authChallenge.
|
|
995
|
-
optional ErrorReason errorReason
|
|
996
|
-
# If set the requests completes using with the provided base64 encoded raw response, including
|
|
997
|
-
# HTTP status line and headers etc... Must not be set in response to an authChallenge.
|
|
998
|
-
optional binary rawResponse
|
|
999
|
-
# If set the request url will be modified in a way that's not observable by page. Must not be
|
|
1000
|
-
# set in response to an authChallenge.
|
|
1001
|
-
optional string url
|
|
1002
|
-
# If set this allows the request method to be overridden. Must not be set in response to an
|
|
1003
|
-
# authChallenge.
|
|
1004
|
-
optional string method
|
|
1005
|
-
# If set this allows postData to be set. Must not be set in response to an authChallenge.
|
|
1006
|
-
optional string postData
|
|
1007
|
-
# If set this allows the request headers to be changed. Must not be set in response to an
|
|
1008
|
-
# authChallenge.
|
|
1009
|
-
optional Headers headers
|
|
1010
|
-
# Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
|
|
1011
|
-
optional AuthChallengeResponse authChallengeResponse
|
|
1012
|
-
|
|
1013
963
|
# Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
|
|
1014
964
|
command deleteCookies
|
|
1015
965
|
parameters
|
|
@@ -1186,27 +1136,6 @@ domain Network
|
|
|
1186
1136
|
# True, if content was sent as base64.
|
|
1187
1137
|
boolean base64Encoded
|
|
1188
1138
|
|
|
1189
|
-
# Returns content served for the given currently intercepted request.
|
|
1190
|
-
experimental command getResponseBodyForInterception
|
|
1191
|
-
parameters
|
|
1192
|
-
# Identifier for the intercepted request to get body for.
|
|
1193
|
-
InterceptionId interceptionId
|
|
1194
|
-
returns
|
|
1195
|
-
# Response body.
|
|
1196
|
-
string body
|
|
1197
|
-
# True, if content was sent as base64.
|
|
1198
|
-
boolean base64Encoded
|
|
1199
|
-
|
|
1200
|
-
# Returns a handle to the stream representing the response body. Note that after this command,
|
|
1201
|
-
# the intercepted request can't be continued as is -- you either need to cancel it or to provide
|
|
1202
|
-
# the response body. The stream only supports sequential read, IO.read will fail if the position
|
|
1203
|
-
# is specified.
|
|
1204
|
-
experimental command takeResponseBodyForInterceptionAsStream
|
|
1205
|
-
parameters
|
|
1206
|
-
InterceptionId interceptionId
|
|
1207
|
-
returns
|
|
1208
|
-
IO.StreamHandle stream
|
|
1209
|
-
|
|
1210
1139
|
# This method sends a new XMLHttpRequest which is identical to the original one. The following
|
|
1211
1140
|
# parameters should be identical: method, url, async, request body, extra headers, withCredentials
|
|
1212
1141
|
# attribute, user, password.
|
|
@@ -1314,14 +1243,6 @@ domain Network
|
|
|
1314
1243
|
# Whether to attach a page script stack for debugging purpose.
|
|
1315
1244
|
boolean enabled
|
|
1316
1245
|
|
|
1317
|
-
# Sets the requests to intercept that match the provided patterns and optionally resource types.
|
|
1318
|
-
# Deprecated, please use Fetch.enable instead.
|
|
1319
|
-
experimental deprecated command setRequestInterception
|
|
1320
|
-
parameters
|
|
1321
|
-
# Requests matching any of these patterns will be forwarded and wait for the corresponding
|
|
1322
|
-
# continueInterceptedRequest call.
|
|
1323
|
-
array of RequestPattern patterns
|
|
1324
|
-
|
|
1325
1246
|
# Allows overriding user agent with the given string.
|
|
1326
1247
|
command setUserAgentOverride
|
|
1327
1248
|
redirect Emulation
|
|
@@ -1402,43 +1323,6 @@ domain Network
|
|
|
1402
1323
|
# Total number of bytes received for this request.
|
|
1403
1324
|
number encodedDataLength
|
|
1404
1325
|
|
|
1405
|
-
# Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
|
|
1406
|
-
# mocked.
|
|
1407
|
-
# Deprecated, use Fetch.requestPaused instead.
|
|
1408
|
-
experimental deprecated event requestIntercepted
|
|
1409
|
-
parameters
|
|
1410
|
-
# Each request the page makes will have a unique id, however if any redirects are encountered
|
|
1411
|
-
# while processing that fetch, they will be reported with the same id as the original fetch.
|
|
1412
|
-
# Likewise if HTTP authentication is needed then the same fetch id will be used.
|
|
1413
|
-
InterceptionId interceptionId
|
|
1414
|
-
Request request
|
|
1415
|
-
# The id of the frame that initiated the request.
|
|
1416
|
-
Page.FrameId frameId
|
|
1417
|
-
# How the requested resource will be used.
|
|
1418
|
-
ResourceType resourceType
|
|
1419
|
-
# Whether this is a navigation request, which can abort the navigation completely.
|
|
1420
|
-
boolean isNavigationRequest
|
|
1421
|
-
# Set if the request is a navigation that will result in a download.
|
|
1422
|
-
# Only present after response is received from the server (i.e. HeadersReceived stage).
|
|
1423
|
-
optional boolean isDownload
|
|
1424
|
-
# Redirect location, only sent if a redirect was intercepted.
|
|
1425
|
-
optional string redirectUrl
|
|
1426
|
-
# Details of the Authorization Challenge encountered. If this is set then
|
|
1427
|
-
# continueInterceptedRequest must contain an authChallengeResponse.
|
|
1428
|
-
optional AuthChallenge authChallenge
|
|
1429
|
-
# Response error if intercepted at response stage or if redirect occurred while intercepting
|
|
1430
|
-
# request.
|
|
1431
|
-
optional ErrorReason responseErrorReason
|
|
1432
|
-
# Response code if intercepted at response stage or if redirect occurred while intercepting
|
|
1433
|
-
# request or auth retry occurred.
|
|
1434
|
-
optional integer responseStatusCode
|
|
1435
|
-
# Response headers if intercepted at the response stage or if redirect occurred while
|
|
1436
|
-
# intercepting request or auth retry occurred.
|
|
1437
|
-
optional Headers responseHeaders
|
|
1438
|
-
# If the intercepted request had a corresponding requestWillBeSent event fired for it, then
|
|
1439
|
-
# this requestId will be the same as the requestId present in the requestWillBeSent event.
|
|
1440
|
-
optional RequestId requestId
|
|
1441
|
-
|
|
1442
1326
|
# Fired if request ended up loading from cache.
|
|
1443
1327
|
event requestServedFromCache
|
|
1444
1328
|
parameters
|
|
@@ -1657,7 +1541,7 @@ domain Network
|
|
|
1657
1541
|
experimental event directTCPSocketAborted
|
|
1658
1542
|
parameters
|
|
1659
1543
|
RequestId identifier
|
|
1660
|
-
|
|
1544
|
+
ErrorReason errorMessage
|
|
1661
1545
|
MonotonicTime timestamp
|
|
1662
1546
|
|
|
1663
1547
|
# Fired when direct_socket.TCPSocket is closed.
|
|
@@ -1736,7 +1620,7 @@ domain Network
|
|
|
1736
1620
|
experimental event directUDPSocketAborted
|
|
1737
1621
|
parameters
|
|
1738
1622
|
RequestId identifier
|
|
1739
|
-
|
|
1623
|
+
ErrorReason errorMessage
|
|
1740
1624
|
MonotonicTime timestamp
|
|
1741
1625
|
|
|
1742
1626
|
# Fired when direct_socket.UDPSocket is closed.
|
package/pdl/domains/Page.pdl
CHANGED
|
@@ -684,7 +684,6 @@ domain Page
|
|
|
684
684
|
properties
|
|
685
685
|
string action
|
|
686
686
|
string name
|
|
687
|
-
optional array of ImageResource icons
|
|
688
687
|
# Mimic a map, name is the key, accepts is the value.
|
|
689
688
|
optional array of FileFilter accepts
|
|
690
689
|
# Won't repeat the enums, using string for easy comparison. Same as the
|
package/pdl/domains/WebAuthn.pdl
CHANGED
|
@@ -102,7 +102,7 @@ experimental domain WebAuthn
|
|
|
102
102
|
# If -1, the credential won't have an associated signature counter, and
|
|
103
103
|
# every assertion operation will report a value of 0.
|
|
104
104
|
# See https://w3c.github.io/webauthn/#signature-counter
|
|
105
|
-
|
|
105
|
+
integer signCount
|
|
106
106
|
# The large blob associated with the credential.
|
|
107
107
|
# See https://w3c.github.io/webauthn/#sctn-large-blob-extension
|
|
108
108
|
optional binary largeBlob
|
|
@@ -407,14 +407,6 @@ export namespace ProtocolMapping {
|
|
|
407
407
|
* Fired when HTTP request has finished loading.
|
|
408
408
|
*/
|
|
409
409
|
'Network.loadingFinished': [Protocol.Network.LoadingFinishedEvent];
|
|
410
|
-
/**
|
|
411
|
-
* Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
|
|
412
|
-
* mocked.
|
|
413
|
-
* Deprecated, use Fetch.requestPaused instead.
|
|
414
|
-
* @deprecated
|
|
415
|
-
* @experimental
|
|
416
|
-
*/
|
|
417
|
-
'Network.requestIntercepted': [Protocol.Network.RequestInterceptedEvent];
|
|
418
410
|
/**
|
|
419
411
|
* Fired if request ended up loading from cache.
|
|
420
412
|
*/
|
|
@@ -3031,6 +3023,15 @@ export namespace ProtocolMapping {
|
|
|
3031
3023
|
paramsType: [Protocol.DOM.ForceShowPopoverRequest];
|
|
3032
3024
|
returnType: Protocol.DOM.ForceShowPopoverResponse;
|
|
3033
3025
|
};
|
|
3026
|
+
/**
|
|
3027
|
+
* When enabling, this API forces an element to gain interest in its target,
|
|
3028
|
+
* keeping interest active until disabled.
|
|
3029
|
+
* @experimental
|
|
3030
|
+
*/
|
|
3031
|
+
'DOM.forceShowInterest': {
|
|
3032
|
+
paramsType: [Protocol.DOM.ForceShowInterestRequest];
|
|
3033
|
+
returnType: void;
|
|
3034
|
+
};
|
|
3034
3035
|
/**
|
|
3035
3036
|
* Returns event listeners of the given object.
|
|
3036
3037
|
*/
|
|
@@ -4284,19 +4285,6 @@ export namespace ProtocolMapping {
|
|
|
4284
4285
|
paramsType: [];
|
|
4285
4286
|
returnType: void;
|
|
4286
4287
|
};
|
|
4287
|
-
/**
|
|
4288
|
-
* Response to Network.requestIntercepted which either modifies the request to continue with any
|
|
4289
|
-
* modifications, or blocks it, or completes it with the provided response bytes. If a network
|
|
4290
|
-
* fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted
|
|
4291
|
-
* event will be sent with the same InterceptionId.
|
|
4292
|
-
* Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
|
|
4293
|
-
* @deprecated
|
|
4294
|
-
* @experimental
|
|
4295
|
-
*/
|
|
4296
|
-
'Network.continueInterceptedRequest': {
|
|
4297
|
-
paramsType: [Protocol.Network.ContinueInterceptedRequestRequest];
|
|
4298
|
-
returnType: void;
|
|
4299
|
-
};
|
|
4300
4288
|
/**
|
|
4301
4289
|
* Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
|
|
4302
4290
|
*/
|
|
@@ -4395,25 +4383,6 @@ export namespace ProtocolMapping {
|
|
|
4395
4383
|
paramsType: [Protocol.Network.GetRequestPostDataRequest];
|
|
4396
4384
|
returnType: Protocol.Network.GetRequestPostDataResponse;
|
|
4397
4385
|
};
|
|
4398
|
-
/**
|
|
4399
|
-
* Returns content served for the given currently intercepted request.
|
|
4400
|
-
* @experimental
|
|
4401
|
-
*/
|
|
4402
|
-
'Network.getResponseBodyForInterception': {
|
|
4403
|
-
paramsType: [Protocol.Network.GetResponseBodyForInterceptionRequest];
|
|
4404
|
-
returnType: Protocol.Network.GetResponseBodyForInterceptionResponse;
|
|
4405
|
-
};
|
|
4406
|
-
/**
|
|
4407
|
-
* Returns a handle to the stream representing the response body. Note that after this command,
|
|
4408
|
-
* the intercepted request can't be continued as is -- you either need to cancel it or to provide
|
|
4409
|
-
* the response body. The stream only supports sequential read, IO.read will fail if the position
|
|
4410
|
-
* is specified.
|
|
4411
|
-
* @experimental
|
|
4412
|
-
*/
|
|
4413
|
-
'Network.takeResponseBodyForInterceptionAsStream': {
|
|
4414
|
-
paramsType: [Protocol.Network.TakeResponseBodyForInterceptionAsStreamRequest];
|
|
4415
|
-
returnType: Protocol.Network.TakeResponseBodyForInterceptionAsStreamResponse;
|
|
4416
|
-
};
|
|
4417
4386
|
/**
|
|
4418
4387
|
* This method sends a new XMLHttpRequest which is identical to the original one. The following
|
|
4419
4388
|
* parameters should be identical: method, url, async, request body, extra headers, withCredentials
|
|
@@ -4483,16 +4452,6 @@ export namespace ProtocolMapping {
|
|
|
4483
4452
|
paramsType: [Protocol.Network.SetAttachDebugStackRequest];
|
|
4484
4453
|
returnType: void;
|
|
4485
4454
|
};
|
|
4486
|
-
/**
|
|
4487
|
-
* Sets the requests to intercept that match the provided patterns and optionally resource types.
|
|
4488
|
-
* Deprecated, please use Fetch.enable instead.
|
|
4489
|
-
* @deprecated
|
|
4490
|
-
* @experimental
|
|
4491
|
-
*/
|
|
4492
|
-
'Network.setRequestInterception': {
|
|
4493
|
-
paramsType: [Protocol.Network.SetRequestInterceptionRequest];
|
|
4494
|
-
returnType: void;
|
|
4495
|
-
};
|
|
4496
4455
|
/**
|
|
4497
4456
|
* Allows overriding user agent with the given string.
|
|
4498
4457
|
*/
|
|
@@ -1855,6 +1855,13 @@ export namespace ProtocolProxyApi {
|
|
|
1855
1855
|
*/
|
|
1856
1856
|
forceShowPopover(params: Protocol.DOM.ForceShowPopoverRequest): Promise<Protocol.DOM.ForceShowPopoverResponse>;
|
|
1857
1857
|
|
|
1858
|
+
/**
|
|
1859
|
+
* When enabling, this API forces an element to gain interest in its target,
|
|
1860
|
+
* keeping interest active until disabled.
|
|
1861
|
+
* @experimental
|
|
1862
|
+
*/
|
|
1863
|
+
forceShowInterest(params: Protocol.DOM.ForceShowInterestRequest): Promise<void>;
|
|
1864
|
+
|
|
1858
1865
|
/**
|
|
1859
1866
|
* Fired when `Element`'s attribute is modified.
|
|
1860
1867
|
*/
|
|
@@ -3072,17 +3079,6 @@ export namespace ProtocolProxyApi {
|
|
|
3072
3079
|
*/
|
|
3073
3080
|
clearBrowserCookies(): Promise<void>;
|
|
3074
3081
|
|
|
3075
|
-
/**
|
|
3076
|
-
* Response to Network.requestIntercepted which either modifies the request to continue with any
|
|
3077
|
-
* modifications, or blocks it, or completes it with the provided response bytes. If a network
|
|
3078
|
-
* fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted
|
|
3079
|
-
* event will be sent with the same InterceptionId.
|
|
3080
|
-
* Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
|
|
3081
|
-
* @deprecated
|
|
3082
|
-
* @experimental
|
|
3083
|
-
*/
|
|
3084
|
-
continueInterceptedRequest(params: Protocol.Network.ContinueInterceptedRequestRequest): Promise<void>;
|
|
3085
|
-
|
|
3086
3082
|
/**
|
|
3087
3083
|
* Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
|
|
3088
3084
|
*/
|
|
@@ -3157,21 +3153,6 @@ export namespace ProtocolProxyApi {
|
|
|
3157
3153
|
*/
|
|
3158
3154
|
getRequestPostData(params: Protocol.Network.GetRequestPostDataRequest): Promise<Protocol.Network.GetRequestPostDataResponse>;
|
|
3159
3155
|
|
|
3160
|
-
/**
|
|
3161
|
-
* Returns content served for the given currently intercepted request.
|
|
3162
|
-
* @experimental
|
|
3163
|
-
*/
|
|
3164
|
-
getResponseBodyForInterception(params: Protocol.Network.GetResponseBodyForInterceptionRequest): Promise<Protocol.Network.GetResponseBodyForInterceptionResponse>;
|
|
3165
|
-
|
|
3166
|
-
/**
|
|
3167
|
-
* Returns a handle to the stream representing the response body. Note that after this command,
|
|
3168
|
-
* the intercepted request can't be continued as is -- you either need to cancel it or to provide
|
|
3169
|
-
* the response body. The stream only supports sequential read, IO.read will fail if the position
|
|
3170
|
-
* is specified.
|
|
3171
|
-
* @experimental
|
|
3172
|
-
*/
|
|
3173
|
-
takeResponseBodyForInterceptionAsStream(params: Protocol.Network.TakeResponseBodyForInterceptionAsStreamRequest): Promise<Protocol.Network.TakeResponseBodyForInterceptionAsStreamResponse>;
|
|
3174
|
-
|
|
3175
3156
|
/**
|
|
3176
3157
|
* This method sends a new XMLHttpRequest which is identical to the original one. The following
|
|
3177
3158
|
* parameters should be identical: method, url, async, request body, extra headers, withCredentials
|
|
@@ -3223,14 +3204,6 @@ export namespace ProtocolProxyApi {
|
|
|
3223
3204
|
*/
|
|
3224
3205
|
setAttachDebugStack(params: Protocol.Network.SetAttachDebugStackRequest): Promise<void>;
|
|
3225
3206
|
|
|
3226
|
-
/**
|
|
3227
|
-
* Sets the requests to intercept that match the provided patterns and optionally resource types.
|
|
3228
|
-
* Deprecated, please use Fetch.enable instead.
|
|
3229
|
-
* @deprecated
|
|
3230
|
-
* @experimental
|
|
3231
|
-
*/
|
|
3232
|
-
setRequestInterception(params: Protocol.Network.SetRequestInterceptionRequest): Promise<void>;
|
|
3233
|
-
|
|
3234
3207
|
/**
|
|
3235
3208
|
* Allows overriding user agent with the given string.
|
|
3236
3209
|
*/
|
|
@@ -3307,15 +3280,6 @@ export namespace ProtocolProxyApi {
|
|
|
3307
3280
|
*/
|
|
3308
3281
|
on(event: 'loadingFinished', listener: (params: Protocol.Network.LoadingFinishedEvent) => void): void;
|
|
3309
3282
|
|
|
3310
|
-
/**
|
|
3311
|
-
* Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
|
|
3312
|
-
* mocked.
|
|
3313
|
-
* Deprecated, use Fetch.requestPaused instead.
|
|
3314
|
-
* @deprecated
|
|
3315
|
-
* @experimental
|
|
3316
|
-
*/
|
|
3317
|
-
on(event: 'requestIntercepted', listener: (params: Protocol.Network.RequestInterceptedEvent) => void): void;
|
|
3318
|
-
|
|
3319
3283
|
/**
|
|
3320
3284
|
* Fired if request ended up loading from cache.
|
|
3321
3285
|
*/
|
|
@@ -1945,6 +1945,13 @@ export namespace ProtocolTestsProxyApi {
|
|
|
1945
1945
|
*/
|
|
1946
1946
|
forceShowPopover(params: Protocol.DOM.ForceShowPopoverRequest): Promise<{id: number, result: Protocol.DOM.ForceShowPopoverResponse, sessionId: string}>;
|
|
1947
1947
|
|
|
1948
|
+
/**
|
|
1949
|
+
* When enabling, this API forces an element to gain interest in its target,
|
|
1950
|
+
* keeping interest active until disabled.
|
|
1951
|
+
* @experimental
|
|
1952
|
+
*/
|
|
1953
|
+
forceShowInterest(params: Protocol.DOM.ForceShowInterestRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
1954
|
+
|
|
1948
1955
|
/**
|
|
1949
1956
|
* Fired when `Element`'s attribute is modified.
|
|
1950
1957
|
*/
|
|
@@ -3248,17 +3255,6 @@ export namespace ProtocolTestsProxyApi {
|
|
|
3248
3255
|
*/
|
|
3249
3256
|
clearBrowserCookies(): Promise<{id: number, result: void, sessionId: string}>;
|
|
3250
3257
|
|
|
3251
|
-
/**
|
|
3252
|
-
* Response to Network.requestIntercepted which either modifies the request to continue with any
|
|
3253
|
-
* modifications, or blocks it, or completes it with the provided response bytes. If a network
|
|
3254
|
-
* fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted
|
|
3255
|
-
* event will be sent with the same InterceptionId.
|
|
3256
|
-
* Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
|
|
3257
|
-
* @deprecated
|
|
3258
|
-
* @experimental
|
|
3259
|
-
*/
|
|
3260
|
-
continueInterceptedRequest(params: Protocol.Network.ContinueInterceptedRequestRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
3261
|
-
|
|
3262
3258
|
/**
|
|
3263
3259
|
* Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
|
|
3264
3260
|
*/
|
|
@@ -3333,21 +3329,6 @@ export namespace ProtocolTestsProxyApi {
|
|
|
3333
3329
|
*/
|
|
3334
3330
|
getRequestPostData(params: Protocol.Network.GetRequestPostDataRequest): Promise<{id: number, result: Protocol.Network.GetRequestPostDataResponse, sessionId: string}>;
|
|
3335
3331
|
|
|
3336
|
-
/**
|
|
3337
|
-
* Returns content served for the given currently intercepted request.
|
|
3338
|
-
* @experimental
|
|
3339
|
-
*/
|
|
3340
|
-
getResponseBodyForInterception(params: Protocol.Network.GetResponseBodyForInterceptionRequest): Promise<{id: number, result: Protocol.Network.GetResponseBodyForInterceptionResponse, sessionId: string}>;
|
|
3341
|
-
|
|
3342
|
-
/**
|
|
3343
|
-
* Returns a handle to the stream representing the response body. Note that after this command,
|
|
3344
|
-
* the intercepted request can't be continued as is -- you either need to cancel it or to provide
|
|
3345
|
-
* the response body. The stream only supports sequential read, IO.read will fail if the position
|
|
3346
|
-
* is specified.
|
|
3347
|
-
* @experimental
|
|
3348
|
-
*/
|
|
3349
|
-
takeResponseBodyForInterceptionAsStream(params: Protocol.Network.TakeResponseBodyForInterceptionAsStreamRequest): Promise<{id: number, result: Protocol.Network.TakeResponseBodyForInterceptionAsStreamResponse, sessionId: string}>;
|
|
3350
|
-
|
|
3351
3332
|
/**
|
|
3352
3333
|
* This method sends a new XMLHttpRequest which is identical to the original one. The following
|
|
3353
3334
|
* parameters should be identical: method, url, async, request body, extra headers, withCredentials
|
|
@@ -3399,14 +3380,6 @@ export namespace ProtocolTestsProxyApi {
|
|
|
3399
3380
|
*/
|
|
3400
3381
|
setAttachDebugStack(params: Protocol.Network.SetAttachDebugStackRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
3401
3382
|
|
|
3402
|
-
/**
|
|
3403
|
-
* Sets the requests to intercept that match the provided patterns and optionally resource types.
|
|
3404
|
-
* Deprecated, please use Fetch.enable instead.
|
|
3405
|
-
* @deprecated
|
|
3406
|
-
* @experimental
|
|
3407
|
-
*/
|
|
3408
|
-
setRequestInterception(params: Protocol.Network.SetRequestInterceptionRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
3409
|
-
|
|
3410
3383
|
/**
|
|
3411
3384
|
* Allows overriding user agent with the given string.
|
|
3412
3385
|
*/
|
|
@@ -3491,17 +3464,6 @@ export namespace ProtocolTestsProxyApi {
|
|
|
3491
3464
|
offLoadingFinished(listener: (event: { params: Protocol.Network.LoadingFinishedEvent }) => void): void;
|
|
3492
3465
|
onceLoadingFinished(eventMatcher?: (event: { params: Protocol.Network.LoadingFinishedEvent }) => boolean): Promise<{ params: Protocol.Network.LoadingFinishedEvent }>;
|
|
3493
3466
|
|
|
3494
|
-
/**
|
|
3495
|
-
* Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
|
|
3496
|
-
* mocked.
|
|
3497
|
-
* Deprecated, use Fetch.requestPaused instead.
|
|
3498
|
-
* @deprecated
|
|
3499
|
-
* @experimental
|
|
3500
|
-
*/
|
|
3501
|
-
onRequestIntercepted(listener: (event: { params: Protocol.Network.RequestInterceptedEvent }) => void): void;
|
|
3502
|
-
offRequestIntercepted(listener: (event: { params: Protocol.Network.RequestInterceptedEvent }) => void): void;
|
|
3503
|
-
onceRequestIntercepted(eventMatcher?: (event: { params: Protocol.Network.RequestInterceptedEvent }) => boolean): Promise<{ params: Protocol.Network.RequestInterceptedEvent }>;
|
|
3504
|
-
|
|
3505
3467
|
/**
|
|
3506
3468
|
* Fired if request ended up loading from cache.
|
|
3507
3469
|
*/
|
package/types/protocol.d.ts
CHANGED
|
@@ -3833,7 +3833,7 @@ export namespace Protocol {
|
|
|
3833
3833
|
* third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
|
|
3834
3834
|
* all cases except for success.
|
|
3835
3835
|
*/
|
|
3836
|
-
export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'IdpNotPotentiallyTrustworthy' | 'DisabledInSettings' | 'DisabledInFlags' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByActiveMode' | 'RelyingPartyOriginIsOpaque' | 'TypeNotMatching' | 'UiDismissedNoEmbargo' | 'CorsError' | 'SuppressedBySegmentationPlatform');
|
|
3836
|
+
export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownBlockedByConnectionAllowlist' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigBlockedByConnectionAllowlist' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'IdpNotPotentiallyTrustworthy' | 'DisabledInSettings' | 'DisabledInFlags' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsBlockedByConnectionAllowlist' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenBlockedByConnectionAllowlist' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByActiveMode' | 'RelyingPartyOriginIsOpaque' | 'TypeNotMatching' | 'UiDismissedNoEmbargo' | 'CorsError' | 'SuppressedBySegmentationPlatform');
|
|
3837
3837
|
|
|
3838
3838
|
export interface FederatedAuthUserInfoRequestIssueDetails {
|
|
3839
3839
|
federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
|
|
@@ -8120,6 +8120,17 @@ export namespace Protocol {
|
|
|
8120
8120
|
nodeIds: NodeId[];
|
|
8121
8121
|
}
|
|
8122
8122
|
|
|
8123
|
+
export interface ForceShowInterestRequest {
|
|
8124
|
+
/**
|
|
8125
|
+
* Id of the interest invoker HTMLElement.
|
|
8126
|
+
*/
|
|
8127
|
+
nodeId: NodeId;
|
|
8128
|
+
/**
|
|
8129
|
+
* If true, opens and holds interest. If false, releases forced interest.
|
|
8130
|
+
*/
|
|
8131
|
+
enable: boolean;
|
|
8132
|
+
}
|
|
8133
|
+
|
|
8123
8134
|
/**
|
|
8124
8135
|
* Fired when `Element`'s attribute is modified.
|
|
8125
8136
|
*/
|
|
@@ -12521,11 +12532,6 @@ export namespace Protocol {
|
|
|
12521
12532
|
*/
|
|
12522
12533
|
export type RequestId = string;
|
|
12523
12534
|
|
|
12524
|
-
/**
|
|
12525
|
-
* Unique intercepted request identifier.
|
|
12526
|
-
*/
|
|
12527
|
-
export type InterceptionId = string;
|
|
12528
|
-
|
|
12529
12535
|
/**
|
|
12530
12536
|
* Network level fetch failure reason.
|
|
12531
12537
|
*/
|
|
@@ -13508,33 +13514,6 @@ export namespace Protocol {
|
|
|
13508
13514
|
password?: string;
|
|
13509
13515
|
}
|
|
13510
13516
|
|
|
13511
|
-
/**
|
|
13512
|
-
* Stages of the interception to begin intercepting. Request will intercept before the request is
|
|
13513
|
-
* sent. Response will intercept after the response is received.
|
|
13514
|
-
* @experimental
|
|
13515
|
-
*/
|
|
13516
|
-
export type InterceptionStage = ('Request' | 'HeadersReceived');
|
|
13517
|
-
|
|
13518
|
-
/**
|
|
13519
|
-
* Request pattern for interception.
|
|
13520
|
-
* @experimental
|
|
13521
|
-
*/
|
|
13522
|
-
export interface RequestPattern {
|
|
13523
|
-
/**
|
|
13524
|
-
* Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is
|
|
13525
|
-
* backslash. Omitting is equivalent to `"*"`.
|
|
13526
|
-
*/
|
|
13527
|
-
urlPattern?: string;
|
|
13528
|
-
/**
|
|
13529
|
-
* If set, only requests for matching resource types will be intercepted.
|
|
13530
|
-
*/
|
|
13531
|
-
resourceType?: ResourceType;
|
|
13532
|
-
/**
|
|
13533
|
-
* Stage at which to begin intercepting requests. Default is Request.
|
|
13534
|
-
*/
|
|
13535
|
-
interceptionStage?: InterceptionStage;
|
|
13536
|
-
}
|
|
13537
|
-
|
|
13538
13517
|
/**
|
|
13539
13518
|
* Information about a signed exchange signature.
|
|
13540
13519
|
* https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
|
|
@@ -14360,44 +14339,6 @@ export namespace Protocol {
|
|
|
14360
14339
|
result: boolean;
|
|
14361
14340
|
}
|
|
14362
14341
|
|
|
14363
|
-
export interface ContinueInterceptedRequestRequest {
|
|
14364
|
-
interceptionId: InterceptionId;
|
|
14365
|
-
/**
|
|
14366
|
-
* If set this causes the request to fail with the given reason. Passing `Aborted` for requests
|
|
14367
|
-
* marked with `isNavigationRequest` also cancels the navigation. Must not be set in response
|
|
14368
|
-
* to an authChallenge.
|
|
14369
|
-
*/
|
|
14370
|
-
errorReason?: ErrorReason;
|
|
14371
|
-
/**
|
|
14372
|
-
* If set the requests completes using with the provided base64 encoded raw response, including
|
|
14373
|
-
* HTTP status line and headers etc... Must not be set in response to an authChallenge. (Encoded as a base64 string when passed over JSON)
|
|
14374
|
-
*/
|
|
14375
|
-
rawResponse?: string;
|
|
14376
|
-
/**
|
|
14377
|
-
* If set the request url will be modified in a way that's not observable by page. Must not be
|
|
14378
|
-
* set in response to an authChallenge.
|
|
14379
|
-
*/
|
|
14380
|
-
url?: string;
|
|
14381
|
-
/**
|
|
14382
|
-
* If set this allows the request method to be overridden. Must not be set in response to an
|
|
14383
|
-
* authChallenge.
|
|
14384
|
-
*/
|
|
14385
|
-
method?: string;
|
|
14386
|
-
/**
|
|
14387
|
-
* If set this allows postData to be set. Must not be set in response to an authChallenge.
|
|
14388
|
-
*/
|
|
14389
|
-
postData?: string;
|
|
14390
|
-
/**
|
|
14391
|
-
* If set this allows the request headers to be changed. Must not be set in response to an
|
|
14392
|
-
* authChallenge.
|
|
14393
|
-
*/
|
|
14394
|
-
headers?: Headers;
|
|
14395
|
-
/**
|
|
14396
|
-
* Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
|
|
14397
|
-
*/
|
|
14398
|
-
authChallengeResponse?: AuthChallengeResponse;
|
|
14399
|
-
}
|
|
14400
|
-
|
|
14401
14342
|
export interface DeleteCookiesRequest {
|
|
14402
14343
|
/**
|
|
14403
14344
|
* Name of the cookies to remove.
|
|
@@ -14626,32 +14567,6 @@ export namespace Protocol {
|
|
|
14626
14567
|
base64Encoded: boolean;
|
|
14627
14568
|
}
|
|
14628
14569
|
|
|
14629
|
-
export interface GetResponseBodyForInterceptionRequest {
|
|
14630
|
-
/**
|
|
14631
|
-
* Identifier for the intercepted request to get body for.
|
|
14632
|
-
*/
|
|
14633
|
-
interceptionId: InterceptionId;
|
|
14634
|
-
}
|
|
14635
|
-
|
|
14636
|
-
export interface GetResponseBodyForInterceptionResponse {
|
|
14637
|
-
/**
|
|
14638
|
-
* Response body.
|
|
14639
|
-
*/
|
|
14640
|
-
body: string;
|
|
14641
|
-
/**
|
|
14642
|
-
* True, if content was sent as base64.
|
|
14643
|
-
*/
|
|
14644
|
-
base64Encoded: boolean;
|
|
14645
|
-
}
|
|
14646
|
-
|
|
14647
|
-
export interface TakeResponseBodyForInterceptionAsStreamRequest {
|
|
14648
|
-
interceptionId: InterceptionId;
|
|
14649
|
-
}
|
|
14650
|
-
|
|
14651
|
-
export interface TakeResponseBodyForInterceptionAsStreamResponse {
|
|
14652
|
-
stream: IO.StreamHandle;
|
|
14653
|
-
}
|
|
14654
|
-
|
|
14655
14570
|
export interface ReplayXHRRequest {
|
|
14656
14571
|
/**
|
|
14657
14572
|
* Identifier of XHR to replay.
|
|
@@ -14803,14 +14718,6 @@ export namespace Protocol {
|
|
|
14803
14718
|
enabled: boolean;
|
|
14804
14719
|
}
|
|
14805
14720
|
|
|
14806
|
-
export interface SetRequestInterceptionRequest {
|
|
14807
|
-
/**
|
|
14808
|
-
* Requests matching any of these patterns will be forwarded and wait for the corresponding
|
|
14809
|
-
* continueInterceptedRequest call.
|
|
14810
|
-
*/
|
|
14811
|
-
patterns: RequestPattern[];
|
|
14812
|
-
}
|
|
14813
|
-
|
|
14814
14721
|
export interface SetUserAgentOverrideRequest {
|
|
14815
14722
|
/**
|
|
14816
14723
|
* User agent to use.
|
|
@@ -15020,69 +14927,6 @@ export namespace Protocol {
|
|
|
15020
14927
|
encodedDataLength: number;
|
|
15021
14928
|
}
|
|
15022
14929
|
|
|
15023
|
-
/**
|
|
15024
|
-
* Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
|
|
15025
|
-
* mocked.
|
|
15026
|
-
* Deprecated, use Fetch.requestPaused instead.
|
|
15027
|
-
* @deprecated
|
|
15028
|
-
* @experimental
|
|
15029
|
-
*/
|
|
15030
|
-
export interface RequestInterceptedEvent {
|
|
15031
|
-
/**
|
|
15032
|
-
* Each request the page makes will have a unique id, however if any redirects are encountered
|
|
15033
|
-
* while processing that fetch, they will be reported with the same id as the original fetch.
|
|
15034
|
-
* Likewise if HTTP authentication is needed then the same fetch id will be used.
|
|
15035
|
-
*/
|
|
15036
|
-
interceptionId: InterceptionId;
|
|
15037
|
-
request: Request;
|
|
15038
|
-
/**
|
|
15039
|
-
* The id of the frame that initiated the request.
|
|
15040
|
-
*/
|
|
15041
|
-
frameId: Page.FrameId;
|
|
15042
|
-
/**
|
|
15043
|
-
* How the requested resource will be used.
|
|
15044
|
-
*/
|
|
15045
|
-
resourceType: ResourceType;
|
|
15046
|
-
/**
|
|
15047
|
-
* Whether this is a navigation request, which can abort the navigation completely.
|
|
15048
|
-
*/
|
|
15049
|
-
isNavigationRequest: boolean;
|
|
15050
|
-
/**
|
|
15051
|
-
* Set if the request is a navigation that will result in a download.
|
|
15052
|
-
* Only present after response is received from the server (i.e. HeadersReceived stage).
|
|
15053
|
-
*/
|
|
15054
|
-
isDownload?: boolean;
|
|
15055
|
-
/**
|
|
15056
|
-
* Redirect location, only sent if a redirect was intercepted.
|
|
15057
|
-
*/
|
|
15058
|
-
redirectUrl?: string;
|
|
15059
|
-
/**
|
|
15060
|
-
* Details of the Authorization Challenge encountered. If this is set then
|
|
15061
|
-
* continueInterceptedRequest must contain an authChallengeResponse.
|
|
15062
|
-
*/
|
|
15063
|
-
authChallenge?: AuthChallenge;
|
|
15064
|
-
/**
|
|
15065
|
-
* Response error if intercepted at response stage or if redirect occurred while intercepting
|
|
15066
|
-
* request.
|
|
15067
|
-
*/
|
|
15068
|
-
responseErrorReason?: ErrorReason;
|
|
15069
|
-
/**
|
|
15070
|
-
* Response code if intercepted at response stage or if redirect occurred while intercepting
|
|
15071
|
-
* request or auth retry occurred.
|
|
15072
|
-
*/
|
|
15073
|
-
responseStatusCode?: integer;
|
|
15074
|
-
/**
|
|
15075
|
-
* Response headers if intercepted at the response stage or if redirect occurred while
|
|
15076
|
-
* intercepting request or auth retry occurred.
|
|
15077
|
-
*/
|
|
15078
|
-
responseHeaders?: Headers;
|
|
15079
|
-
/**
|
|
15080
|
-
* If the intercepted request had a corresponding requestWillBeSent event fired for it, then
|
|
15081
|
-
* this requestId will be the same as the requestId present in the requestWillBeSent event.
|
|
15082
|
-
*/
|
|
15083
|
-
requestId?: RequestId;
|
|
15084
|
-
}
|
|
15085
|
-
|
|
15086
14930
|
/**
|
|
15087
14931
|
* Fired if request ended up loading from cache.
|
|
15088
14932
|
*/
|
|
@@ -15442,7 +15286,7 @@ export namespace Protocol {
|
|
|
15442
15286
|
*/
|
|
15443
15287
|
export interface DirectTCPSocketAbortedEvent {
|
|
15444
15288
|
identifier: RequestId;
|
|
15445
|
-
errorMessage:
|
|
15289
|
+
errorMessage: ErrorReason;
|
|
15446
15290
|
timestamp: MonotonicTime;
|
|
15447
15291
|
}
|
|
15448
15292
|
|
|
@@ -15527,7 +15371,7 @@ export namespace Protocol {
|
|
|
15527
15371
|
*/
|
|
15528
15372
|
export interface DirectUDPSocketAbortedEvent {
|
|
15529
15373
|
identifier: RequestId;
|
|
15530
|
-
errorMessage:
|
|
15374
|
+
errorMessage: ErrorReason;
|
|
15531
15375
|
timestamp: MonotonicTime;
|
|
15532
15376
|
}
|
|
15533
15377
|
|
|
@@ -17356,7 +17200,6 @@ export namespace Protocol {
|
|
|
17356
17200
|
export interface FileHandler {
|
|
17357
17201
|
action: string;
|
|
17358
17202
|
name: string;
|
|
17359
|
-
icons?: ImageResource[];
|
|
17360
17203
|
/**
|
|
17361
17204
|
* Mimic a map, name is the key, accepts is the value.
|
|
17362
17205
|
*/
|
|
@@ -22013,7 +21856,7 @@ export namespace Protocol {
|
|
|
22013
21856
|
* every assertion operation will report a value of 0.
|
|
22014
21857
|
* See https://w3c.github.io/webauthn/#signature-counter
|
|
22015
21858
|
*/
|
|
22016
|
-
signCount
|
|
21859
|
+
signCount: integer;
|
|
22017
21860
|
/**
|
|
22018
21861
|
* The large blob associated with the credential.
|
|
22019
21862
|
* See https://w3c.github.io/webauthn/#sctn-large-blob-extension (Encoded as a base64 string when passed over JSON)
|