Changes

Jump to: navigation, search

DevTools/Features/SourceMap

956 bytes removed, 18:22, 4 June 2013
no edit summary
{{FeatureStatus
|Feature name=SourceMap
|Feature stage=DevelopmentLanded|Feature status=In progress|Feature version=23
|Feature health=OK
|Feature status note=Demoed integrated with debugger, work needed Initial support landed in JS engine and some add'l frontend workFirefox 23. Improvements coming down the pipe as always.
}}
{{FeatureTeam
|Feature product manager=Kevin Dangoor
|Feature feature manager=Dave Camp
|Feature lead engineer=Nick Fitzgerald
|Feature qa lead=Vlad Maniac
}}
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 implementation notes=* {{bug|669999771597}} - Add a library for parsing and consuming source map files to FirefoxSource maps + debugger meta bug
* {{bug|670002}} - Use source maps in the web console * {{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 Googlespecification]. 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
Confirm
125
edits

Navigation menu