Skip to content

Commit

Permalink
Specify that "throw" aborts processing
Browse files Browse the repository at this point in the history
Also removes two superfluous "abort these steps".

Fixes #1856
  • Loading branch information
alvestrand committed May 31, 2018
1 parent 49237a9 commit 1d4b465
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ <h2>Terminology</h2>
<dfn data-dfn-for="exception" data-cite=
"!WEBIDL-1#dfn-create-exception">create</dfn> are
defined in [[!WEBIDL-1]].</p>
<p>The term "throw" is used as specified in [[INFRA]]: it terminates
the current processing steps.
</p>
<p>The terms <dfn data-lt="fulfill|fulfillment">fulfilled</dfn>, <dfn
data-lt="reject|rejection|rejecting">rejected</dfn>, <dfn data-lt=
"resolve|resolves">resolved</dfn>, <dfn>pending</dfn> and
Expand Down Expand Up @@ -2004,8 +2007,7 @@ <h4>Set the configuration</h4>
<code>"password"</code>, and
<code><var>server</var>.credential</code> is not a
<span class="idlMemberType"><a>DOMString</a></span>, then
<a>throw</a> an <code>InvalidAccessError</code> and abort these
steps.</p>
<a>throw</a> an <code>InvalidAccessError</code>.</p>
</li>
<li>
<p>If <var>scheme name</var> is <code>turn</code> or
Expand All @@ -2014,8 +2016,7 @@ <h4>Set the configuration</h4>
<code>"oauth"</code>, and
<code><var>server</var>.credential</code> is not an
<a>RTCOAuthCredential</a>, then throw an
<code>InvalidAccessError</code> and abort these
steps.</p>
<code>InvalidAccessError</code>.</p>
</li>
</ol>
</li>
Expand Down

0 comments on commit 1d4b465

Please sign in to comment.