mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
Bug 341450 - Incorrect calls to getItemProperty in checkForMismatches. r=bsmedberg, approval-branch-1.8.1=bsmedberg
This commit is contained in:
parent
f4082e4b04
commit
d838ae04b5
@ -3698,10 +3698,10 @@ ExtensionManager.prototype = {
|
||||
// appDisabled is determined by an item being compatible,
|
||||
// satisfying its dependencies, and not being blocklisted
|
||||
if (this._isUsableItem(id)) {
|
||||
if (ds.getItemProperty(id, EM_R("appDisabled")))
|
||||
if (ds.getItemProperty(id, "appDisabled"))
|
||||
ds.setItemProperty(id, EM_R("appDisabled"), null);
|
||||
}
|
||||
else if (!ds.getItemProperty(id, EM_R("appDisabled")))
|
||||
else if (!ds.getItemProperty(id, "appDisabled"))
|
||||
ds.setItemProperty(id, EM_R("appDisabled"), EM_L("true"));
|
||||
}
|
||||
// Update the manifests to reflect the items that were disabled / enabled.
|
||||
|
Loading…
Reference in New Issue
Block a user