On 3/10/15 10:45 PM, Domenic Denicola wrote:
Can’t we just have Error.prototype.stack be a getter

This.

Right now, in SpiderMonkey, .stack is a value property on Error instances but I plan to change that in the near future for various reasons to use a getter anyway.

We'll need to figure out what the interaction with DOMException is, but worst-case DOMException.prototype has a separate .stack accessor and SES can kill that off that as well.

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

Reply via email to