Thanks for the responses, I filed bug 1270610 for this! On Thu, May 5, 2016 at 1:39 PM, Jim Blandy <[email protected]> wrote:
> setPendingException isn't always a throw point. Sometimes we're just > managing exceptions previously created: restoring an exception temporarily > set aside for a `finally` block, say. > > We do capture exact stack traces; it's just that the error object is where > we keep all that metadata. > > Of course we could store it off to the side, and thereby keep metadata > about non-Error exceptions. That's just not what was implemented. It'd take > some care to ensure that the metadata stayed attached to its exception > value. > > > -- Ehsan _______________________________________________ dev-tech-js-engine-internals mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

