OLD | NEW |
---|---|
1 <foo> | 1 <foo> |
2 <import src="../resources/run-after-display.sky" as="runAfterDisplay" /> | |
2 This is a reftest. | 3 This is a reftest. |
3 <script> | 4 <script> |
4 window.addEventListener('load', function() { | 5 runAfterDisplay(function() { |
5 // TODO(ojan): requestAnimationFrame once we properly pump frames. | 6 internals.notifyTestComplete(""); |
6 // https://github.com/domokit/mojo/issues/32 | 7 }); |
abarth-chromium
2015/01/06 22:48:09
Should we move this code into a ref-test.sky resou
ojan
2015/01/06 22:54:41
I considered it and it seemed a bit confusing sinc
| |
7 setTimeout(function() { | |
8 internals.notifyTestComplete(""); | |
9 }, 100); | |
10 }) | |
11 </script> | 8 </script> |
12 </foo> | 9 </foo> |
OLD | NEW |