Skip to content

Commit

Permalink
Throwing is simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
jakearchibald committed Jun 8, 2017
1 parent 4615c57 commit 94f3f1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5377,8 +5377,8 @@ method, must run these steps:
"<code>immutable</code>".

<li>If <var>requestObject</var>'s <a for=Request>signal</a> is not null and its
<a for=AbortSignal>aborted flag</a> is set, reject <var>p</var> with an
"<code><a exception>AbortError</a></code>" {{DOMException}}, and return <var>p</var>.
<a for=AbortSignal>aborted flag</a> is set, throw an "<code><a exception>AbortError</a></code>"
{{DOMException}}.

<li><p>Otherwise, if <var>requestObject</var>'s <a for=Request>signal</a> is not null,
<a lt=add for=AbortSignal>add the following abort steps</a> to <var>requestObject</var>'s
Expand Down

1 comment on commit 94f3f1a

@domenic
Copy link
Member

@domenic domenic commented on 94f3f1a Jun 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, please don't do this.

Please sign in to comment.