Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhijaju authored and reillyeon committed Mar 24, 2022
1 parent a625789 commit 6035b7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -304,13 +304,13 @@ The <dfn method for=IdleDetector>start(|options|)</dfn> method steps are:
</wpt>
1. Let |result| be [=a new promise=].
1. If |options|["{{signal}}"] is present, then perform the following sub-steps:
1. If |options|["{{signal}}"]'s [=AbortSignal/aborted flag=] is set, then
[=reject=] |result| with an "{{AbortError}}" {{DOMException}} and return
|result|.
1. If |options|["{{signal}}"] is [=AbortSignal/aborted=], then
[=reject=] |result| with |options|["{{signal}}"]'s [=AbortSignal/abort reason=]
and return |result|.
1. [=AbortSignal/add|Add the following abort steps=] to
|options|["{{signal}}"]:
1. Set |this|.{{IdleDetector/[[state]]}} to `"stopped"`.
1. [=Reject=] |result| with an "{{AbortError}}" {{DOMException}}.
1. [=Reject=] |result| with |options|["{{signal}}"]'s [=AbortSignal/abort reason=].

<wpt>
interceptor.https.html
Expand Down

0 comments on commit 6035b7d

Please sign in to comment.