diff options
Diffstat (limited to 'modules/libjar/zipwriter/test')
6 files changed, 6 insertions, 6 deletions
diff --git a/modules/libjar/zipwriter/test/unit/test_asyncadd.js b/modules/libjar/zipwriter/test/unit/test_asyncadd.js index 0259a7953c..9e5004b4b8 100644 --- a/modules/libjar/zipwriter/test/unit/test_asyncadd.js +++ b/modules/libjar/zipwriter/test/unit/test_asyncadd.js @@ -24,7 +24,7 @@ var TESTS = [ var size = 0; var observer = { - onStartRequest(request) {}, + onStartRequest() {}, onStopRequest(request, status) { Assert.equal(status, Cr.NS_OK); diff --git a/modules/libjar/zipwriter/test/unit/test_asyncbadadd.js b/modules/libjar/zipwriter/test/unit/test_asyncbadadd.js index 7d1c4ec610..8bdd592232 100644 --- a/modules/libjar/zipwriter/test/unit/test_asyncbadadd.js +++ b/modules/libjar/zipwriter/test/unit/test_asyncbadadd.js @@ -6,7 +6,7 @@ const FILENAME = "missing.txt"; var observer = { - onStartRequest(request) {}, + onStartRequest() {}, onStopRequest(request, status) { Assert.equal(status, Cr.NS_ERROR_FILE_NOT_FOUND); diff --git a/modules/libjar/zipwriter/test/unit/test_asyncbadremove.js b/modules/libjar/zipwriter/test/unit/test_asyncbadremove.js index 623bc46c59..2d5e9efd96 100644 --- a/modules/libjar/zipwriter/test/unit/test_asyncbadremove.js +++ b/modules/libjar/zipwriter/test/unit/test_asyncbadremove.js @@ -6,7 +6,7 @@ const FILENAME = "missing.txt"; var observer = { - onStartRequest(request) {}, + onStartRequest() {}, onStopRequest(request, status) { Assert.equal(status, Cr.NS_ERROR_FILE_NOT_FOUND); diff --git a/modules/libjar/zipwriter/test/unit/test_asyncremove.js b/modules/libjar/zipwriter/test/unit/test_asyncremove.js index 7342e18e4f..24cf633df9 100644 --- a/modules/libjar/zipwriter/test/unit/test_asyncremove.js +++ b/modules/libjar/zipwriter/test/unit/test_asyncremove.js @@ -6,7 +6,7 @@ var TESTS = ["test.txt", "test.png"]; var observer = { - onStartRequest(request) {}, + onStartRequest() {}, onStopRequest(request, status) { Assert.equal(status, Cr.NS_OK); diff --git a/modules/libjar/zipwriter/test/unit/test_bug399727.js b/modules/libjar/zipwriter/test/unit/test_bug399727.js index 2967f69737..05176b20d6 100644 --- a/modules/libjar/zipwriter/test/unit/test_bug399727.js +++ b/modules/libjar/zipwriter/test/unit/test_bug399727.js @@ -23,7 +23,7 @@ BinaryComparer.prototype = { length: null, callback: null, - onStartRequest(aRequest) {}, + onStartRequest() {}, onStopRequest(aRequest, aStatusCode) { this.fileStream.close(); diff --git a/modules/libjar/zipwriter/test/unit/test_bug717061.js b/modules/libjar/zipwriter/test/unit/test_bug717061.js index cb3faa3aa7..dcc30649be 100644 --- a/modules/libjar/zipwriter/test/unit/test_bug717061.js +++ b/modules/libjar/zipwriter/test/unit/test_bug717061.js @@ -22,7 +22,7 @@ BinaryComparer.prototype = { length: null, callback: null, - onStartRequest(aRequest) {}, + onStartRequest() {}, onStopRequest(aRequest, aStatusCode) { this.fileStream.close(); |