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

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

Issue 444923002: DevTools: Blackboxing out of experiments. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 4 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: Source/devtools/front_end/sources/CallStackSidebarPane.js
diff --git a/Source/devtools/front_end/sources/CallStackSidebarPane.js b/Source/devtools/front_end/sources/CallStackSidebarPane.js
index 73ffdf6587a8eefb7eb9215d4a9f0deb4181097f..717277dd5c322688b830e8a74c1a52dfaa57d704 100644
--- a/Source/devtools/front_end/sources/CallStackSidebarPane.js
+++ b/Source/devtools/front_end/sources/CallStackSidebarPane.js
@@ -114,7 +114,7 @@ WebInspector.CallStackSidebarPane.prototype = {
this.placards.push(placard);
this.bodyElement.appendChild(placard.element);
- if (callFrame.script.isFramework()) {
+ if (WebInspector.BlackboxSupport.isBlackboxedURL(callFrame.script.sourceURL)) {
placard.setHidden(true);
placard.element.classList.add("dimmed");
++this._hiddenPlacards;
@@ -186,8 +186,6 @@ WebInspector.CallStackSidebarPane.prototype = {
*/
appendBlackboxURLContextMenuItems: function(contextMenu, url)
{
- if (!WebInspector.experimentsSettings.frameworksDebuggingSupport.isEnabled())
- return;
if (!url)
return;
var blackboxed = WebInspector.BlackboxSupport.isBlackboxedURL(url);
« no previous file with comments | « Source/devtools/front_end/settings/module.json ('k') | Source/devtools/front_end/sources/JavaScriptSourceFrame.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698