[Bug 8241] Named properties on window

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


Michael(tm) Smith <mike@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |NE




--- Comment #1 from Michael(tm) Smith <mike@w3.org>  2009-11-11 11:32:34 ---
http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#dom-window-nameditem
> 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 Wednesday, 11 November 2009 11:32:44 UTC