| Index: test/data/input/element_ctor_test.html
|
| diff --git a/test/data/input/element_ctor_test.html b/test/data/input/element_ctor_test.html
|
| index fd2fd98947d28142e96822b062b745a7640c1398..1d82b79cf4d5ebf80b3bbb7a602b4d25e2dc8f5c 100644
|
| --- a/test/data/input/element_ctor_test.html
|
| +++ b/test/data/input/element_ctor_test.html
|
| @@ -8,7 +8,6 @@ BSD-style license that can be found in the LICENSE file.
|
| <head>
|
| <meta charset="utf-8">
|
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
| - <title>h4_test</title>
|
| <script type='application/javascript' src="testing.js"></script>
|
| </head>
|
| <body>
|
| @@ -25,20 +24,18 @@ BSD-style license that can be found in the LICENSE file.
|
| <template if="true">
|
| <strong>{{result}}</strong>
|
| </template>
|
| - <h4 id="fail">FAIL - some tests failed</h4>
|
| + <h4>You should see two "PASS" above.</h4>
|
| <script type="application/dart">
|
| import 'dart:html';
|
| import 'package:unittest/unittest.dart';
|
| - import 'package:web_ui/watcher.dart';
|
| + import 'package:web_ui/observe.dart';
|
|
|
| - var result = 'FAIL';
|
| + @observable var result = 'FAIL';
|
|
|
| main() {
|
| window.setTimeout(() {
|
| result = 'PASS';
|
| - dispatch();
|
| - query('#fail').style.display = 'none';
|
| - window.setTimeout(() => window.postMessage('done', '*'), 0);
|
| + window.setImmediate(() => window.postMessage('done', '*'));
|
| }, 0);
|
| }
|
| </script>
|
|
|