W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > August 2012

[Bug 18547] Add [ImplicitThis] to EventTarget?

From: <bugzilla@jessica.w3.org>
Date: Tue, 14 Aug 2012 07:59:20 +0000
Message-Id: <E1T1C24-00043U-TP@jessica.w3.org>
To: public-webapps-bugzilla@w3.org

--- 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:


[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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:04:25 UTC