preventExtensions trap and its true/false protocol
jwalden+es at MIT.EDU
Tue Apr 2 15:47:14 PDT 2013
On 04/02/2013 12:13 AM, Tom Van Cutsem wrote:
> The true/false return protocol doesn't prevent exceptions to be thrown from the trap. It's perfectly fine for the dead object proxy's preventExtensions trap to throw an "object is dead" exception. In fact, that's precisely what would happen if one would call preventExtensions on a revoked revocable proxy.
Ah, yes, that's exactly right. Never mind!
More information about the es-discuss