Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(954)

Side by Side Diff: sky/tests/harness/reftest.sky

Issue 826343003: Minor improvements to reftests. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698