From ddebb0f954b0fea89136e706d23955123da71870 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sun, 26 Nov 2023 12:18:08 +0100 Subject: [PATCH] [Firefox] Don't send the "initPassiveLoading" message synchronously The return value is not, nor has it ever been, used for anything and we should thus be able to just send the message. Note that the responses are already handled by the "message" event listener registered above. --- web/firefoxcom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/firefoxcom.js b/web/firefoxcom.js index 12687a231..ba3790e10 100644 --- a/web/firefoxcom.js +++ b/web/firefoxcom.js @@ -403,7 +403,7 @@ class FirefoxExternalServices extends DefaultExternalServices { break; } }); - FirefoxCom.requestSync("initPassiveLoading", null); + FirefoxCom.request("initPassiveLoading", null); } static reportTelemetry(data) {