W3C home > Mailing lists > Public > public-html@w3.org > May 2011

[Bug 12774] New: onerror discrepencies

From: <bugzilla@jessica.w3.org>
Date: Wed, 25 May 2011 07:48:36 +0000
To: public-html@w3.org
Message-ID: <bug-12774-2495@http.www.w3.org/Bugs/Public/>

           Summary: onerror discrepencies
           Product: HTML WG
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: mike@w3.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,

public-html-comments posting from: Patrick Mueller <pmuellr@gmail.com>

I was looking over the onerror bits in
http://dev.w3.org/html5/spec/Overview.html , and noticed that the
sections #event-handler-attributes ( and #runtime-script-errors
( seem to differ:


* 1st argument is "event"
* 3rd argument is "fileno"


* 1st argument is a DOMString message
* 3rd argument is a line number

I assume the intention is that the 3rd argument should be a line number and
not "file number" (fileno).  But should it be a DOMString?  Why not a number

For the first argument, calling the argument an "event" (in
would kinda indicate to me that it's an event object, not a message.

Perhaps these two sections are talking about different things, which would
be even more confusing, since "onerror" seems to be a bit of a weird beast
in any case.

Patrick Mueller

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 25 May 2011 07:48:38 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:13 UTC