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 }); |
7 setTimeout(function() { | |
8 internals.notifyTestComplete(""); | |
9 }, 100); | |
10 }) | |
11 </script> | 8 </script> |
12 </foo> | 9 </foo> |
OLD | NEW |