W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2011

[Bug 11185] Switch the order of checking for Function-ness and a property for [Callback] objects

From: <bugzilla@jessica.w3.org>
Date: Tue, 24 May 2011 22:42:44 +0000
To: public-script-coord@w3.org
Message-Id: <E1QP0JI-0007Vy-N9@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11185

Cameron McCormack <cam@mcc.id.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
           Platform|PC                          |All
         Resolution|                            |WORKSFORME
         OS/Version|Windows NT                  |All

--- Comment #1 from Cameron McCormack <cam@mcc.id.au> 2011-05-24 22:42:44 UTC ---
Looks like IE, Firefox, Chrome and Opera all prefer to call the function itself
rather than the handleEvent property.

http://people.mozilla.org/~cmccormack/tests/eventlistener-property.html

And it seems the spec already requires this, anyway:

http://dev.w3.org/2006/webapi/WebIDL/#native-objects

-- 
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 Tuesday, 24 May 2011 22:42:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:03 UTC