standardizing Error.stack or equivalent
Mark S. Miller
erights at google.com
Thu Mar 27 09:54:08 PDT 2014
Which existing API do you mean?
What asymmetry?
On Thu, Mar 27, 2014 at 9:38 AM, Anne van Kesteren <annevk at annevk.nl> wrote:
> On Thu, Mar 27, 2014 at 4:31 PM, Mark Miller <erights at gmail.com> wrote:
> > The stack should not be accessible given only the error object. Rather,
> > there should be a getStack function
> > <
> https://code.google.com/p/google-caja/source/browse/trunk/src/com/google/caja/ses/debug.js#300
> >
> > which, given an error object, returns the stack. That way, code which
> does
> > not have access to the getStack function cannot see the stacks.
>
> Given the existing API which we cannot remove, isn't it too late for
> that? Why would we want the asymmetry?
>
>
> --
> http://annevankesteren.nl/
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
--
Cheers,
--MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140327/dbdb9d8e/attachment.html>
More information about the es-discuss
mailing list