Let this object of global environment be specified by host
# Andrea Giammarchi (11 years ago)
is this out of another discussion or it's me not understanding the context, the what, the where, and the why about such topic? Thanks for any clarification
# Brendan Eich (11 years ago)
We have worked on this, since even if the embedding makes the global object up, it must satisfy certain observable spec requirements (to do with var, prototype properties, etc.).
# Anne van Kesteren (11 years ago)
That looks good. I got the impression from a discussion with Allen/Luke that specifying "this" was not yet considered and based on that Allen asked for this email.
Currently HTML overrides the ES standard here to set the this object to
WindowProxy
(whereasWindow
is the global). The ES standard should just let the host decide how this is set up. No need for conflicts here.(Solving this (no pun...) leaves us with
document.all
I think. Don't have ideas for that one.)