Closed Bug 1665131 Opened 5 years ago Closed 5 years ago

Search Settings may attempt to be written whilst the search service is still initialising

Categories

(Firefox :: Search, defect, P2)

defect
Points:
2

Tracking

()

RESOLVED FIXED
82 Branch
Iteration:
82.2 - Sep 7 - Sep 20
Tracking Status
firefox-esr78 --- unaffected
firefox81 --- unaffected
firefox82 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

I noticed this whilst checking tests for errors - the changes added in bug 1642995 to set the new search order, may cause us to attempt to write the initialisation file before the service has initialised.

As a result, the search data may be incomplete.

Really, the settings should just prevent trying to save whilst initialisation or reloading engines is in progress.

Note: I suspect this is less likely to happen in the real world. The tests shorten the delayed write time and so would hit it more frequently, the normal timeout is around a second, and in a lot of cases (not all) the search service has finished initialising by then.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a687e03dcc9d Ensure search settings are not attempted to be written during initialisation or reloading engines. r=daleharvey
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: