Race condition in test_AddonRepository.js (XPIProviders.jsm?)

RESOLVED INACTIVE

Status

()

RESOLVED INACTIVE
5 years ago
9 months ago

People

(Reporter: Yoric, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Work on bug 957123 seems to indicate race conditions in or around test_AddonRepository.js. In particular, adding some tick delays in OS.File seems to cause XPIProvider.jsm's stage directory to unpredictably be erased after the end of the test.

I have not succeeded at finding out exactly what was wrong, but I suspect that this is related to the hard-to-follow combinations of nsIFile-based I/O and OS.File-based I/O. It might also be cased by some clients of DeferredSave.

Comment 1

9 months ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Last Resolved: 9 months ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.