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

Unified Diff: chrome/test/data/webui/settings/route_tests.js

Issue 2248083004: Settings: Fix Clear Browsing Data dialog scrolling to Privacy page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 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: chrome/test/data/webui/settings/route_tests.js
diff --git a/chrome/test/data/webui/settings/route_tests.js b/chrome/test/data/webui/settings/route_tests.js
index c84fbdc764b92eebf009b47dfef2923967e541af..7b6b2dc6a7cd5b38a70562b41b9bcfa6924b6078 100644
--- a/chrome/test/data/webui/settings/route_tests.js
+++ b/chrome/test/data/webui/settings/route_tests.js
@@ -35,6 +35,11 @@ suite('route', function() {
assertEquals('/siteSettings/all', SITE_SETTINGS_ALL.path);
assertEquals(SITE_SETTINGS, SITE_SETTINGS_ALL.parent);
assertTrue(SITE_SETTINGS_ALL.isSubpage());
+
+ // Test a non-subpage child of ADVANCED.
+ var CLEAR_BROWSER_DATA = ADVANCED.createChild('/clearBrowserData');
+ assertFalse(CLEAR_BROWSER_DATA.isSubpage());
+ assertEquals('', CLEAR_BROWSER_DATA.section);
});
test('no duplicate routes', function() {

Powered by Google App Engine
This is Rietveld 408576698