aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-05 17:43:45 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-05 17:43:45 -0700
commite24c088f2dfd3f08be4ea808a188b2f653d8617b (patch)
tree47d2cece87b76d9b67ee167625018fc40846f76d
parent42a757e16ba255ffb671959352d7fc2c46a7d974 (diff)
make test_glgears_animation more robust
-rw-r--r--tests/hello_world_gles_shell.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hello_world_gles_shell.html b/tests/hello_world_gles_shell.html
index 343ddb64..4abee90c 100644
--- a/tests/hello_world_gles_shell.html
+++ b/tests/hello_world_gles_shell.html
@@ -46,7 +46,7 @@
reportResult(firstImage != secondImage);
}, 0);
}
- addEventListener("load", doTest, false);
+ Module.postRun = doTest;
// The compiled code
{{{ SCRIPT_CODE }}}