<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>10631</bug_id>
          
          <creation_ts>2010-09-14 17:40:17 +0000</creation_ts>
          <short_desc>Named access on the Window object doesn&apos;t work for XHTML documents in WebKit, Firefox, or (trivially) IE.  Dumping objects in the global scope is sad face.  Can we restrict this behavior to HTML documents?  (The bug for implementing this in XHTML was rece</short_desc>
          <delta_ts>2011-12-10 04:06:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=22211</see_also>
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#named-access-on-the-window-object</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>cam</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>hsivonen</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>w3c</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39018</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-09-14 17:40:17 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/#named-access-on-the-window-object

Comment:
Named access on the Window object doesn&apos;t work for XHTML documents in WebKit,
Firefox, or (trivially) IE.  Dumping objects in the global scope is sad face. 
Can we restrict this behavior to HTML documents?  (The bug for implementing
this in XHTML was recently WONTFIXED in WebKit.)

Posted from: 67.169.42.39</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39019</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Barth">w3c</who>
    <bug_when>2010-09-14 17:42:37 +0000</bug_when>
    <thetext>I&apos;m told that Firefox restricts this to quirks mode, but I haven&apos;t verified that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39052</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-15 13:20:30 +0000</bug_when>
    <thetext>Long term obviously the spec will spec whatever the browsers do, but short-term, it seems bad to encourage even more differences between HTML and XHTML or quirks mode and non-quirks mode (and even worse, to encourage differences in both simultaneously).

What do IE9 and Opera do?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39054</commentid>
    <comment_count>3</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2010-09-15 13:33:06 +0000</bug_when>
    <thetext>Making this a quirks/standards difference makes more sense than making this an HTML/XHTML difference, IMO. HTML Standards is the preferred mode, right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39061</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2010-09-15 16:26:03 +0000</bug_when>
    <thetext>Opera supports named access in HTML quirks, HTML standards and XHTML.

I&apos;m a bit scared about removing it from HTML standards, since it is likely to break pages (either IE-only content (or even WebKit-only content) that breaks in Firefox today or content where Opera happens to get the IE codepath instead of the Firefox codepath).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39821</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-28 22:38:44 +0000</bug_when>
    <thetext>So WebKit makes this a MIME type difference, Gecko makes it a quirks mode difference, and Opera implements it everywhere.

What does IE9 do?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40101</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-30 08:50:24 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Did Not Understand Request
Change Description: no spec change
Rationale: see comment 5 - I need more data to figure out where to go with this</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>