May the defineProperty method of a proxy handler throw a TypeError?

Mark S. Miller erights at
Mon Aug 8 14:40:37 PDT 2011

On Mon, Aug 8, 2011 at 2:20 PM, David Flanagan <dflanagan at>wrote:

> Since WebIDL is in last-call status, this is probably a good time to decide
> whether the proxy proposal should change to allow faithful emulation of
> Reject, or whether WebIDL should change to throw a TypeError instead of
> using Reject...

If there are no show-stopping legacy compat constraints forcing us to
specify Reject, I prefer that we specify these to throw a TypeError.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list