Chromium Code Reviews| Index: test/data/input/conditional4_test.html |
| diff --git a/test/data/input/conditional4_test.html b/test/data/input/conditional4_test.html |
| index aa9072b6fb9e086e078f988f7638ce60b727040a..7740f9606ceabdff9be7d8f524ea7397226d75ef 100644 |
| --- a/test/data/input/conditional4_test.html |
| +++ b/test/data/input/conditional4_test.html |
| @@ -10,7 +10,6 @@ |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <link rel="components" href="conditional4_component1.html"> |
| <link rel="components" href="conditional4_component2.html"> |
| - <title></title> |
| <script type='application/javascript' src="testing.js"></script> |
| </head> |
| <body> |
| @@ -22,17 +21,17 @@ |
| </template> |
| <script type="application/dart"> |
| import 'dart:html'; |
| - import 'package:web_ui/watcher.dart'; |
| + import 'package:web_ui/observe.dart'; |
| import 'common.dart'; |
| main() { |
| window.setTimeout(() { |
| cond = true; |
| - dispatch(); |
| + deliverChangesSync(); |
|
Siggi Cherem (dart-lang)
2013/02/13 19:28:54
are these needed? with setTimeout (or setImmediate
Jennifer Messerly
2013/02/14 00:38:09
Done.
|
| window.setTimeout(() { |
| cond = false; |
| - dispatch(); |
| + deliverChangesSync(); |
| // in the end, we should see <x-pass> and not <x-error> |
| - window.setTimeout(() => window.postMessage('done', '*'), 0); |
| + window.setImmediate(() => window.postMessage('done', '*')); |
| }, 0); |
| }, 0); |
| } |