[Bug 11838] In Gecko, Opera, and IE, the "name" property on Window is replaceable

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

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu
            Summary|In Gecko and Opera, at      |In Gecko, Opera, and IE,
                   |least, the "name" property  |the "name" property on
                   |on Window is replaceable.   |Window is replaceable
                   |Should that be specced, or  |
                   |is it web-compatible enough |
                   |to not make it replaceable? |

--- Comment #1 from Boris Zbarsky <bzbarsky@mit.edu> 2011-01-23 02:22:57 UTC ---
Testcase is:

  <script>
    alert(typeof(name));
  </script>
  <script>
    var name = 5;
    alert(typeof(name));
  </script>

That alerts "string" and then "string" in Safari/Chrome, and alerts "string"
and then "number" in Gecko, Opera, IE8, and IE9 previews.

-- 
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, 23 January 2011 02:22:59 UTC