Skip to content
Snippets Groups Projects
Commit a325a01b authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

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

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

TB 42300: Fetch tor logs from TorProviderBuilder.
parent 7ad90d5c
No related branches found
No related tags found
1 merge request!1500TB 43415: Rebased onto 134.0a1
......@@ -66,11 +66,6 @@ const gTorLogDialog = {
);
});
// A waiting state should not be needed at this point.
// Also, we probably cannot even arrive here if the provider failed to
// initialize, otherwise we could use a try/catch, and write the exception
// text in the logs, instead.
TorProviderBuilder.build().then(provider => {
Services.obs.addObserver(this, TorProviderTopics.TorLog);
window.addEventListener(
"unload",
......@@ -80,7 +75,7 @@ const gTorLogDialog = {
{ once: true }
);
for (const logEntry of provider.getLog()) {
for (const logEntry of TorProviderBuilder.getLog()) {
this.addLogEntry(logEntry, true);
}
// Set the initial scroll to the bottom.
......@@ -88,7 +83,6 @@ const gTorLogDialog = {
top: this._logTable.scrollTopMax,
behaviour: "instant",
});
});
},
observe(subject, topic) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment