summaryrefslogtreecommitdiffstats
path: root/dom/crypto/test/test-array.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/crypto/test/test-array.js')
-rw-r--r--dom/crypto/test/test-array.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/crypto/test/test-array.js b/dom/crypto/test/test-array.js
index 0d7f67433f..357694f9de 100644
--- a/dom/crypto/test/test-array.js
+++ b/dom/crypto/test/test-array.js
@@ -112,7 +112,7 @@ function WorkerTest(worker, name, test) {
// We expect only boolean responses from the worker script.
worker.onmessage = e => this.complete(e.data);
- worker.onerror = e => this.complete(false);
+ worker.onerror = () => this.complete(false);
};
var base = new Test(name, test);