mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
Bug 1360448 - Only ignore OPTIONS_TYPE_INLINE_BROWSER instead of ignoring all types which aren't OPTIONS_TYPE_INLINE r=mixedpuppy
MozReview-Commit-ID: Ks3Yryy22lL --HG-- extra : rebase_source : 7708bddba429871ca02a894fca4e8f1b452ad12c
This commit is contained in:
parent
85a8b07474
commit
880ae24e61
@ -225,14 +225,10 @@ var Addons = {
|
||||
let updateable = (aAddon.permissions & AddonManager.PERM_CAN_UPGRADE) > 0;
|
||||
let uninstallable = (aAddon.permissions & AddonManager.PERM_CAN_UNINSTALL) > 0;
|
||||
|
||||
let optionsURL;
|
||||
switch (parseInt(aAddon.optionsType)) {
|
||||
case AddonManager.OPTIONS_TYPE_INLINE:
|
||||
optionsURL = aAddon.optionsURL || "";
|
||||
break;
|
||||
default:
|
||||
// Bug 1302504 - Ignore WebExtension options (which are type OPTIONS_TYPE_INLINE_BROWSER)
|
||||
// until options_ui support is added - Bug 1302504.
|
||||
let optionsURL = aAddon.optionsURL || "";
|
||||
|
||||
if (aAddon.optionsType == AddonManager.OPTIONS_TYPE_INLINE_BROWSER) {
|
||||
// Ignore OPTIONS_TYPE_INLINE_BROWSER until support is added in bug 1302504.
|
||||
optionsURL = "";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user