Verified Commit 44b0ceba authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! Bug 3455: Add DomainIsolator, for isolating circuit by domain.

Bug 42031: Fixed some requests failing because of a type error

Some requests (e.g., uBlock Origin filter updates) failed because they
the TorDomainIsolator tried to access the browser from their channels.
parent 80c57ed8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -453,7 +453,7 @@ class TorDomainIsolatorImpl {
   */
  #getBrowserForChannel(channel) {
    const browsers =
      channel.loadInfo.browsingContext?.topChromeWindow?.gBrowser.browsers;
      channel.loadInfo.browsingContext?.topChromeWindow?.gBrowser?.browsers;
    if (!browsers || !channel.loadInfo.browsingContext?.browserId) {
      return null;
    }