W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > January 2011

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

From: <bugzilla@jessica.w3.org>
Date: Sun, 23 Jan 2011 02:22:58 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PgpbW-0000Ps-5O@jessica.w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 23 January 2011 02:23:07 GMT