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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js

Issue 1663723002: [DevTools] Add sourceMap support for blackboxing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@call-set-blackboxed-ranges-on-script-parsed
Patch Set: Created 4 years, 10 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
Index: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
index 355d5baa239c838430b3db8648545d960b9b2640..4841b8bd2552e87c53e75ba3fa6bc9ab2cdc627d 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js
@@ -150,7 +150,7 @@ WebInspector.JavaScriptSourceFrame.prototype = {
var networkURL = WebInspector.networkMapping.networkURL(this.uiSourceCode());
var url = projectType === WebInspector.projectTypes.Formatter ? this.uiSourceCode().url() : networkURL;
var isContentScript = projectType === WebInspector.projectTypes.ContentScripts;
- if (!WebInspector.BlackboxSupport.isBlackboxed(url, isContentScript)) {
+ if (!WebInspector.blackboxManager.isBlackboxedUISourceCode(this.uiSourceCode())) {
this._hideBlackboxInfobar();
return;
}
@@ -172,7 +172,7 @@ WebInspector.JavaScriptSourceFrame.prototype = {
function unblackbox()
{
- WebInspector.BlackboxSupport.unblackbox(url, isContentScript);
+ WebInspector.blackboxManager.unblackbox(url, isContentScript);
}
this._updateInfobars();

Powered by Google App Engine
This is Rietveld 408576698