Skip to content

Commit

Permalink
[e] (0) Clarify what 'failed' means in importScripts().
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=27276
Affected topics: DOM APIs, Workers

git-svn-id: https://svn.whatwg.org/webapps@8874 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 6, 2015
1 parent 933b9a6 commit 1eb5722
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 4 additions & 2 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -51305,7 +51305,7 @@ <h4 id=pseudo-classes>4.15.2 Pseudo-classes</h4>
<p>The <code id=pseudo-classes:selector-rtl><a href=#selector-rtl>:dir(rtl)</a></code> pseudo-class must match all elements whose
<a href=#the-directionality id=pseudo-classes:the-directionality-2>directionality</a> is '<a href=#concept-rtl id=pseudo-classes:concept-rtl>rtl</a>'.</p>

</dl><div class=status><input onclick=toggleStatus(this) value=⋰ type=button><p class=bugs><strong>Spec bugs:</strong> <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=27245" title=":active should not match <input type=button disabled>">27245</a>, <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=27247" title=":active should match the labeled control of a label element that is currently matching :active (like :hover)">27247</a></div>
</dl><div class=status><input onclick=toggleStatus(this) value=⋰ type=button><p class=bugs><strong>Spec bugs:</strong> <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=27245" title=":active should not match <input type=button disabled>">27245</a></div>

<p class=note>Another section of this specification defines the <i id=pseudo-classes:target-element><a href=#target-element>target element</a></i> used with the <code id=pseudo-classes:selector-target><a href=#selector-target>:target</a></code>
pseudo-class.</p>
Expand Down Expand Up @@ -70289,7 +70289,9 @@ <h4 id=importing-scripts-and-libraries>10.3.1 Importing scripts and libraries</h

<p>Wait for the fetching attempt for the corresponding resource to complete.</p>

<p>If the fetching attempt failed, throw a <code id=importing-scripts-and-libraries:networkerror><a href=#networkerror>NetworkError</a></code> exception and abort all
<p>If the fetching attempt failed (e.g. the server
returned a 4xx or 5xx status code <a href=#concept-http-equivalent-codes id=importing-scripts-and-libraries:concept-http-equivalent-codes>or
equivalent</a>, or there was a DNS error), throw a <code id=importing-scripts-and-libraries:networkerror><a href=#networkerror>NetworkError</a></code> exception and abort all
these steps.</p>

<p>If the attempt succeeds, then let <var>source</var> be the result of running the
Expand Down
6 changes: 4 additions & 2 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -51305,7 +51305,7 @@ contradict people?
<p>The <code id=pseudo-classes:selector-rtl><a href=#selector-rtl>:dir(rtl)</a></code> pseudo-class must match all elements whose
<a href=#the-directionality id=pseudo-classes:the-directionality-2>directionality</a> is '<a href=#concept-rtl id=pseudo-classes:concept-rtl>rtl</a>'.</p>

</dl><div class=status><input onclick=toggleStatus(this) value=⋰ type=button><p class=bugs><strong>Spec bugs:</strong> <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=27245" title=":active should not match <input type=button disabled>">27245</a>, <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=27247" title=":active should match the labeled control of a label element that is currently matching :active (like :hover)">27247</a></div>
</dl><div class=status><input onclick=toggleStatus(this) value=⋰ type=button><p class=bugs><strong>Spec bugs:</strong> <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=27245" title=":active should not match <input type=button disabled>">27245</a></div>

<p class=note>Another section of this specification defines the <i id=pseudo-classes:target-element><a href=#target-element>target element</a></i> used with the <code id=pseudo-classes:selector-target><a href=#selector-target>:target</a></code>
pseudo-class.</p>
Expand Down Expand Up @@ -70289,7 +70289,9 @@ partial interface <a href=#workerglobalscope id=WorkerGlobalScope-partial>Worker

<p>Wait for the fetching attempt for the corresponding resource to complete.</p>

<p>If the fetching attempt failed, throw a <code id=importing-scripts-and-libraries:networkerror><a href=#networkerror>NetworkError</a></code> exception and abort all
<p>If the fetching attempt failed (e.g. the server
returned a 4xx or 5xx status code <a href=#concept-http-equivalent-codes id=importing-scripts-and-libraries:concept-http-equivalent-codes>or
equivalent</a>, or there was a DNS error), throw a <code id=importing-scripts-and-libraries:networkerror><a href=#networkerror>NetworkError</a></code> exception and abort all
these steps.</p>

<p>If the attempt succeeds, then let <var>source</var> be the result of running the
Expand Down
4 changes: 3 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -94765,7 +94765,9 @@ partial interface <span id="WorkerGlobalScope-partial">WorkerGlobalScope</span>

<p>Wait for the fetching attempt for the corresponding resource to complete.</p>

<p>If the fetching attempt failed, throw a <code>NetworkError</code> exception and abort all
<p>If the fetching attempt failed (e.g. the server
returned a 4xx or 5xx status code <span data-x="concept-http-equivalent-codes">or
equivalent</span>, or there was a DNS error), throw a <code>NetworkError</code> exception and abort all
these steps.</p>

<p>If the attempt succeeds, then let <var>source</var> be the result of running the
Expand Down

0 comments on commit 1eb5722

Please sign in to comment.