Skip to content

Commit 6e2e68f

Browse files
akosthekisschqrlie
authored andcommitted
Fix termination in Worker test
Function names are case sensitive, `onMessage` is not the same as `onmessage`. Related to #98
1 parent 012451d commit 6e2e68f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_worker_module.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function handle_msg(e) {
1010
switch(ev.type) {
1111
case "abort":
1212
parent.postMessage({ type: "done" });
13-
parent.onMessage = null; /* terminate the worker */
13+
parent.onmessage = null; /* terminate the worker */
1414
break;
1515
case "sab":
1616
/* modify the SharedArrayBuffer */

0 commit comments

Comments
 (0)