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

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

Issue 2156413002: Settings Router Refactor: Migrate to settings.Route.navigateTo calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge origin/master 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: chrome/test/data/webui/settings/site_list_tests.js
diff --git a/chrome/test/data/webui/settings/site_list_tests.js b/chrome/test/data/webui/settings/site_list_tests.js
index 8e48d95f14934c86802513753ca3cc8ef1a1beac..510fa67fb6c4bbb0d7d1abfb3e85d009c291c511 100644
--- a/chrome/test/data/webui/settings/site_list_tests.js
+++ b/chrome/test/data/webui/settings/site_list_tests.js
@@ -250,6 +250,8 @@ cr.define('site_list', function() {
// Import necessary html before running suite.
suiteSetup(function() {
CrSettingsPrefs.setInitialized();
+ // Add a no-op stub to catch navigations during the test.
+ settings.navigateTo = function(route) {};
Dan Beam 2016/07/23 00:17:12 i haz a sad :_(
tommycli 2016/07/25 16:47:21 Yeah this is unfortunate. This will be gone when s
return PolymerTest.importHtml(
'chrome://md-settings/site_settings/site_list.html');
});

Powered by Google App Engine
This is Rietveld 408576698