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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js

Issue 2137773002: [DevTools] Replace the target type with capabilities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [DevTools] Replace target type with capabilities Created 4 years, 5 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/console/ConsoleView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
index 0d134561edf094872a51bd9f15e6f1421e81614d..18c0a7c8636c899a82e3144d22f5da64caaa360c 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
@@ -266,7 +266,7 @@ WebInspector.ConsoleView.prototype = {
targetAdded: function(target)
{
this._viewport.invalidate();
- if (WebInspector.targetManager.targets().length > 1 && WebInspector.targetManager.mainTarget().isPage())
+ if (WebInspector.targetManager.targets().length > 1 && WebInspector.targetManager.mainTarget().hasBrowserDomains())
dgozman 2016/07/12 00:34:11 This logic is wrong. We should show the checkbox i
eostroukhov-old 2016/07/12 21:46:15 Done.
this._showAllMessagesCheckbox.element.classList.toggle("hidden", false);
},

Powered by Google App Engine
This is Rietveld 408576698