DevTools/Features/SourceMap: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 11: Line 11:
}}
}}
{{FeaturePageBody
{{FeaturePageBody
|Feature open issues and risks=
|Feature open issues and risks=A security review should be conducted before we have too much technical debt.
A security review should be conducted before we have too much technical debt.


Now that there is an evolving spec for the source map file format, the first
Now that there is an evolving spec for the source map file format, the first
Line 34: Line 33:


* Integration with CoffeeScript.
* Integration with CoffeeScript.
|Feature overview=Nearly every web developer starts with JavaScript in one form during development and then produces JavaScript in another form for production use. Most often, this is a case of joining files together and minifying the output to reduce the number of requests the browser needs to make and how much data the browser needs to transfer. Another example of JavaScript starting in one form and ending up in the final form used by the browser is in PHP scripts which will sometimes generate bits of JavaScript as they generate their pages.
|Feature overview=Nearly every web developer starts with JavaScript in one form during development and then produces JavaScript in another form for production use. Most often, this is a case of joining files together and minifying the output to reduce the number of requests the browser needs to make and how much data the browser needs to transfer. Another example of JavaScript starting in one form and ending up in the final form used by the browser is in PHP scripts which will sometimes generate bits of JavaScript as they generate their pages.


Line 51: Line 49:
* A specification for generated scripts to refer to their mappings and a mapping format
* A specification for generated scripts to refer to their mappings and a mapping format
[[Link title]]
[[Link title]]
 
|Feature non-goals=* Ideally, the source mapping file will also work for mapping LESS and similar to CSS. However, implementing the user interface for style source mapping is out of scope for this particular feature.
|Feature non-goals=
|Feature implementation notes=TBD (status page link)
* Ideally, the source mapping file will also work for mapping LESS and similar to CSS. However, implementing the user interface for style source mapping is out of scope for this particular feature.
 
|Feature implementation notes=
TBD (status page link)


* {{bug|669999}} - Add a library for parsing and consuming source map files to Firefox
* {{bug|669999}} - Add a library for parsing and consuming source map files to Firefox
Line 82: Line 76:
** Webkit has [https://bugs.webkit.org/show_bug.cgi?id=30933 another bug] open for this feature.
** 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.
** A new [https://bugs.webkit.org/show_bug.cgi?id=63940 bug with a patch] was opened.
}}
}}
{{FeatureInfo
{{FeatureInfo
Line 92: Line 84:
}}
}}
{{FeatureTeamStatus
{{FeatureTeamStatus
|Feature products status=tbd
|Feature engineering status=tbd
|Feature security status=sec-review-needed
|Feature security status=sec-review-needed
|Feature privacy status=tbd
|Feature localization status=tbd
|Feature accessibility status=tbd
|Feature qa status=tbd
|Feature ux status=tbd
}}
}}
canmove, Confirmed users, Bureaucrats and Sysops emeriti
6,906

edits