summaryrefslogtreecommitdiffstats
path: root/dom/xhr/tests/terminateSyncXHR_worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xhr/tests/terminateSyncXHR_worker.js')
-rw-r--r--dom/xhr/tests/terminateSyncXHR_worker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/xhr/tests/terminateSyncXHR_worker.js b/dom/xhr/tests/terminateSyncXHR_worker.js
index 7a2509af3d..29a5a8a369 100644
--- a/dom/xhr/tests/terminateSyncXHR_worker.js
+++ b/dom/xhr/tests/terminateSyncXHR_worker.js
@@ -3,7 +3,7 @@
* http://creativecommons.org/publicdomain/zero/1.0/
*/
-onmessage = function (event) {
+onmessage = function () {
throw new Error("No messages should reach me!");
};