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

NEW
Unassigned

Status

()

Toolkit
Add-ons Manager
4 years ago
4 years 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.
You need to log in before you can comment on or make changes to this bug.