Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js b/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js |
| index 11174402c239b4f7b9623571a0007949b1f21807..a81df64b8a95c069faac1a4d1923742be4ff0d96 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js |
| @@ -477,5 +477,18 @@ WebInspector.ResourceScriptFile.prototype = { |
| return this._script && !!this._script.sourceMapURL; |
| }, |
| + /** |
| + * @return {boolean} |
| + */ |
| + isBlackboxed: function() |
|
dgozman
2016/02/20 02:50:32
Remove this, use isUISourceCodeBlackboxed.
kozy
2016/02/22 05:12:14
Done.
|
| + { |
| + if (!this._script) |
| + return false; |
| + var location = this._resourceScriptMapping._debuggerModel.createRawLocation(this._script, 0, 0); |
| + if (!location) |
| + return false; |
| + return WebInspector.blackboxManager.isBlackboxedRawLocation(location); |
| + }, |
| + |
| __proto__: WebInspector.Object.prototype |
| } |