diff --git a/tests/test_worker_module.js b/tests/test_worker_module.js index bad1a6b27..ddf8e4007 100644 --- a/tests/test_worker_module.js +++ b/tests/test_worker_module.js @@ -10,7 +10,7 @@ function handle_msg(e) { switch(ev.type) { case "abort": parent.postMessage({ type: "done" }); - parent.onMessage = null; /* terminate the worker */ + parent.onmessage = null; /* terminate the worker */ break; case "sab": /* modify the SharedArrayBuffer */