<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:#000000">> <span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)">Then why was you previous mail saying that browsers should fix it?<br><br>Because I believe they should, but I know they won't. :)</span></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:#000000"><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)"><br></span></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:#000000"><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)">> </span><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)">It means "that thing that `this` would return in global scope".  No </span><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)">more, no less.</span></div><div class="gmail_default" style="font-family:georgia,serif;font-size:small;color:#000000"><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)"><br></span></div><div class="gmail_default" style="font-size:small">And (maybe unfortunately) for many people that amounts to being equivalent to "window". (I know it is wrong, but that's what many people think while not knowing about window proxies).</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 21, 2019 at 2:37 PM Boris Zbarsky <<a href="mailto:bzbarsky@mit.edu">bzbarsky@mit.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/21/19 5:21 PM, #!/JoePea wrote:<br>
>> They were duly marked invalid, because the problem was with the expectations, not the behavior...<br>
> <br>
> It's a design bug.<br>
<br>
Well, sure, if we're talking about the fact that there is no clear <br>
separation in the web platform's exposed objects between "a container <br>
that can be navigated" and "the thing currently loaded in that <br>
container"; both are represented, kinda weirdly, by "window".<br>
<br>
> I know, impossible to fix.<br>
<br>
Then why was you previous mail saying that browsers should fix it?<br>
<br>
> I'm not sure I even know what "globalThis" means now. :)<br>
<br>
It means "that thing that `this` would return in global scope".  No <br>
more, no less.<br>
<br>
In practice, in web pages, that thing is a WindowProxy object as defined <br>
at <br>
<a href="https://html.spec.whatwg.org/multipage/window-object.html#the-windowproxy-exotic-object" rel="noreferrer" target="_blank">https://html.spec.whatwg.org/multipage/window-object.html#the-windowproxy-exotic-object</a><br>
<br>
-Boris<br>
</blockquote></div>