Web Inspector: make source urls relative to source map url.
Created attachment 121858 [details] Patch
Comment on attachment 121858 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=121858&action=review > Source/WebCore/inspector/front-end/CompilerSourceMapping.js:273 > + _canonicalizeURL: function(url, baseURL) This is second definition of _canonicalizeURL in this prototype. Please remove the one above. > LayoutTests/http/tests/inspector/resources/source-map.json:4 > +"sourceRoot": "", Why did this line change?
Created attachment 122016 [details] Patch
(In reply to comment #2) > (From update of attachment 121858 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=121858&action=review > > > Source/WebCore/inspector/front-end/CompilerSourceMapping.js:273 > > + _canonicalizeURL: function(url, baseURL) > > This is second definition of _canonicalizeURL in this prototype. Please remove the one above. Done. > > > LayoutTests/http/tests/inspector/resources/source-map.json:4 > > +"sourceRoot": "", > > Why did this line change? Sources are now relative to source map. In this test source map and sources are in the same directory, so sourceRoot could be empty.
Committed r104808: <http://trac.webkit.org/changeset/104808>