On Thu, Jun 7, 2012 at 11:57 PM, T.J. Crowder <[email protected]> wrote:
> On 8 June 2012 04:28, David Herman <[email protected]> wrote:
>>
>> - You mentioned that compatibility requires error.stack to be a string,
>> even though programs would really like to have a structured version. Should
>> we offer a different property with structured stack frame info (probably
>> with a getter to allow straight-forward lazy construction), called
>> error.stackFrames or error.stackEntries or something?
>
>
> Big +1 on that. Avoiding parsing information the engine has as discrete
> items already is a Good Thing(tm). Perhaps it'll be aspirational at first,
> but if specified now it'll happen eventually.

There has been some interest in trying to align the existing Error
stack property and this proposal is about that.

Could we provide a new better alternative API? Of course. Feel free to
come up with another proposal.

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

Reply via email to