On Thu, Jun 7, 2012 at 11:37 AM, Erik Arvidsson
<erik.arvids...@gmail.com> wrote:
> I wrote a new strawman for Error stack which is now available in some
> form in all major browser (if betas are considered).
>
> http://wiki.ecmascript.org/doku.php?id=strawman:error_stack
>
> Feedback wanted.

You might look at the Mueller format:
https://gist.github.com/312a55532fac0296f2ab

Note that the V8 stack is not a property of the error object but
rather a getter. This is a valuable performance advantage since the
stack is not converted from C++ array to string until the getter is
called.

Critical for tools is the ability to linkify the stack trace so we
need the grammar to allow the URLs to be unambiguously parsable,
including avoiding content of the error message from interfering.

jjb


>
> --
> erik
> _______________________________________________
> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to