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

[Bug 18547] New: Add [ImplicitThis] to EventTarget?

From: <bugzilla@jessica.w3.org>
Date: Mon, 13 Aug 2012 12:13:50 +0000
To: public-webapps-bugzilla@w3.org
Message-ID: <bug-18547-2532@http.www.w3.org/Bugs/Public/>

           Summary: Add [ImplicitThis] to EventTarget?
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
        AssignedTo: annevk@annevk.nl
        ReportedBy: Ms2ger@gmail.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: cam@mcc.id.au, mike@w3.org, www-dom@w3.org

window.addEventListener.call(null, "a", function (e) { w(e) })

seems to work, while it isn't allowed per WebIDL.

I'm not actually sure what [ImplicitThis] is good for, and why we don't always
turn null/undefined into the window; maybe Cameron can explain.

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 Monday, 13 August 2012 12:13:52 UTC

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