mirror of
https://github.com/bitwarden/browser
synced 2026-02-18 02:19:18 +00:00
Have sendExtensionMessage call be non-blocking
This commit is contained in:
@@ -917,11 +917,13 @@ export class AutofillOverlayContentService implements AutofillOverlayContentServ
|
||||
return;
|
||||
}
|
||||
|
||||
// Collect page details in the background without blocking autofill overlay
|
||||
if (this.pageDetailsUpdateRequired) {
|
||||
await this.sendExtensionMessage("bgCollectPageDetails", {
|
||||
void this.sendExtensionMessage("bgCollectPageDetails", {
|
||||
sender: "autofillOverlayContentService",
|
||||
}).then(() => {
|
||||
this.pageDetailsUpdateRequired = false;
|
||||
});
|
||||
this.pageDetailsUpdateRequired = false;
|
||||
}
|
||||
|
||||
if (elementIsSelectElement(formFieldElement)) {
|
||||
|
||||
Reference in New Issue
Block a user