aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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 }}}