- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 16 Aug 2011 04:04:40 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv27993
Modified Files:
Overview.html
Log Message:
Fix onerror definitions. (whatwg r6468)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5169
retrieving revision 1.5170
diff -u -d -r1.5169 -r1.5170
--- Overview.html 16 Aug 2011 01:29:18 -0000 1.5169
+++ Overview.html 16 Aug 2011 04:04:35 -0000 1.5170
@@ -49393,12 +49393,14 @@
<dd>
- <p>The function must be invoked with three arguments. The three
- arguments passed to the function are all <code>DOMString</code>s;
- the first must give the message that the UA is considering
- reporting, the second must give the <a href="#absolute-url">absolute URL</a> of
- the resource in which the error occurred, and the third must give
- the line number in that resource on which the error occurred.</p>
+ <p>The function must be invoked with three arguments. The first
+ two arguments passed to the function must be of type
+ <code>DOMString</code>, and the third must be of type
+ <code>unsigned long</code>. The first must give the message that
+ the UA is considering reporting, the second must give the
+ <a href="#absolute-url">absolute URL</a> of the resource in which the error
+ occurred, and the third must give the line number in that resource
+ on which the error occurred.</p>
<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>
@@ -49921,7 +49923,7 @@
<dl class="switch"><dt>If the attribute is the <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code> attribute of the
<code><a href="#window">Window</a></code> object</dt>
- <dd>Let the function have three arguments, named <code title="">event</code>, <code title="">source</code>, and <code title="">fileno</code>.</dd>
+ <dd>Let the function have three arguments, named <code title="">event</code>, <code title="">source</code>, and <code title="">lineno</code>.</dd>
<dt>Otherwise</dt>
Received on Tuesday, 16 August 2011 04:04:42 UTC