Commit 26d76725 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! TB 40209: Implement Basic Crypto Safety

Prefer documentGlobal to ownerGlobal, to follow upstream on that.
parent 651a2b6d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ export class CryptoSafetyParent extends JSWindowActorParent {
      const browser = browsingContext.embedderElement;
      if (browser) {
        lazy.TorDomainIsolator.newCircuitForBrowser(
          browser.ownerGlobal.gBrowser.selectedBrowser
          browser.documentGlobal.gBrowser.selectedBrowser
        );
      }
    }