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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js

Issue 1563113002: DevTools: add a navigator menu with grouping options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
index 05135f54da0874285bf6e0d8f02b7197dae19eb0..d0db2418ad688e44b04cb4a7b35c86732c5eb5d7 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
@@ -442,7 +442,12 @@ InspectorTest.dumpNavigatorViewInAllModes = function(view)
InspectorTest.dumpNavigatorViewInMode = function(view, mode)
{
InspectorTest.addResult(view instanceof WebInspector.SourcesNavigatorView ? "Sources:" : "Content Scripts:");
- WebInspector.moduleSetting("navigatorGrouping").set(mode);
+ if (WebInspector.moduleSetting("navigatorGroupByFrame").get() !== mode.includes("frame"))
+ WebInspector.moduleSetting("navigatorGroupByFrame").set(mode.includes("frame"));
+ if (WebInspector.moduleSetting("navigatorGroupByDomain") !== mode.includes("domain"))
+ WebInspector.moduleSetting("navigatorGroupByDomain").set(mode.includes("domain"));
+ if (WebInspector.moduleSetting("navigatorGroupByFolder") !== mode.includes("folder"))
+ WebInspector.moduleSetting("navigatorGroupByFolder").set(mode.includes("folder"));
InspectorTest.addResult("-------- Setting mode: [" + mode + "]");
InspectorTest.dumpNavigatorView(view);
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-sorting.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698