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

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