summaryrefslogtreecommitdiffstats
path: root/dom/xhr/tests/test_bug1752863_worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xhr/tests/test_bug1752863_worker.js')
-rw-r--r--dom/xhr/tests/test_bug1752863_worker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/xhr/tests/test_bug1752863_worker.js b/dom/xhr/tests/test_bug1752863_worker.js
index 196b825c0c..929b005939 100644
--- a/dom/xhr/tests/test_bug1752863_worker.js
+++ b/dom/xhr/tests/test_bug1752863_worker.js
@@ -24,7 +24,7 @@ async function handleLoadstart() {
}
}
-self.onmessage = async function (ev) {
+self.onmessage = async function () {
xhr = new XMLHttpRequest({ mozAnon: false });
myself = self;
xhr.addEventListener("loadstart", handleLoadstart, true);