Skip to content

Commit 0f23439

Browse files
committed
fix: add world: MAIN to Firefox page script registration
1 parent 4774eef commit 0f23439

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apps/browser/src/autofill/fido2/background/fido2.background.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ describe("Fido2Background", () => {
203203
{ file: Fido2ContentScript.PageScriptDelayAppend },
204204
{ file: Fido2ContentScript.ContentScript },
205205
],
206+
world: "MAIN",
206207
...sharedRegistrationOptions,
207208
});
208209
});

apps/browser/src/autofill/fido2/background/fido2.background.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ export class Fido2Background implements Fido2BackgroundInterface {
176176
{ file: await this.getFido2PageScriptAppendFileName() },
177177
{ file: Fido2ContentScript.ContentScript },
178178
],
179+
world: "MAIN",
179180
...this.sharedRegistrationOptions,
180181
});
181182
}

0 commit comments

Comments
 (0)