summaryrefslogtreecommitdiffstats
path: root/modules/libjar/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'modules/libjar/test/unit')
-rw-r--r--modules/libjar/test/unit/test_empty_jar_telemetry.js4
-rw-r--r--modules/libjar/test/unit/test_jarchannel.js6
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/libjar/test/unit/test_empty_jar_telemetry.js b/modules/libjar/test/unit/test_empty_jar_telemetry.js
index 895e88ff65..45bf83a113 100644
--- a/modules/libjar/test/unit/test_empty_jar_telemetry.js
+++ b/modules/libjar/test/unit/test_empty_jar_telemetry.js
@@ -67,7 +67,7 @@ Listener.prototype = {
do_throw(ex);
}
},
- onStartRequest(request) {
+ onStartRequest() {
this.gotStartRequest = true;
},
onStopRequest(request, status) {
@@ -98,7 +98,7 @@ add_task(async function test_empty_jar_file_async() {
await new Promise(resolve => {
chan.asyncOpen(
- new Listener(function (l) {
+ new Listener(function () {
Assert.ok(chan.contentLength == 0);
resolve();
})
diff --git a/modules/libjar/test/unit/test_jarchannel.js b/modules/libjar/test/unit/test_jarchannel.js
index 9d3a571b63..239ea15d7e 100644
--- a/modules/libjar/test/unit/test_jarchannel.js
+++ b/modules/libjar/test/unit/test_jarchannel.js
@@ -45,7 +45,7 @@ Listener.prototype = {
do_throw(ex);
}
},
- onStartRequest(request) {
+ onStartRequest() {
this.gotStartRequest = true;
},
onStopRequest(request, status) {
@@ -130,7 +130,7 @@ add_test(function testSyncNested() {
/**
* Basic reading test for asynchronously opened, nested jar channels
*/
-add_test(function testAsyncNested(next) {
+add_test(function testAsyncNested() {
var uri = "jar:" + jarBase + "/inner40.zip!/foo";
var chan = NetUtil.newChannel({ uri, loadUsingSystemPrincipal: true });
chan.asyncOpen(
@@ -184,7 +184,7 @@ add_test(function testAsyncCloseUnlocks() {
var chan = NetUtil.newChannel({ uri, loadUsingSystemPrincipal: true });
chan.asyncOpen(
- new Listener(function (l) {
+ new Listener(function () {
Assert.ok(chan.contentLength > 0);
// Drop any jar caches