Skip to content
Snippets Groups Projects
Commit 61bef670 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in...

fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection

Bug 42336: Rework the relationship between TorSettings and TorProvider.
parent fc0e0e42
No related branches found
No related tags found
1 merge request!941Bug 42449: Rebase Tor Browser alpha onto Firefox 115.9.0esr
......@@ -114,10 +114,9 @@ async function setTorSettings(changes) {
// This will trigger TorSettings.#cleanupSettings()
TorSettings.saveToPrefs();
try {
// May throw.
await TorSettings.applySettings();
} catch (e) {
console.error("Failed to save Tor settings", e);
console.error("Failed to apply Tor settings", e);
}
} finally {
TorSettings.thawNotifications();
......
......@@ -362,6 +362,8 @@ const gConnectionSettingsDialog = {
}
TorSettings.saveToPrefs();
// FIXME: What if this fails? Should we prevent the dialog to close and show
// an error?
TorSettings.applySettings();
},
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment