Bug 617909 - Broken instanceof check in XPIProvider.jsm. r+a=dtownsend

This commit is contained in:
Dão Gottwald 2010-12-10 21:26:46 +01:00
parent a610cefa97
commit bb11a138b2

View File

@ -6689,7 +6689,7 @@ DirectoryInstallLocation.prototype = {
let entry;
while (entry = entries.nextFile) {
// Should never happen really
if (!entry instanceof Ci.nsILocalFile)
if (!(entry instanceof Ci.nsILocalFile))
continue;
let id = entry.leafName;