Skip to content

Commit

Permalink
[giow] (0) Fix onerror definitions.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12774

git-svn-id: http://svn.whatwg.org/webapps@6468 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 16, 2011
1 parent e15f978 commit 483199b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 21 deletions.
16 changes: 9 additions & 7 deletions complete.html
Expand Up @@ -67936,12 +67936,14 @@ <h5 id=runtime-script-errors><span class=secno>7.1.3.5 </span>Runtime script err

<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>
Expand Down Expand Up @@ -68543,7 +68545,7 @@ <h5 id=event-handler-attributes><span class=secno>7.1.6.1 </span>Event handlers<
<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>

Expand Down
16 changes: 9 additions & 7 deletions index
Expand Up @@ -67818,12 +67818,14 @@ interface <dfn id=navigatoronline>NavigatorOnLine</dfn> {

<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>
Expand Down Expand Up @@ -68430,7 +68432,7 @@ currently this is unnecessary: http://www.w3.org/Bugs/Public/show_bug.cgi?id=119
<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>

Expand Down
16 changes: 9 additions & 7 deletions source
Expand Up @@ -77238,12 +77238,14 @@ interface <dfn>NavigatorOnLine</dfn> {

<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
Expand Down Expand Up @@ -77943,7 +77945,7 @@ currently this is unnecessary: http://www.w3.org/Bugs/Public/show_bug.cgi?id=119

<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>

Expand Down

0 comments on commit 483199b

Please sign in to comment.