Allen Wirfs-Brock <[email protected]>:

> You tell me, what's the problem.  The ES6 spec. says that %ThrowTypeError%
> is non-extensible.
> http://people.mozilla.org/~jorendorff/es6-draft.html#sec-%throwtypeerror%
>
> Only possible issue I see, is that perhaps 9.2.8 also needs to say that
> the length property is non-writable, non-configurable.
>

Yes, that's what should be the case in order to preserve what ES5 had.

Note that using the Realm api, you can access and manually freeze this and
> similar functions.
>

That would be a good thing for SES to do. Can it be done generically, that
is, without knowledge of which such functions exist?

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to