diff options
Diffstat (limited to 'toolkit/components/reputationservice/test')
3 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/components/reputationservice/test/unit/test_app_rep.js b/toolkit/components/reputationservice/test/unit/test_app_rep.js index 9c381a7beb..d28b2100ef 100644 --- a/toolkit/components/reputationservice/test/unit/test_app_rep.js +++ b/toolkit/components/reputationservice/test/unit/test_app_rep.js @@ -115,7 +115,7 @@ add_task(async function test_setup() { gHttpServ = new HttpServer(); gHttpServ.registerDirectory("/", do_get_cwd()); - gHttpServ.registerPathHandler("/download", function (request, response) { + gHttpServ.registerPathHandler("/download", function (request) { if (gExpectedRemote) { let body = NetUtil.readInputStreamToString( request.bodyInputStream, diff --git a/toolkit/components/reputationservice/test/unit/test_app_rep_maclinux.js b/toolkit/components/reputationservice/test/unit/test_app_rep_maclinux.js index a89197e8ec..6274f8f75d 100644 --- a/toolkit/components/reputationservice/test/unit/test_app_rep_maclinux.js +++ b/toolkit/components/reputationservice/test/unit/test_app_rep_maclinux.js @@ -106,7 +106,7 @@ add_task(function test_setup() { return blob; } - gHttpServer.registerPathHandler("/throw", function (request, response) { + gHttpServer.registerPathHandler("/throw", function () { do_throw("We shouldn't be getting here"); }); diff --git a/toolkit/components/reputationservice/test/unit/test_app_rep_windows.js b/toolkit/components/reputationservice/test/unit/test_app_rep_windows.js index 597810859f..7ab164cd2a 100644 --- a/toolkit/components/reputationservice/test/unit/test_app_rep_windows.js +++ b/toolkit/components/reputationservice/test/unit/test_app_rep_windows.js @@ -212,7 +212,7 @@ add_task(async function test_setup() { return blob; } - gHttpServer.registerPathHandler("/throw", function (request, response) { + gHttpServer.registerPathHandler("/throw", function () { do_throw("We shouldn't be getting here"); }); |