[Bug 11267] Add a [NonConfigurable] extended attribute

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

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