summaryrefslogtreecommitdiffstats
path: root/dom/base/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/test/unit')
-rw-r--r--dom/base/test/unit/test_error_codes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/test/unit/test_error_codes.js b/dom/base/test/unit/test_error_codes.js
index 73c893c512..5c26331d11 100644
--- a/dom/base/test/unit/test_error_codes.js
+++ b/dom/base/test/unit/test_error_codes.js
@@ -10,7 +10,7 @@ function asyncXHR(expectedStatus, nextTestFunc) {
xhr.open("GET", "http://localhost:4444/test_error_code.xml", true);
var sawError = false;
- xhr.addEventListener("loadend", function doAsyncRequest_onLoad(event) {
+ xhr.addEventListener("loadend", function doAsyncRequest_onLoad() {
Assert.ok(sawError, "Should have received an error");
nextTestFunc();
});