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/9a7b59f74e2bbcd0d0ceee17ea
d05b0da64a2af7" /> | 4 <img src="http://storage.googleapis.com/mojo/sky-pngs/9a7b59f74e2bbcd0d0ceee17ea
d05b0da64a2af7" /> |
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 |