[Bug 24248] Inconsistency between WebIDL callback function default this and JS strict mode default this

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

--- Comment #6 from Boris Zbarsky <bzbarsky@mit.edu> ---
Some callbacks are in fact called with some other this value.  For example,
event handlers and callable event listeners are called with the event target as
the this value.  So always passing undefined wouldn't be correct either.

Of course if the callee is a bound function it'll just ignore the this value
passed to [[Call]], so they work no matter what.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 10 January 2014 05:37:54 UTC