hixie: Fix onerror definitions. (whatwg r6468)

hixie: Fix onerror definitions. (whatwg r6468)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5169&r2=1.5170&f=h
http://html5.org/tools/web-apps-tracker?from=6467&to=6468

===================================================================
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:05:05 UTC