[Bug 18547] Add [ImplicitThis] to EventTarget?

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

--- Comment #1 from Cameron McCormack <cam@mcc.id.au> 2012-08-14 07:59:20 UTC ---
In ES3, Function.prototype.call would treat a first argument value of undefined
or null as the global object instead, which would make the call you wrote work.
 ES5 removed this:

  http://people.mozilla.org/~jorendorff/es5.html#sec-15.3.4.4

[LenientThis] is for if you need to work around that.  But I'd like to know if
it's really needed before adding it to addEventListener.  Or if we could even
remove [LenientThis] from the spec.  It used to be used somewhere in HTML but I
can't see it in use now.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 14 August 2012 07:59:23 UTC