onerror discrepencies

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

onerror discrepencies

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

#event-handler-attributes

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

#runtime-script-errors 

* 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 type?

For the first argument, calling the argument an "event" (in #event-handler-attributes) 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
http://muellerware.org
Reply | Threaded
Open this post in threaded view
|

Re: onerror discrepencies

Michael[tm] Smith
In response to the following message:

  http://www.w3.org/mid/BANLkTimFxigM8N2OhzEcEH5Ao74Kqq+50Q@...

... the following bug has been raised in the W3C Bugzilla database:

  http://www.w3.org/Bugs/Public/show_bug.cgi?id=12774

You are encouraged to add yourself to the CC List for the bug -- which
will require that you create a W3C Bugzilla user account (if you don't
have one already):

  http://www.w3.org/Bugs/Public/createaccount.cgi