W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2009

[Bug 8241] New: Named properties on window

From: <bugzilla@wiggum.w3.org>
Date: Sun, 08 Nov 2009 21:19:52 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-8241-2486@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8241

           Summary: Named properties on window
           Product: HTML WG
           Version: unspecified
          Platform: PC
               URL: http://www.whatwg.org/specs/web-apps/current-
                    work/multipage/browsers.html#dom-window-nameditem
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: scampa.giovanni@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


Window defines only a getter. According to latest WebIDL draft, this means that
named properties are ReadOnly, which causes to ignore all attempts to set them.
This is different to the browsers I tested (Firefox 3.5, Arora 0.10, Opera
10.0), which replace the corresponding named property with a new one,
containing the new value.

Testcase:
<iframe src="http://example.org" name="iframe"></iframe>
<script>alert(iframe); iframe = "test"; alert(iframe);</script>

Note: this may be a bug in WebIDL instead.


-- 
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 Sunday, 8 November 2009 21:20:04 UTC

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