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

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

Issue 2376583002: DevTools: remove WI.NetworkMapping.networkURL (Closed)
Patch Set: do not blackbox fs uiSourceCodes Created 4 years, 3 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/CallStackSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
index 50f07d4a7735e025b4b5a04fc9524b88f4e507e6..3b6b525f7e1b1c0a406c92c5cf409a005432ece1 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
@@ -281,6 +281,11 @@ WebInspector.CallStackSidebarPane.prototype = {
*/
appendBlackboxURLContextMenuItems: function(contextMenu, uiSourceCode)
{
+ var binding = WebInspector.persistence.binding(uiSourceCode);
+ if (binding)
+ uiSourceCode = binding.network;
+ if (uiSourceCode.project().type() === WebInspector.projectTypes.FileSystem)
+ return;
var canBlackbox = WebInspector.blackboxManager.canBlackboxUISourceCode(uiSourceCode);
var isBlackboxed = WebInspector.blackboxManager.isBlackboxedUISourceCode(uiSourceCode);
var isContentScript = uiSourceCode.project().type() === WebInspector.projectTypes.ContentScripts;

Powered by Google App Engine
This is Rietveld 408576698