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

Side by Side Diff: sky/tests/resources/run-after-display.sky

Issue 826343003: Minor improvements to reftests. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Move the check to TestRunner::OnTestComplete so we only assert if we're actually running a pixel/re… 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
(Empty)
1 <script>
2 module.exports = function(callback) {
3 window.requestAnimationFrame(function() {
4 // At this point, only the animate has happened, but no compositing
5 // or layout. Use a timeout for the callback so that notifyDone
6 // can be called inside of it.
7 // FIXME: we need a better way of waiting for chromium events to happen
8 window.setTimeout(callback);
9 });
10 };
11 </script>
OLDNEW
« no previous file with comments | « sky/tests/harness/reftest-mismatch-expected-mismatch.sky ('k') | sky/tools/tester/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698