Skip to content

Commit 9a6ab63

Browse files
committed
bump protocol
1 parent f2b79b1 commit 9a6ab63

File tree

3 files changed

+84
-9
lines changed

3 files changed

+84
-9
lines changed

_data/tot/protocol.json

Lines changed: 82 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3016,6 +3016,69 @@
30163016
}
30173017
],
30183018
"experimental": true
3019+
},
3020+
{
3021+
"id": "AuthChallenge",
3022+
"type": "object",
3023+
"description": "Authorization challenge for HTTP status code 401 or 407.",
3024+
"properties": [
3025+
{
3026+
"name": "source",
3027+
"type": "string",
3028+
"optional": true,
3029+
"enum": [
3030+
"Server",
3031+
"Proxy"
3032+
],
3033+
"description": "Source of the authentication challenge."
3034+
},
3035+
{
3036+
"name": "origin",
3037+
"type": "string",
3038+
"description": "Origin of the challenger."
3039+
},
3040+
{
3041+
"name": "scheme",
3042+
"type": "string",
3043+
"description": "The authentication scheme used, such as basic or digest"
3044+
},
3045+
{
3046+
"name": "realm",
3047+
"type": "string",
3048+
"description": "The realm of the challenge. May be empty."
3049+
}
3050+
],
3051+
"experimental": true
3052+
},
3053+
{
3054+
"id": "AuthChallengeResponse",
3055+
"type": "object",
3056+
"description": "Response to an AuthChallenge.",
3057+
"properties": [
3058+
{
3059+
"name": "response",
3060+
"type": "string",
3061+
"enum": [
3062+
"Default",
3063+
"CancelAuth",
3064+
"ProvideCredentials"
3065+
],
3066+
"description": "The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box."
3067+
},
3068+
{
3069+
"name": "username",
3070+
"type": "string",
3071+
"optional": true,
3072+
"description": "The username to provide, possibly empty. Should only be set if response is ProvideCredentials."
3073+
},
3074+
{
3075+
"name": "password",
3076+
"type": "string",
3077+
"optional": true,
3078+
"description": "The password to provide, possibly empty. Should only be set if response is ProvideCredentials."
3079+
}
3080+
],
3081+
"experimental": true
30193082
}
30203083
],
30213084
"commands": [
@@ -3396,37 +3459,43 @@
33963459
"name": "errorReason",
33973460
"$ref": "ErrorReason",
33983461
"optional": true,
3399-
"description": "If set this causes the request to fail with the given reason."
3462+
"description": "If set this causes the request to fail with the given reason. Must not be set in response to an authChallenge."
34003463
},
34013464
{
34023465
"name": "rawResponse",
34033466
"type": "string",
34043467
"optional": true,
3405-
"description": "If set the requests completes using with the provided base64 encoded raw response, including HTTP status line and headers etc..."
3468+
"description": "If set the requests completes using with the provided base64 encoded raw response, including HTTP status line and headers etc... Must not be set in response to an authChallenge."
34063469
},
34073470
{
34083471
"name": "url",
34093472
"type": "string",
34103473
"optional": true,
3411-
"description": "If set the request url will be modified in a way that's not observable by page."
3474+
"description": "If set the request url will be modified in a way that's not observable by page. Must not be set in response to an authChallenge."
34123475
},
34133476
{
34143477
"name": "method",
34153478
"type": "string",
34163479
"optional": true,
3417-
"description": "If set this allows the request method to be overridden."
3480+
"description": "If set this allows the request method to be overridden. Must not be set in response to an authChallenge."
34183481
},
34193482
{
34203483
"name": "postData",
34213484
"type": "string",
34223485
"optional": true,
3423-
"description": "If set this allows postData to be set."
3486+
"description": "If set this allows postData to be set. Must not be set in response to an authChallenge."
34243487
},
34253488
{
34263489
"name": "headers",
34273490
"$ref": "Headers",
34283491
"optional": true,
3429-
"description": "If set this allows the request headers to be changed."
3492+
"description": "If set this allows the request headers to be changed. Must not be set in response to an authChallenge."
3493+
},
3494+
{
3495+
"name": "authChallengeResponse",
3496+
"$ref": "AuthChallengeResponse",
3497+
"optional": true,
3498+
"description": "Response to a requestIntercepted with an authChallenge. Must not be set otherwise."
34303499
}
34313500
],
34323501
"experimental": true
@@ -3845,7 +3914,7 @@
38453914
{
38463915
"name": "interceptionId",
38473916
"$ref": "InterceptionId",
3848-
"description": "Each request the page makes will have a unique id, however if any redirects are encountered while processing that fetch, they will be reported with the same id as the original fetch."
3917+
"description": "Each request the page makes will have a unique id, however if any redirects are encountered while processing that fetch, they will be reported with the same id as the original fetch. Likewise if HTTP authentication is needed then the same fetch id will be used."
38493918
},
38503919
{
38513920
"name": "request",
@@ -3873,6 +3942,12 @@
38733942
"optional": true,
38743943
"type": "string",
38753944
"description": "Redirect location, only sent if a redirect was intercepted."
3945+
},
3946+
{
3947+
"name": "authChallenge",
3948+
"$ref": "AuthChallenge",
3949+
"optional": true,
3950+
"description": "Details of the Authorization Challenge encountered. If this is set then continueInterceptedRequest must contain an authChallengeResponse."
38763951
}
38773952
],
38783953
"experimental": true

_versions/tot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h2 class="heading">latest (tip-of-tree)</h2>
88

99
<h5 browser>Latest <a
1010
href="https://chromium.googlesource.com/chromium/src/+log/master/third_party/WebKit/Source/core/inspector/browser_protocol.json">browser_protocol.json</a> version updated:</h5>
11-
<code browser>Date: Thu Jun 15 09:15:20 2017 -0700
11+
<code browser>Date: Fri Jun 16 03:15:26 2017 -0700
1212
</code>
1313

1414
<h5 js>Latest <a

search_index/tot.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)