- From: poot <cvsmail@w3.org>
- Date: Wed, 24 Dec 2008 06:13:54 +0900 (JST)
- To: public-html-diffs@w3.org
Define that onerror is undefined in a more convenient location. (whatwg
r2551)
report an error
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1722.html#report-the-error
5.4.6.4 Runtime script errors
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1722.html#runtime-script-errors
onerror
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1722.html#handler-onerror
http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1721&r2=1.1722&f=h
http://html5.org/tools/web-apps-tracker?from=2550&to=2551
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1721
retrieving revision 1.1722
diff -u -d -r1.1721 -r1.1722
--- Overview.html 23 Dec 2008 20:33:36 -0000 1.1721
+++ Overview.html 23 Dec 2008 21:11:20 -0000 1.1722
@@ -27890,6 +27890,9 @@
<dd><p>Must be invoked whenever an <code title=event-error><a href=#event-error>error</a></code> event is targeted at or bubbles
through the element.</p>
+ <p>The initial value of <code title=handler-onerror><a href=#handler-onerror>onerror</a></code> must be
+ <code>undefined</code>.</p>
+
<p class=note>The <code title=handler-onerror><a href=#handler-onerror>onerror</a></code>
handler is also used for <a href=#runtime-script-errors>reporting
script errors</a>.</dd>
@@ -28103,8 +28106,7 @@
<a href=#event-handler-dom-attributes title="event handler DOM attributes">event handler DOM
attribute</a> of the <code><a href=#window>Window</a></code>. If the error is still
<i title="">not handled</i> after this, then the error should be
- reported to the user.<p>The initial value of <code title=handler-onerror><a href=#handler-onerror>onerror</a></code>
- must be <code>undefined</code>.</p><hr><p>When the user agent is required to <dfn id=report-the-error title="report the
+ reported to the user.</p><hr><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
attribute <var title="">onerror</var>, it must run these steps,
after which the error is either <i title="">handled</i> or <i title="">not handled</i>:<dl class=switch><dt>If the value of <var title="">onerror</var> is a function</dt>
Received on Tuesday, 23 December 2008 21:14:30 UTC