mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 291792 "undefined" folder created because installDroppedInFiles doesn't check for return value of getIDForLocation
patch by rob_strong@exchangecode.com r=bsmedberg a=bsmedberg
This commit is contained in:
parent
02d3dbfd60
commit
74936419a6
@ -2609,10 +2609,10 @@ ExtensionManager.prototype = {
|
||||
installRDF.append(FILE_INSTALL_MANIFEST);
|
||||
|
||||
var id = location.getIDForLocation(entry);
|
||||
if (!installRDF.exists() &&
|
||||
!location.itemIsManagedIndependently(id))
|
||||
if (!id || (!installRDF.exists() &&
|
||||
!location.itemIsManagedIndependently(id)))
|
||||
continue;
|
||||
|
||||
|
||||
actualItems[id] = entry;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user