DevTools/Features/SourceMap: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 1: Line 1:
{{FeatureStatus
{{FeatureStatus
|Feature name=SourceMap
|Feature name=SourceMap
|Feature stage=Development
|Feature stage=Landed
|Feature status=In progress
|Feature version=23
|Feature health=OK
|Feature health=OK
|Feature status note=Demoed integrated with debugger, work needed in JS engine and some add'l frontend work
|Feature status note=Initial support landed in Firefox 23. Improvements coming down the pipe as always.
}}
}}
{{FeatureTeam
{{FeatureTeam
|Feature product manager=Kevin Dangoor
|Feature feature manager=Dave Camp
|Feature feature manager=Dave Camp
|Feature lead engineer=Nick Fitzgerald
|Feature qa lead=Vlad Maniac
|Feature qa lead=Vlad Maniac
}}
}}
Line 64: Line 66:
When an error is first generated, the source maps have not yet been loaded. That means that the Web Console cannot immediately display the mapped error info. Once an error is hit, however, the map should be loaded and the error message should be updated as soon as possible to contain the mapped info.
When an error is first generated, the source maps have not yet been loaded. That means that the Web Console cannot immediately display the mapped error info. Once an error is hit, however, the map should be loaded and the error message should be updated as soon as possible to contain the mapped info.
|Feature ux design=[[File:SourceMapInConsole.png|Source mapped output in the Web Console]]
|Feature ux design=[[File:SourceMapInConsole.png|Source mapped output in the Web Console]]
|Feature implementation notes=* {{bug|669999}} - Add a library for parsing and consuming source map files to Firefox
|Feature implementation notes=* {{bug|771597}} - Source maps + debugger meta bug


* {{bug|670002}} - Use source maps in the web console
[https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit The source map file format specification]
 
* {{bug|679189}} - Allow eval'd or script tag injected scripts which have no source URL to be source mapped
 
* {{bug|568142}} - Add column information to be available to debuggers.
 
* {{bug|618650}} - map JS source coordinates to source language that was translated to JS
 
 
[https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit The source map file format spec originally proposed by Google]. I (fitzgen) have edit permissions and am working with them on making something we can all agree upon.
 
This feature is related to the [[Script_Origin_Tracking|Script Origin Tracking proposal]], because the mapping should be able to accommodate the many ways in which JavaScript can come into existence on a page.
 
* A [https://bugs.webkit.org/show_bug.cgi?id=60550 bug with a patch] was opened for WebKit but closed INVALID.
** Webkit has [https://bugs.webkit.org/show_bug.cgi?id=30933 another bug] open for this feature.
** A new [https://bugs.webkit.org/show_bug.cgi?id=63940 bug with a patch] was opened.
}}
}}
{{FeatureInfo
{{FeatureInfo
Confirmed users
125

edits