[html5] r6468 - [giow] (0) Fix onerror definitions. Fixing http://www.w3.org/Bugs/Public/show_bu [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 15 21:04:08 PDT 2011


Author: ianh
Date: 2011-08-15 21:04:06 -0700 (Mon, 15 Aug 2011)
New Revision: 6468

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Fix onerror definitions.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12774

Modified: complete.html
===================================================================
--- complete.html	2011-08-16 01:28:51 UTC (rev 6467)
+++ complete.html	2011-08-16 04:04:06 UTC (rev 6468)
@@ -67936,12 +67936,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>
@@ -68543,7 +68545,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>
 

Modified: index
===================================================================
--- index	2011-08-16 01:28:51 UTC (rev 6467)
+++ index	2011-08-16 04:04:06 UTC (rev 6468)
@@ -67818,12 +67818,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>
@@ -68430,7 +68432,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>
 

Modified: source
===================================================================
--- source	2011-08-16 01:28:51 UTC (rev 6467)
+++ source	2011-08-16 04:04:06 UTC (rev 6468)
@@ -77238,12 +77238,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 <span>absolute URL</span> 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
+    <span>absolute URL</span> 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">handled</i>. Otherwise, the error is
@@ -77943,7 +77945,7 @@
 
        <dd>Let the function have three arguments, named <code
        title="">event</code>, <code title="">source</code>, and <code
-       title="">fileno</code>.</dd>
+       title="">lineno</code>.</dd>
 
        <dt>Otherwise</dt>
 




More information about the Commit-Watchers mailing list