Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js

Issue 1641893002: DevTools: [SASS] introduce workspace/cssModel adapter for SASS processor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove settimeout from test Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sdk/CSSStyleModel.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js b/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
index 6c4fae370782e97e5f7a552829f5a53fc057ec11..71b7fc56840279e4e786884b493486f547c40827 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
@@ -114,7 +114,7 @@ WebInspector.SourceMap.load = function(sourceMapURL, compiledURL, callback)
var baseURL = sourceMapURL.startsWith("data:") ? compiledURL : sourceMapURL;
callback(new WebInspector.SourceMap(compiledURL, baseURL, payload));
} catch(e) {
- console.error(e.message);
+ console.error(e);
WebInspector.console.error("Failed to parse SourceMap: " + sourceMapURL);
callback(null);
}
@@ -125,6 +125,14 @@ WebInspector.SourceMap.prototype = {
/**
* @return {string}
*/
+ compiledURL: function()
+ {
+ return this._compiledURL;
+ },
+
+ /**
+ * @return {string}
+ */
url: function()
{
return this._sourceMappingURL;
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sdk/CSSStyleModel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698