From da4c7e7ed675c3bf405668739c3012d140856109 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:34:42 +0200 Subject: Adding upstream version 126.0. Signed-off-by: Daniel Baumann --- toolkit/components/reputationservice/nsIApplicationReputation.idl | 6 +++--- toolkit/components/reputationservice/test/unit/test_app_rep.js | 2 +- .../components/reputationservice/test/unit/test_app_rep_maclinux.js | 2 +- .../components/reputationservice/test/unit/test_app_rep_windows.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'toolkit/components/reputationservice') diff --git a/toolkit/components/reputationservice/nsIApplicationReputation.idl b/toolkit/components/reputationservice/nsIApplicationReputation.idl index ea7f92038e..50a923ad2d 100644 --- a/toolkit/components/reputationservice/nsIApplicationReputation.idl +++ b/toolkit/components/reputationservice/nsIApplicationReputation.idl @@ -59,7 +59,7 @@ interface nsIApplicationReputationService : nsISupports { * @param aFilename * The filename to check. */ - bool isBinary(in AUTF8String aFilename); + boolean isBinary(in AUTF8String aFilename); /** * Check if a file with this name should be treated as an executable, @@ -70,7 +70,7 @@ interface nsIApplicationReputationService : nsISupports { * @param aFilename * The filename to check. */ - bool isExecutable(in AUTF8String aFilename); + boolean isExecutable(in AUTF8String aFilename); }; /** @@ -141,7 +141,7 @@ interface nsIApplicationReputationCallback : nsISupports { * This may be set to a value different than "VERDICT_SAFE" even if * aShouldBlock is false, so you should always check aShouldBlock. */ - void onComplete(in bool aShouldBlock, + void onComplete(in boolean aShouldBlock, in nsresult aStatus, in unsigned long aVerdict); }; 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"); }); -- cgit v1.2.3