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

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

Issue 2688663003: MD Settings: Fix CrSettingsPeoplePageSyncPageTest.SyncPage test when Vulcanized. (Closed)
Patch Set: Nit. Created 3 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/settings/people_page_sync_page_test.js
diff --git a/chrome/test/data/webui/settings/people_page_sync_page_test.js b/chrome/test/data/webui/settings/people_page_sync_page_test.js
index b8cd5c48b887e581507ddeced25f19dbf6f08b1e..ff1d7843ff7cd60200134e6a7c2e973f167d07d3 100644
--- a/chrome/test/data/webui/settings/people_page_sync_page_test.js
+++ b/chrome/test/data/webui/settings/people_page_sync_page_test.js
@@ -274,6 +274,9 @@ cr.define('settings_people_page_sync_page', function() {
// on a background tab (which has throttled timers) and will timeout.
link.target = '';
link.href = '#';
+ // Prevent the link from triggering a page navigation when tapped.
+ // Breaks the test in Vulcanized mode.
+ link.addEventListener('tap', function(e) { e.preventDefault(); });
MockInteractions.tap(link);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698