Closed Bug 970826 Opened 10 years ago Closed 6 years ago

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

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: Yoric, Unassigned)

References

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.
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
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.