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

Unified Diff: sky/tests/resources/mocha.sky

Issue 804693002: Add fake implementation of Surfaces service for sky tests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
Index: sky/tests/resources/mocha.sky
diff --git a/sky/tests/resources/mocha.sky b/sky/tests/resources/mocha.sky
index 0b4bf6498d30e42283c0de7cab67ff885b2b74d4..33846110dfa97bc4d3e65cc27284c41bba7745b5 100644
--- a/sky/tests/resources/mocha.sky
+++ b/sky/tests/resources/mocha.sky
@@ -2441,9 +2441,9 @@ Mocha.process = process;
mocha.setup();
window.addEventListener('load', function() {
- setTimeout(function() {
+ requestAnimationFrame(function() {
mocha.run();
});
})
-</script>
+</script>
« no previous file with comments | « services/fake_surfaces/fake_surfaces_service_application.cc ('k') | sky/tools/webkitpy/layout_tests/port/base.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698