[html5] r3423 - [] (0) Clarify that only uncaught errors are reported.
whatwg at whatwg.org
whatwg at whatwg.org
Wed Jul 15 18:04:17 PDT 2009
Author: ianh
Date: 2009-07-15 18:04:15 -0700 (Wed, 15 Jul 2009)
New Revision: 3423
Modified:
index
source
Log:
[] (0) Clarify that only uncaught errors are reported.
Modified: index
===================================================================
--- index 2009-07-15 22:38:50 UTC (rev 3422)
+++ index 2009-07-16 01:04:15 UTC (rev 3423)
@@ -67,7 +67,7 @@
<div class=head>
<p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<h1>HTML 5</h1>
- <h2 class="no-num no-toc" id=draft-standard-—-date:-01-jan-1901>Draft Standard — 15 July 2009</h2>
+ <h2 class="no-num no-toc" id=draft-standard-—-date:-01-jan-1901>Draft Standard — 16 July 2009</h2>
<p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -47626,8 +47626,8 @@
<p><i>This section only applies to user agents that support
scripting in general and JavaScript in particular.</i></p>
- <p>Whenever a runtime script error occurs in one of the scripts
- associated with a <code>Document</code>, the user agent must
+ <p>Whenever an uncaught runtime script error occurs in one of the
+ scripts associated with a <code>Document</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-handler-attributes-0 title="event
handler attributes">event handler attribute</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
@@ -47654,10 +47654,10 @@
<p>If the function returns false, then the error is <i title=concept-error-handled><a href=#concept-error-handled>handled</a></i>. Otherwise, the error is
<i title=concept-error-nothandled><a href=#concept-error-nothandled>not handled</a></i>.</p>
- <p>Any exceptions thrown or errors caused by this function must be
- reported to the user immediately after the error that the function
- was called for, without using the <a href=#report-the-error title="report the
- error">report an error</a> algorithm again.</p>
+ <p>Any uncaught exceptions thrown or errors caused by this
+ function must be reported to the user immediately after the error
+ that the function was called for, without using the <a href=#report-the-error title="report the error">report an error</a> algorithm
+ again.</p>
</dd>
Modified: source
===================================================================
--- source 2009-07-15 22:38:50 UTC (rev 3422)
+++ source 2009-07-16 01:04:15 UTC (rev 3423)
@@ -54163,8 +54163,8 @@
<p><i>This section only applies to user agents that support
scripting in general and JavaScript in particular.</i></p>
- <p>Whenever a runtime script error occurs in one of the scripts
- associated with a <code>Document</code>, the user agent must
+ <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
handler attributes">event handler attribute</span> of the
@@ -54200,10 +54200,11 @@
title="concept-error-handled">handled</i>. Otherwise, the error is
<i title="concept-error-nothandled">not handled</i>.</p>
- <p>Any exceptions thrown or errors caused by this function must be
- reported to the user immediately after the error that the function
- was called for, without using the <span title="report the
- error">report an error</span> algorithm again.</p>
+ <p>Any uncaught exceptions thrown or errors caused by this
+ function must be reported to the user immediately after the error
+ that the function was called for, without using the <span
+ title="report the error">report an error</span> algorithm
+ again.</p>
</dd>
@@ -67807,17 +67808,17 @@
<h4>Runtime script errors</h4>
- <p>Whenever a runtime script error occurs in one of the worker's
- scripts, if the error did not occur while handling a previous script
- error, the user agent must <span>report the error</span> using the
- <code>WorkerGlobalScope</code> object's <code
+ <p>Whenever an uncaught runtime script error occurs in one of the
+ worker's scripts, if the error did not occur while handling a
+ previous script error, the user agent must <span>report the
+ error</span> using the <code>WorkerGlobalScope</code> object's <code
title="handler-WorkerGlobalScope-onerror">onerror</code>
- attribute.</p>
+ attribute. <a href="#refsHTML5">[HTML5]</a></p>
<p>For shared workers, if the error is still <i
title="concept-error-nothandled">not handled</i> afterwards, or if
the error occurred while handling a previous script error, the error
- should be reported to the user.</p>
+ should be reported to the user. <a href="#refsHTML5">[HTML5]</a></p>
<p>For dedicated workers, if the error is still <i
title="concept-error-nothandled">not handled</i> afterwards, or if
More information about the Commit-Watchers
mailing list