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
This commit is contained in:
Dimi 2024-07-31 22:37:05 +00:00
parent 2010a777ba
commit 509e7e8ebe

View file

@ -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;
}