Source Map Standard

Charles Kendrick charles at
Wed Apr 11 17:08:08 PDT 2012

Very strongly agree.

I also suggest that in-JavaScript diagnostics, such as access to stack
information when errors occur, is also standardized by this track.

For example, there are bugs logged against all 3 major engines about the
fact that onerror is basically useless because there's no way to get a
stack trace:

In each case, this has been acknowledged as a real problem, but it's fairly
clear that at least the WebKit and Firefox bugs are stalled due to lack of

Also, more kudos to Joey and John for Source Maps :)


On Wed, Apr 11, 2012 at 4:30 PM, Mark S. Miller <erights at> wrote:

> Hi Joey,
> I'm very glad to see this and I think it should be standardized by TC39.
> However, it should not be standardized as "part of the language", and so
> would result in a document distinct from Ecma 262. A good model is the way
> the internationalization track is proceeding.
> Rather than create an entire new track just for source maps, I think this
> goes hand in hand with the need to standardize a debugging API. I suggest
> both be bundled into one new track.
> On Wed, Apr 11, 2012 at 11:11 AM, Joey Schorr <jschorr at> wrote:
>> Greetings ES Discuss!
>> We (Joey Schorr and John Lenz, CCed) are some of the authors of the
>> source map specification that is now implemented by WebKit and Firefox, as
>> well as a number of compilers (Closure Compiler, GWT and soon
>> CoffeeScript). Given that the specification is becoming a de-facto standard
>> for mapping of code which is compiled to JS, we were curious if there was
>> any interest in making it an actual standard under TC39. The current
>> specification can be found here:
>> with a number of contributions from all the various parties involved.
>> Thanks!
>> Joey Schorr
>> Additional information:
>> Firefox implementation:
>> WebKit implementation:
>> Tutorial for Chrome:
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at
> --
>     Cheers,
>     --MarkM
> _______________________________________________
> es-discuss mailing list
> es-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list