This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
We should have an annotation that goes on the Window interface that implies the following: 1) ImplicitThis for the interface and all its ancestors and all the things it and its ancestors pull in via consequential interfaces. 2) NamedPropertiesObject. 3) Attributes, and maybe operations, going on the object itself, not the prototype. and whatever other funk we want out of the global.
Probably more like "this is the document global" as some of those we don't want for workers I think.
We do want the ImplicitThis behavior in workers, I think. And probably the "put the properties on the object itself" behavior. And NamedPropertiesObject is ignored if there is no named getter on the object.
Not sure if this is a good idea, but should we combine this with ways of not exposing certain features in certain globals? Document in XMLHttpRequest, HTMLFormElement in FormData's constructor, etc. I guess I will do those in prose for now.
This got done a while ago, here: https://github.com/heycam/webidl/commit/392c9727aec9f69fd164d6b7490efd2eec04fcfd