On 4/28/11, Boris Zbarsky <bzbar...@mit.edu> wrote: > For what it's worth, the way Gecko implements this is by inserting an > object into the prototype chain of the Window that handles these > property gets. This means that |var| (which defines a prop on the > Window itself) will always shadow the named props, which is the behavior > you observe. >
That is correct. Because it is available in quirks mode only, GlobalScopePolluter addresses legacy code designed to run in IE without burdening other scripts with the problematic complexities it causes. -- Garrett