Skip to content

Commit

Permalink
[e] (0) Try to clarify this by switching the order around.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@6239 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 16, 2011
1 parent b2c1e3b commit 49657ca
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 33 deletions.
26 changes: 15 additions & 11 deletions complete.html
Expand Up @@ -239,7 +239,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1>Web Applications 1.0</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 15 June 2011</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 16 June 2011</h2>
</hgroup><dl><dt>Multiple-page version:</dt>
<dd><a href=http://www.whatwg.org/specs/web-apps/current-work/complete/>http://www.whatwg.org/specs/web-apps/current-work/complete/</a></dd>
<dt>One-page version:</dt>
Expand Down Expand Up @@ -927,7 +927,9 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
<li><a href=#calling-scripts><span class=secno>7.1.3.2 </span>Calling scripts</a></li>
<li><a href=#creating-scripts><span class=secno>7.1.3.3 </span>Creating scripts</a></li>
<li><a href=#killing-scripts><span class=secno>7.1.3.4 </span>Killing scripts</a></li>
<li><a href=#runtime-script-errors><span class=secno>7.1.3.5 </span>Runtime script errors</a></ol></li>
<li><a href=#runtime-script-errors><span class=secno>7.1.3.5 </span>Runtime script errors</a>
<ol>
<li><a href=#runtime-script-errors><span class=secno>7.1.3.5.1 </span>Runtime script errors in documents</a></ol></ol></li>
<li><a href=#event-loops><span class=secno>7.1.4 </span>Event loops</a>
<ol>
<li><a href=#definitions-1><span class=secno>7.1.4.1 </span>Definitions</a></li>
Expand Down Expand Up @@ -67436,14 +67438,7 @@ <h5 id=killing-scripts><span class=secno>7.1.3.4 </span>Killing scripts</h5>

<h5 id=runtime-script-errors><span class=secno>7.1.3.5 </span>Runtime script errors</h5>

<p>Whenever an uncaught runtime script error occurs in one of the
scripts associated with a <code><a href=#document>Document</a></code>, the user agent must
<a href=#report-the-error>report the error</a> using the <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code> <a href=#event-handlers title="event
handlers">event handler</a> of the <a href="#script's-global-object">script's global
object</a>. If the error is still <i title=concept-error-nothandled><a href=#concept-error-nothandled>not handled</a></i> after this, then
the error may be reported to the user.</p>

<hr><p>When the user agent is required to <dfn id=report-the-error title="report the
<p>When the user agent is required to <dfn id=report-the-error title="report the
error">report an error</dfn> <var title="">error</var> using the
<a href=#event-handlers title="event handlers">event handler</a> <var title="">onerror</var>, it must run these steps, after which the
error is either <dfn id=concept-error-handled title=concept-error-handled><i>handled</i></dfn> or <dfn id=concept-error-nothandled title=concept-error-nothandled><i>not handled</i></dfn>:</p>
Expand Down Expand Up @@ -67479,7 +67474,16 @@ <h5 id=runtime-script-errors><span class=secno>7.1.3.5 </span>Runtime script err

</dd>

</dl></div>
</dl><h6 id=runtime-script-errors><span class=secno>7.1.3.5.1 </span>Runtime script errors in documents</h6>

<p>Whenever an uncaught runtime script error occurs in one of the
scripts associated with a <code><a href=#document>Document</a></code>, the user agent must
<a href=#report-the-error>report the error</a> using the <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code> <a href=#event-handlers title="event
handlers">event handler</a> of the <a href="#script's-global-object">script's global
object</a>. If the error is still <i title=concept-error-nothandled><a href=#concept-error-nothandled>not handled</a></i> after this, then
the error may be reported to the user.</p>

</div>


<div class=impl>
Expand Down
26 changes: 15 additions & 11 deletions index
Expand Up @@ -243,7 +243,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 15 June 2011</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 16 June 2011</h2>
</hgroup><dl><dt><strong>Web developer edition</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -927,7 +927,9 @@
<li><a href=#calling-scripts><span class=secno>7.1.3.2 </span>Calling scripts</a></li>
<li><a href=#creating-scripts><span class=secno>7.1.3.3 </span>Creating scripts</a></li>
<li><a href=#killing-scripts><span class=secno>7.1.3.4 </span>Killing scripts</a></li>
<li><a href=#runtime-script-errors><span class=secno>7.1.3.5 </span>Runtime script errors</a></ol></li>
<li><a href=#runtime-script-errors><span class=secno>7.1.3.5 </span>Runtime script errors</a>
<ol>
<li><a href=#runtime-script-errors><span class=secno>7.1.3.5.1 </span>Runtime script errors in documents</a></ol></ol></li>
<li><a href=#event-loops><span class=secno>7.1.4 </span>Event loops</a>
<ol>
<li><a href=#definitions-1><span class=secno>7.1.4.1 </span>Definitions</a></li>
Expand Down Expand Up @@ -67444,14 +67446,7 @@ interface <dfn id=navigatoronline>NavigatorOnLine</dfn> {

<h5 id=runtime-script-errors><span class=secno>7.1.3.5 </span>Runtime script errors</h5>

<p>Whenever an uncaught runtime script error occurs in one of the
scripts associated with a <code><a href=#document>Document</a></code>, the user agent must
<a href=#report-the-error>report the error</a> using the <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code> <a href=#event-handlers title="event
handlers">event handler</a> of the <a href="#script's-global-object">script's global
object</a>. If the error is still <i title=concept-error-nothandled><a href=#concept-error-nothandled>not handled</a></i> after this, then
the error may be reported to the user.</p>

<hr><p>When the user agent is required to <dfn id=report-the-error title="report the
<p>When the user agent is required to <dfn id=report-the-error title="report the
error">report an error</dfn> <var title="">error</var> using the
<a href=#event-handlers title="event handlers">event handler</a> <var title="">onerror</var>, it must run these steps, after which the
error is either <dfn id=concept-error-handled title=concept-error-handled><i>handled</i></dfn> or <dfn id=concept-error-nothandled title=concept-error-nothandled><i>not handled</i></dfn>:</p>
Expand Down Expand Up @@ -67487,7 +67482,16 @@ interface <dfn id=navigatoronline>NavigatorOnLine</dfn> {

</dd>

</dl></div>
</dl><h6 id=runtime-script-errors><span class=secno>7.1.3.5.1 </span>Runtime script errors in documents</h6>

<p>Whenever an uncaught runtime script error occurs in one of the
scripts associated with a <code><a href=#document>Document</a></code>, the user agent must
<a href=#report-the-error>report the error</a> using the <code title=handler-window-onerror><a href=#handler-window-onerror>onerror</a></code> <a href=#event-handlers title="event
handlers">event handler</a> of the <a href="#script's-global-object">script's global
object</a>. If the error is still <i title=concept-error-nothandled><a href=#concept-error-nothandled>not handled</a></i> after this, then
the error may be reported to the user.</p>

</div>


<div class=impl>
Expand Down
23 changes: 12 additions & 11 deletions source
Expand Up @@ -76942,17 +76942,6 @@ interface <dfn>NavigatorOnLine</dfn> {

<h5 id="runtime-script-errors">Runtime script errors</h5>

<p>Whenever an uncaught runtime script error occurs in one of the
scripts associated with a <code>Document</code>, the user agent must
<span>report the error</span> using the <code
title="handler-window-onerror">onerror</code> <span title="event
handlers">event handler</span> of the <span>script's global
object</span>. If the error is still <i
title="concept-error-nothandled">not handled</i> after this, then
the error may be reported to the user.</p>

<hr>

<p>When the user agent is required to <dfn title="report the
error">report an error</dfn> <var title="">error</var> using the
<span title="event handlers">event handler</span> <var
Expand Down Expand Up @@ -76997,6 +76986,18 @@ interface <dfn>NavigatorOnLine</dfn> {

</dl>


<h6 id="runtime-script-errors">Runtime script errors in documents</h6>

<p>Whenever an uncaught runtime script error occurs in one of the
scripts associated with a <code>Document</code>, the user agent must
<span>report the error</span> using the <code
title="handler-window-onerror">onerror</code> <span title="event
handlers">event handler</span> of the <span>script's global
object</span>. If the error is still <i
title="concept-error-nothandled">not handled</i> after this, then
the error may be reported to the user.</p>

</div>


Expand Down

0 comments on commit 49657ca

Please sign in to comment.