| Index: third_party/WebKit/Source/devtools/front_end/bindings/BlackboxSupport.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxSupport.js b/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxSupport.js
|
| index 0d0c0cf1ae341e15e69ba290c671dd8bce239617..ac24b1a74695500e034ac39049d76a26d92f886a 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxSupport.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxSupport.js
|
| @@ -120,6 +120,21 @@ WebInspector.BlackboxSupport.isBlackboxed = function(url, isContentScript)
|
| }
|
|
|
| /**
|
| + * @param {!WebInspector.DebuggerModel.Location} rawLocation
|
| + * @return {boolean}
|
| + */
|
| +WebInspector.BlackboxSupport.isBlackboxedScriptLocation = function(rawLocation)
|
| +{
|
| + var script = rawLocation.script();
|
| +
|
| + if (WebInspector.BlackboxSupport.isBlackboxed(script.sourceURL, script.isContentScript()))
|
| + return true;
|
| +
|
| + var scriptUISourceCode = WebInspector.debuggerWorkspaceBinding.rawLocationToUILocation(rawLocation).uiSourceCode;
|
| + return WebInspector.BlackboxSupport.isBlackboxedURL(scriptUISourceCode.url());
|
| +}
|
| +
|
| +/**
|
| * @param {function(!WebInspector.Event)} listener
|
| * @param {!Object=} thisObject
|
| */
|
|
|