Web Inspector: implement reverse mapping for compiler source maps.
https://bugs.webkit.org/show_bug.cgi?id=67850
Source/WebCore:
Implement the mapping from source code to compiled code. It will be used for
setting breakpoints on source code.
Reviewed by Pavel Feldman.
* inspector/front-end/CompilerSourceMapping.js:
(WebInspector.ClosureCompilerSourceMapping):
(WebInspector.ClosureCompilerSourceMapping.prototype.compiledLocationToSourceLocation):
(WebInspector.ClosureCompilerSourceMapping.prototype.sourceLocationToCompiledLocation):
(WebInspector.ClosureCompilerSourceMapping.prototype._parseMappings):
LayoutTests:
Reviewed by Pavel Feldman.
* inspector/debugger/compiler-source-mapping.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95524
268f45cc-cd09-0410-ab3c-
d52691b4dbfc