[Bug 11960] Consider making the global scope pollution by names/ids quirks-only

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11960

--- Comment #14 from Travis Leithead [MSFT] <travil@microsoft.com> 2011-04-14 19:24:40 UTC ---
>> As currently specified they have higher precedence than the normal 
>> idl-defined stuff, if I read the spec correctly.  Of course not a 
>> single browser implements that, and I doubt any ever will

Actually, this is only true if the interface has the [OverrideBuiltins]
annotation. After implementing this behavior, IE9 had to take the annotation
off so that prototype lookups would have higher precedence than the window's
"collection" contents. See:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10340.

Rather than make a change in user agents that will break some set of sites, why
not just encourage the use of ES5 strict mode?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 14 April 2011 19:24:43 UTC