summaryrefslogtreecommitdiffstats
path: root/toolkit/components/reputationservice
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
commitdef92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch)
tree2ef34b9ad8bb9a9220e05d60352558b15f513894 /toolkit/components/reputationservice
parentAdding debian version 125.0.3-1. (diff)
downloadfirefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz
firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/reputationservice')
-rw-r--r--toolkit/components/reputationservice/nsIApplicationReputation.idl6
-rw-r--r--toolkit/components/reputationservice/test/unit/test_app_rep.js2
-rw-r--r--toolkit/components/reputationservice/test/unit/test_app_rep_maclinux.js2
-rw-r--r--toolkit/components/reputationservice/test/unit/test_app_rep_windows.js2
4 files changed, 6 insertions, 6 deletions
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");
});