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

Unified Diff: chrome/test/data/webui/md_bookmarks/dnd_manager_test.js

Issue 2926763005: [MD Bookmarks] Refactor window timer mocking. (Closed)
Patch Set: Created 3 years, 6 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/md_bookmarks/dnd_manager_test.js
diff --git a/chrome/test/data/webui/md_bookmarks/dnd_manager_test.js b/chrome/test/data/webui/md_bookmarks/dnd_manager_test.js
index 1cc323b438e4ccd00a65916e81b1ee43b397c674..19f93e8e796fe03dfb127187d92a263b492fd54a 100644
--- a/chrome/test/data/webui/md_bookmarks/dnd_manager_test.js
+++ b/chrome/test/data/webui/md_bookmarks/dnd_manager_test.js
@@ -100,7 +100,7 @@ suite('drag and drop', function() {
list = app.$$('bookmarks-list');
rootFolderNode = app.$$('bookmarks-folder-node');
dndManager = app.dndManager_;
- dndManager.disableTimeoutsForTesting();
+ dndManager.setTimerProxyForTesting(new bookmarks.TestTimerProxy());
Polymer.dom.flush();
});

Powered by Google App Engine
This is Rietveld 408576698