summaryrefslogtreecommitdiffstats
path: root/remote/shared/messagehandler/test/browser/resources/modules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /remote/shared/messagehandler/test/browser/resources/modules
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'remote/shared/messagehandler/test/browser/resources/modules')
-rw-r--r--remote/shared/messagehandler/test/browser/resources/modules/windowglobal/retry.sys.mjs8
-rw-r--r--remote/shared/messagehandler/test/browser/resources/modules/windowglobal/windowglobaltoroot.sys.mjs4
2 files changed, 6 insertions, 6 deletions
diff --git a/remote/shared/messagehandler/test/browser/resources/modules/windowglobal/retry.sys.mjs b/remote/shared/messagehandler/test/browser/resources/modules/windowglobal/retry.sys.mjs
index f7b2279018..3022744e7c 100644
--- a/remote/shared/messagehandler/test/browser/resources/modules/windowglobal/retry.sys.mjs
+++ b/remote/shared/messagehandler/test/browser/resources/modules/windowglobal/retry.sys.mjs
@@ -27,7 +27,7 @@ class RetryModule extends Module {
// processes.
const uri = this.messageHandler.window.document.baseURI;
if (!uri.includes("example.net")) {
- await new Promise(r => {});
+ await new Promise(() => {});
}
return { ...params };
@@ -37,7 +37,7 @@ class RetryModule extends Module {
async blockedOneTime(params) {
callsToBlockedOneTime++;
if (callsToBlockedOneTime < 2) {
- await new Promise(r => {});
+ await new Promise(() => {});
}
// Return:
@@ -51,7 +51,7 @@ class RetryModule extends Module {
async blockedTenTimes(params) {
callsToBlockedTenTimes++;
if (callsToBlockedTenTimes < 11) {
- await new Promise(r => {});
+ await new Promise(() => {});
}
// Return:
@@ -65,7 +65,7 @@ class RetryModule extends Module {
async blockedElevenTimes(params) {
callsToBlockedElevenTimes++;
if (callsToBlockedElevenTimes < 12) {
- await new Promise(r => {});
+ await new Promise(() => {});
}
// Return:
diff --git a/remote/shared/messagehandler/test/browser/resources/modules/windowglobal/windowglobaltoroot.sys.mjs b/remote/shared/messagehandler/test/browser/resources/modules/windowglobal/windowglobaltoroot.sys.mjs
index 815a836d9c..1d9238f1bc 100644
--- a/remote/shared/messagehandler/test/browser/resources/modules/windowglobal/windowglobaltoroot.sys.mjs
+++ b/remote/shared/messagehandler/test/browser/resources/modules/windowglobal/windowglobaltoroot.sys.mjs
@@ -17,7 +17,7 @@ class WindowGlobalToRootModule extends Module {
* Commands
*/
- testHandleCommandToRoot(params, destination) {
+ testHandleCommandToRoot() {
return this.messageHandler.handleCommand({
moduleName: "windowglobaltoroot",
commandName: "getValueFromRoot",
@@ -27,7 +27,7 @@ class WindowGlobalToRootModule extends Module {
});
}
- testSendRootCommand(params, destination) {
+ testSendRootCommand() {
return this.messageHandler.sendRootCommand({
moduleName: "windowglobaltoroot",
commandName: "getValueFromRoot",