| 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;
|
|
|