Bug 941752: Fix misspelled attribute name and undefined property warning; r=Mossop

This commit is contained in:
Irving Reid 2013-11-21 14:07:06 -05:00
parent ae0e640603
commit 00413b7e36

View File

@ -3308,7 +3308,7 @@ var XPIProvider = {
locMigrateData = XPIDatabase.migrateData[installLocation.name];
for (let id in addonStates) {
changed = addMetadata(installLocation, id, addonStates[id],
locMigrateData[id]) || changed;
locMigrateData[id] || null) || changed;
}
}
@ -6923,7 +6923,7 @@ DirectoryInstallLocation.prototype = {
recursiveRemove(file);
}
if (this.stagingDirLock > 0)
if (this._stagingDirLock > 0)
return;
let dirEntries = dir.directoryEntries.QueryInterface(Ci.nsIDirectoryEnumerator);