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

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: fix chromeos tests 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) {};
michaelpg 2016/07/20 19:48:23 same
tommycli 2016/07/20 20:33:30 Acknowledged.
return PolymerTest.importHtml(
'chrome://md-settings/site_settings/site_list.html');
});

Powered by Google App Engine
This is Rietveld 408576698