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

Unified Diff: test/data/input/todomvc_markdone_test.html

Issue 12225039: Support for observable models, fixes #259 (Closed) Base URL: https://github.com/dart-lang/web-ui.git@master
Patch Set: Created 7 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 | « test/data/input/todomvc_mainpage_test.html ('k') | test/data/input/watch_global_var2_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/data/input/todomvc_markdone_test.html
diff --git a/test/data/input/todomvc_markdone_test.html b/test/data/input/todomvc_markdone_test.html
index b78dbf3d37ebd56de94ba2bf1860d2ca0b274959..8f2799fe3d611a44b9af0015fc58b50167932070 100644
--- a/test/data/input/todomvc_markdone_test.html
+++ b/test/data/input/todomvc_markdone_test.html
@@ -83,7 +83,7 @@ main() {
app.todos.add(new Todo('two (unchecked)'));
app.todos.add(new Todo('three (checked)')..done = true);
app.todos.add(new Todo('four (checked)'));
- dispatch();
+ deliverChangesSync();
// To ensure we click in the correct place, we calculate x, y offset where
// we want to click based on the coordinates given by DumpRenderTree, and
@@ -109,7 +109,7 @@ main() {
// The next extra check is only valid when polyfilling the shadow DOM:
expect(node, same(document.queryAll('input[type=checkbox]')[4]));
- window.setTimeout(() => window.postMessage('done', '*'), 0);
+ window.setImmediate(() => window.postMessage('done', '*'));
}, 0);
}
</script>
« no previous file with comments | « test/data/input/todomvc_mainpage_test.html ('k') | test/data/input/watch_global_var2_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698