Skip to main content
Sign in
Snippets Groups Projects
Commit fd52ed77 authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

fixup! Bug 40933: Add tor-launcher functionality

Bug 42489: Drop getLocalizedStringForError from TorLauncherUtil.
parent bf046f98
No related branches found
No related tags found
1 merge request!980Bug 42512: Rebased alpha onto Firefox 115.10.0esr
......@@ -429,20 +429,6 @@ export const TorLauncherUtil = Object.freeze({
return aStringName;
},
getLocalizedStringForError(aNSResult) {
for (let prop in Cr) {
if (Cr[prop] === aNSResult) {
const key = "nsresult." + prop;
const rv = this.getLocalizedString(key);
if (rv !== key) {
return rv;
}
return prop; // As a fallback, return the NS_ERROR... name.
}
}
return undefined;
},
getLocalizedBootstrapStatus(aStatusObj, aKeyword) {
if (!aStatusObj || !aKeyword) {
return "";
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment