W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

[Bug 18547] Add [ImplicitThis] to EventTarget?

From: <bugzilla@jessica.w3.org>
Date: Fri, 07 Dec 2012 01:30:03 +0000
To: public-script-coord@w3.org
Message-ID: <bug-18547-3890-RqnQc6JVaa@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18547

--- Comment #8 from Cameron McCormack <cam@mcc.id.au> ---
(In reply to comment #7)
> >  interface WindowProxy {
> >    readonly attribute WindowProxy window;
> >  };
> 
> That seems nonsensical.  Shouldn't that attribute be on Window?  There is no
> actual WindowProxy interface....  (Or no actual Window interface; pick your
> poison.)

Er, yep.

> But yes, the getter for that attribute needs to have something like
> [ImplicitThis].
> 
> My gut reaction is that every single thing on Window should have it so we
> don't break the web, but it's worth checking with the ES folks for what they
> want here.

Allen, can you tell us about the intentions of strict mode's "not converting
null/undefined to the global object" and whether that was intended to apply to
everything on the window object, or more for user defined functions?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 7 December 2012 01:30:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:08 UTC