| OLD | NEW |
| 1 <import src="../resources/run-after-display.sky" /> | 1 <import src="../resources/run-after-display.sky" /> |
| 2 <script> | 2 <script> |
| 3 import 'basic.dart'; | 3 import '../resources/dom_serializer.dart'; |
| 4 import 'dart:sky'; | 4 import 'dart:sky'; |
| 5 import '../resources/dom_serializer.dart'; | |
| 6 import 'dart:sky.internals' as internals; | 5 import 'dart:sky.internals' as internals; |
| 6 import 'resources/basic.dart'; |
| 7 | 7 |
| 8 void main() { | 8 void main() { |
| 9 new TestApp(); | 9 new TestApp(); |
| 10 runAfterDisplay(() { | 10 runAfterDisplay(() { |
| 11 document.firstChild.remove(); | 11 document.firstChild.remove(); |
| 12 document.firstChild.remove(); | 12 document.firstChild.remove(); |
| 13 var result = serializeNode(document); | 13 var result = serializeNode(document); |
| 14 try { | 14 try { |
| 15 internals.notifyTestComplete(result); | 15 internals.notifyTestComplete(result); |
| 16 } catch (e) { | 16 } catch (e) { |
| 17 print(e); | 17 print(e); |
| 18 print(result); | 18 print(result); |
| 19 } | 19 } |
| 20 }); | 20 }); |
| 21 } | 21 } |
| 22 </script> | 22 </script> |
| OLD | NEW |