OLD | NEW |
1 <foo> | 1 <foo> |
2 <import src="../resources/run-after-display.sky" as="runAfterDisplay" /> | 2 <import src="../resources/run-after-display.sky" /> |
3 | 3 |
4 <img src="http://storage.googleapis.com/mojo/sky-pngs/ed3514fd579dbaa8c18594cf99
f3b60bf4b6ee75" /> | 4 <img src="http://storage.googleapis.com/mojo/sky-pngs/ed3514fd579dbaa8c18594cf99
f3b60bf4b6ee75" /> |
5 | 5 |
6 <script> | 6 <script> |
7 window.addEventListener('load', function() { | 7 import "dart:sky"; |
8 runAfterDisplay(function() { | 8 import "dart:sky.internals" as internals; |
9 internals.notifyTestComplete(""); | 9 |
| 10 void main() { |
| 11 window.addEventListener('load', (_) { |
| 12 runAfterDisplay(() { |
| 13 internals.notifyTestComplete(""); |
| 14 }); |
10 }); | 15 }); |
11 }); | 16 } |
12 </script> | 17 </script> |
13 </foo> | 18 </foo> |
OLD | NEW |