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'); |
}); |