Maximally minimal stack trace standardization

Boris Zbarsky bzbarsky at mit.edu
Wed Mar 11 03:14:10 UTC 2015


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


More information about the es-discuss mailing list