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

RESOLVED INVALID

Status

()

RESOLVED INVALID
8 years ago
8 months ago

People

(Reporter: mwu, Assigned: mwu)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

8 years ago
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.

Updated

8 months ago
Status: NEW → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.