2014-07-31 15:43 GMT+02:00 Jason Orendorff <[email protected]>:

> Right Thing: I think [[PreventExtensions]] on these objects should
> always return false. I think [[DefineProperty]] on these objects
> should return false if Desc.[[Configurable]] is false or if it's
> missing and would default to false. That'll cause Object.freeze(form)
> and Object.defineProperty(form, "x", {configurable: false}) to throw a
> TypeError. Seems legit.
>

+1. They key point is that [[DefineOwnProperty]] should not try to coerce
configurable:false to configurable:true. It should just reject such
property updates.

Cheers,
Tom
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to