diff --git a/index.bs b/index.bs index 6d2234da..30bf4ed9 100644 --- a/index.bs +++ b/index.bs @@ -3603,11 +3603,11 @@ To get the network intercepts given |session|, |event|, and |request| 1. Run the steps under the first matching condition:
network.beforeRequestSent
"
- beforeRequestSent
+ beforeRequestSent
".
network.responseStarted
"
responseStarted
".
network.authRequired
"
- authRequired
"ยป.
+ authRequired
".
network.responseCompleted
"
responseStarted
phase, to modify the status and headers of the
-response, but still provide the netowrk response body.
+response, but still provide the network response body.
no such request
" error.
-
1. Let (request, |phase|, |response|) be |blocked requests|[|request id|].
1. If |phase| is "beforeRequestSent
" and |command| is
@@ -5117,8 +5115,6 @@ The [=remote end steps=] given |session| and |command parameters| are:
1. If |blocked requests| does not [=map/contain=] |request id| then return
[=error=] with [=error code=] [=no such request=].
- Issue: consider a "no such request
" error.
-
1. Let (request, |phase|, |response|) be |blocked requests|[|request id|].
1. If |phase| is not "authRequired
", then return [=error=]
@@ -5133,7 +5129,7 @@ The [=remote end steps=] given |session| and |command parameters| are:
1. Let |credentials| be |command parameters|["credentials
"].
- 1. Assert: |credentials|{"type
"] is "password
".
+ 1. Assert: |credentials|["type
"] is "password
".
1. Set |response|'s authentication credentials to
(|credentials|["username
"], |credentials|["password
"])
@@ -5180,9 +5176,7 @@ The [=remote end steps=] given |session| and |command parameters| are:
1. Let |request id| be |command parameters|["request
"].
1. If |blocked requests| does not [=map/contain=] |request id| then return
- [=error=] with [=error code=] [=invalid argument=].
-
- Issue: consider a "no such request
" error.
+ [=error=] with [=error code=] [=no such request=].
1. Let (request, |phase|, response) be
|blocked requests|[|request id|].