Skip to content
Snippets Groups Projects
Commit 46ac1528 authored by henry's avatar henry
Browse files

fixup! Bug 40933: Add tor-launcher functionality

Bug 42489: Drop getLocalizedStringForError from TorLauncherUtil.
parent 23b9aa5b
No related branches found
No related tags found
1 merge request!970Update Lox module
......@@ -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