W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2011

[Bug 11267] Add a [NonConfigurable] extended attribute

From: <bugzilla@jessica.w3.org>
Date: Mon, 20 Jun 2011 09:43:02 +0000
To: public-script-coord@w3.org
Message-Id: <E1QYb0Y-0007RG-L2@jessica.w3.org>

Allen Wirfs-Brock <allen@wirfs-brock.com> changed:

           What    |Removed                     |Added
                 CC|                            |allen@wirfs-brock.com

--- Comment #8 from Allen Wirfs-Brock <allen@wirfs-brock.com> 2011-06-20 09:43:02 UTC ---
(In reply to comment #7)
> If plugins are evaluating window.location, I guess we need to prevent own
> properties of the Window object from being defined with the name "location", as
> well as prevent redefinition of it on Window.prototype?  What about when an
> <iframe name=location> is in the document? :)

The best way to prevent the creation of such a property is to predefine a
non-configurable own 'location' on all Window objects.  The method would be the
same as the one that would be inherited from Window.prototype

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 20 June 2011 09:43:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:44 UTC