[Centaury] Clean up addon-signing build leftovers.
parent
03279b57dd
commit
f333464fb9
|
@ -1041,12 +1041,7 @@ BrowserGlue.prototype = {
|
|||
});
|
||||
}
|
||||
|
||||
let signingRequired;
|
||||
if (AppConstants.MOZ_REQUIRE_SIGNING) {
|
||||
signingRequired = true;
|
||||
} else {
|
||||
signingRequired = Services.prefs.getBoolPref("xpinstall.signatures.required");
|
||||
}
|
||||
let signingRequired = Services.prefs.getBoolPref("xpinstall.signatures.required");
|
||||
|
||||
if (signingRequired) {
|
||||
let disabledAddons = AddonManager.getStartupChanges(AddonManager.STARTUP_CHANGE_DISABLED);
|
||||
|
|
|
@ -53,7 +53,3 @@ if test "$OS_ARCH" = "WINNT" -o \
|
|||
"$OS_ARCH" = "Darwin"; then
|
||||
MOZ_CAN_DRAW_IN_TITLEBAR=1
|
||||
fi
|
||||
|
||||
# Disable checking that add-ons are signed by the trusted root
|
||||
MOZ_ADDON_SIGNING=0
|
||||
MOZ_REQUIRE_SIGNING=0
|
||||
|
|
|
@ -2674,24 +2674,6 @@ var gListView = {
|
|||
}
|
||||
}, false);
|
||||
|
||||
document.getElementById("signing-learn-more").setAttribute("href",
|
||||
Services.urlFormatter.formatURLPref("app.support.baseURL") + "unsigned-addons");
|
||||
|
||||
let findSignedAddonsLink = document.getElementById("find-alternative-addons");
|
||||
try {
|
||||
findSignedAddonsLink.setAttribute("href",
|
||||
Services.urlFormatter.formatURLPref("extensions.getAddons.link.url"));
|
||||
} catch (e) {
|
||||
findSignedAddonsLink.classList.remove("text-link");
|
||||
}
|
||||
|
||||
try {
|
||||
document.getElementById("signing-dev-manual-link").setAttribute("href",
|
||||
Services.prefs.getCharPref("xpinstall.signatures.devInfoURL"));
|
||||
} catch (e) {
|
||||
document.getElementById("signing-dev-info").hidden = true;
|
||||
}
|
||||
|
||||
// To-Do: remove deprecation notice content.
|
||||
document.getElementById("plugindeprecation-notice").hidden = true;
|
||||
},
|
||||
|
|
|
@ -342,17 +342,6 @@
|
|||
|
||||
<!-- list view -->
|
||||
<vbox id="list-view" flex="1" class="view-pane" align="stretch" tabindex="0">
|
||||
<!-- info UI for add-ons that have been disabled for being unsigned -->
|
||||
<vbox id="disabled-unsigned-addons-info" hidden="true">
|
||||
<label id="disabled-unsigned-addons-heading" value="&disabledUnsigned.heading;"/>
|
||||
<description>
|
||||
&disabledUnsigned.description.start;<label class="text-link plain" id="find-alternative-addons">&disabledUnsigned.description.findAddonsLink;</label>&disabledUnsigned.description.end;
|
||||
</description>
|
||||
<hbox pack="start"><label class="text-link" id="signing-learn-more">&disabledUnsigned.learnMore;</label></hbox>
|
||||
<description id="signing-dev-info">
|
||||
&disabledUnsigned.devInfo.start;<label class="text-link plain" id="signing-dev-manual-link">&disabledUnsigned.devInfo.linkToManual;</label>&disabledUnsigned.devInfo.end;
|
||||
</description>
|
||||
</vbox>
|
||||
<vbox id="plugindeprecation-notice" class="alert-container">
|
||||
<hbox class="alert">
|
||||
<description>&pluginDeprecation.description;  
|
||||
|
|
Loading…
Reference in New Issue