This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16124 - Only recommending this be limited to quirks mode is not strict enough. This behaviour breaks page JS code in a way that makes it virtually impossible to find out why if(!objectname) is not resolving the way it should. This feature should be changed to "ma
Summary: Only recommending this be limited to quirks mode is not strict enough. This b...
Status: RESOLVED NEEDSINFO
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-26 18:09 UTC by contributor
Modified: 2012-08-23 22:00 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2012-02-26 18:09:33 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#named-access-on-the-window-object
Complete: http://www.whatwg.org/c#named-access-on-the-window-object

Comment:
Only recommending this be limited to quirks mode is not strict enough. This
behaviour breaks page JS code in a way that makes it virtually impossible to
find out why if(!objectname) is not resolving the way it should. This feature
should be changed to "may only be used in quirks mode", or better yet, should
be removed from the spec, or changed to named access on document, because
that's what window.document is for. Window pollution should be enough reason
to flag this as a hack.

Posted from: 173.206.22.96
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.187 Safari/535.1
Comment 1 Ms2ger 2012-03-03 20:26:43 UTC
I'm all for. Go convince browser vendors?
Comment 2 contributor 2012-07-18 17:12:58 UTC
This bug was cloned to create bug 18082 as part of operation convergence.
Comment 3 Ian 'Hixie' Hickson 2012-07-26 04:46:56 UTC
Yeah, what Ms2ger said. I can only change the spec here if the browser vendors are willing to change.
Comment 4 Ian 'Hixie' Hickson 2012-08-23 22:00:30 UTC
Marking NEEDSINFO. The info I need is that the browsers have removed this.