From 509e7e8ebe7827ca7a838c62e5d3c160ca4f4c61 Mon Sep 17 00:00:00 2001 From: Dimi Date: Wed, 31 Jul 2024 22:37:05 +0000 Subject: [PATCH] Bug 1909795 - Send 'FillRelayUsername' message to the child process in 'offerRelayIntegration' message handler a=dmeehan Original Revision: https://phabricator.services.mozilla.com/D217667 Differential Revision: https://phabricator.services.mozilla.com/D217961 --- toolkit/components/passwordmgr/LoginManagerParent.sys.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/toolkit/components/passwordmgr/LoginManagerParent.sys.mjs b/toolkit/components/passwordmgr/LoginManagerParent.sys.mjs index e94e2dc81cd9..d2cfec2ecd33 100644 --- a/toolkit/components/passwordmgr/LoginManagerParent.sys.mjs +++ b/toolkit/components/passwordmgr/LoginManagerParent.sys.mjs @@ -1547,7 +1547,10 @@ export class LoginManagerParent extends JSWindowActorParent { data.telemetry.flowId, data.telemetry.scenarioName ); - this.#offerRelayIntegration(this.origin); + const username = await this.#offerRelayIntegration(this.origin); + if (username) { + this.sendAsyncMessage("PasswordManager:FillRelayUsername", username); + } break; }