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

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

Issue 2926763005: [MD Bookmarks] Refactor window timer mocking. (Closed)
Patch Set: address comments 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 02cfeacfffc02cefffd7670355b0b0c78cd98e6e..2c71a907403a85e092a2b06111177c0c12fa34ee 100644
--- a/chrome/test/data/webui/md_bookmarks/dnd_manager_test.js
+++ b/chrome/test/data/webui/md_bookmarks/dnd_manager_test.js
@@ -101,7 +101,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