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

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

Issue 758113003: Mocha shouldn't wait for an animation frame (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/resources/mocha.sky
diff --git a/sky/tests/resources/mocha.sky b/sky/tests/resources/mocha.sky
index fe0fae43498992a6ec8b71d5a2ae466d113239b9..0b4bf6498d30e42283c0de7cab67ff885b2b74d4 100644
--- a/sky/tests/resources/mocha.sky
+++ b/sky/tests/resources/mocha.sky
@@ -2441,7 +2441,7 @@ Mocha.process = process;
mocha.setup();
window.addEventListener('load', function() {
- requestAnimationFrame(function() {
+ setTimeout(function() {
mocha.run();
});
})
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698