Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to implement: disallowing definition of non-configurable properties on a window

20 views
Skip to first unread message

Boris Zbarsky

unread,
Jul 23, 2015, 11:57:21 AM7/23/15
to
A bit belated, since I just landed this on inbound, but...

Summary: In ES2015, there is a certain set of invariants that an object
is supposed to maintain. One of those is that a non-configurable
property can't just disappear. Window objects obviously can't maintain
that invariant, so they can't be allowed to have non-configurable
properties, at least in terms of observability from script.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1107443

Standard:
http://www.ecma-international.org/ecma-262/6.0/#sec-invariants-of-the-essential-internal-methods

Platforms: all

Estimated release date: Unclear so far; need to see how web-compatible
this is.

Preference controlling this: no preference, but a !RELEASE_BUILD ifdef.
So this will be enabled in nightly and Aurora only.

-Boris
0 new messages