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

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

           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 on the CC list for the bug.

Received on Monday, 13 August 2012 12:13:51 UTC