W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > April 2011

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 14 Apr 2011 19:24:42 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QAS9i-0002Hv-Cr@jessica.w3.org>

--- 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:

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:46 UTC