Closed Bug 595392 Opened 15 years ago Closed 7 years ago

Add tests to ensure consistent behavior when both packed and unpacked extensions of the same ID are installed

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mwu, Assigned: mwu)

References

Details

From comment 101 in bug 533038: The code as-is does the following: If both xpi and unpackaged directory exist in the staging directory then both will get installed into the install location. The ordering of directoryEntries determines which ends up installed. Presumably directoryEntries gives us a fixed ordering (maybe based on filesystem type?) but I think we should add a test to this to ensure it matches across platforms. The same is basically true of the install location itself. _readAddons doesn't do any checking to see if both types were found so whichever is seen last wins. Another test should be added.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.