mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 07:52:06 -08:00
Keep legacy allowMainWorld behavior
This commit is contained in:
parent
cf269d6b60
commit
5ec48fdbe6
1 changed files with 1 additions and 1 deletions
|
|
@ -546,7 +546,7 @@ class Frame {
|
|||
});
|
||||
// Camoufox: Create a main world for the isolated context
|
||||
if (this.allowMW) {
|
||||
const mainWorld = this._runtime.createMW(this.domWindow(), sandbox);
|
||||
const mainWorld = this._runtime.createMW(this.domWindow(), this.domWindow());
|
||||
world.mainEquivalent = mainWorld;
|
||||
}
|
||||
this._worldNameToContext.set(name, world);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue