[Bug 22757] "If listener's callback is a Function object, it..."

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22757

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #1 from Boris Zbarsky <bzbarsky@mit.edu> ---
> What should browsers do for this step?

Set the "callback this value" as defined in
http://dev.w3.org/2006/webapi/WebIDL/#dfn-callback-this-value perhaps?

Or put another way, the "callback this value" is an input to the WebIDL steps
for invoking a callback operation, and whatever spec defines that a callback
operation is invoked needs to say what that input is.

Of course the DOM spec linked in comment 0 doesn't say anything about invoking
the operation, which seems bogus to me.  It should be talking about calling the
listener's handleEvent and shouldn't say anything in particular about Function
objects (especially because what it says actually contradicts WebIDL when
non-Function callables are involved).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 22 July 2013 19:34:52 UTC