Verified Commit b64f4aad authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

fixup! TB 40597: Implement TorSettings module

TB 41921: Make the TorSettings properties read-only outside of the
TorSettings modules.

Within TorSettings we make all post initialisation changes in
changeSettings. This means we can simplify the class and move all the
setter logic into one place.
parent 3dd18040
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ class MeekTransport {
        TOR_PT_CLIENT_TRANSPORTS: meekTransport,
      };
      if (lazy.TorSettings.proxy.enabled) {
        envAdditions.TOR_PT_PROXY = lazy.TorSettings.proxy.uri;
        envAdditions.TOR_PT_PROXY = lazy.TorSettings.proxyUri;
      }

      const opts = {
+392 −523

File changed.

Preview size limit exceeded, changes collapsed.