diff options
Diffstat (limited to 'remote/shared/messagehandler/test/browser/resources')
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", |