Closed Bug 1823925 Opened 1 year ago Closed 1 year ago

The translations language ID has a race condition with construction

Categories

(Firefox :: Translations, defect, P3)

defect

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: gregtatum, Assigned: gregtatum)

References

Details

Attachments

(2 files)

The identify language has a race condition where the identifyLanguage call is not waiting on constructor, which leads to errors on the first detection.

The tests were always outputing language id errors, since it couldn't
start the engine. This makes it so that tests always have a mock of some
kind.

Depends on D173288

Pushed by gtatum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a62d77bfac0b
Fix race condition with language id engine creation; r=nordzilla
https://hg.mozilla.org/integration/autoland/rev/841d7b8b856b
Drive by fix transient about:translations test errors; r=nordzilla
Pushed by gtatum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2d3bd9407130
Fix race condition with language id engine creation; r=nordzilla
https://hg.mozilla.org/integration/autoland/rev/e8e2efcca2e1
Drive by fix transient about:translations test errors; r=nordzilla
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: