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

Unified Diff: chrome/test/data/webui/md_history/history_grouped_list_test.js

Issue 2341923005: MD WebUI: Make cr-lazy-render get() synchronous (Closed)
Patch Set: Rebase Created 4 years, 3 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_history/history_grouped_list_test.js
diff --git a/chrome/test/data/webui/md_history/history_grouped_list_test.js b/chrome/test/data/webui/md_history/history_grouped_list_test.js
index 95e1471dcd3322d814a13723f4d0a6b0a2440191..8eb7b9285137bc8fbf4c22213127b97b9fb88e4a 100644
--- a/chrome/test/data/webui/md_history/history_grouped_list_test.js
+++ b/chrome/test/data/webui/md_history/history_grouped_list_test.js
@@ -240,8 +240,8 @@ cr.define('md_history.history_grouped_list_test', function() {
return flush();
}).then(function() {
MockInteractions.tap(app.$.toolbar.$$('#delete-button'));
- return listContainer.$.dialog.get();
- }).then(function(dialog) {
+ var dialog = listContainer.$.dialog.get();
+
registerMessageCallback('removeVisits', this, function() {
flush().then(function() {
deleteComplete();
« no previous file with comments | « chrome/test/data/webui/cr_elements/cr_lazy_render_tests.js ('k') | chrome/test/data/webui/md_history/history_list_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698