standardizing Error.stack or equivalent

John Lenz concavelenz at gmail.com
Sun Mar 30 17:52:27 PDT 2014


sourceUrl works in chrome, with eval at least.  Is displayName for function
naming?
On Mar 28, 2014 11:56 AM, "Sebastian Zartner" <sebastianzartner at gmail.com>
wrote:

> Hi John, supposedly <
>> https://developers.google.com/chrome-developer-tools/docs/javascript-debugging#breakpoints-dynamic-javascript>
>> and <
>> http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl>
>> document the emerging de facto std for providing this name to the existing
>> API. However, I have not seen it work on any browser. See point #5 at <
>> https://mail.mozilla.org/pipermail/es-discuss/2014-March/036642.html>.
>> Am I doing something wrong here that account for my not seeing this, or
>> does it in fact not work anywhere?
>>
>
> sourceURL and displayName are also working in Firefox. Not consistently
> yet, though. FWIW Firebug is making use of these in it's 2.0 alpha 1
> version. See
> http://www.softwareishard.com/blog/firebug/firebug-2-support-for-dynamic-scripts/
> .
> Would be great if these could be standardized.
>
> Sebastian
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140330/8238e59e/attachment.html>


More information about the es-discuss mailing list