Closed Bug 1892546 Opened 15 days ago Closed 12 days ago

Add chaos mode to Translations language initialization

Categories

(Firefox :: Translations, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Description

Bug 1892541 intends to fix an issue in which the FullPageTranslationsPanel error message was not properly being displayed when language initialization fails.

Our current locations where the Translations chaosMode() functionality is invoked do not trigger this error.

We should add a call to chaosMode() that can trigger this error.


Steps to implement

  • Add a call to chaosMode() that would cause language initialization to fail.

Tests to implement

  • This does not change behavior. Existing coverage is sufficient.

Adds the ability for the browser.translations.chaos pref
to cause failures in language initialization for both the
FullPageTranslationsPanel and the SelectTranslationsPanel

Depends on D208054

Attachment #9397691 - Attachment description: WIP: Bug 1892546 - Add chaos mode to Translations language initialization → Bug 1892546 - Add chaos mode to Translations language initialization r=#translations-reviewers!
Pushed by enordin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9d21e67195e9
Add chaos mode to Translations language initialization r=translations-reviewers,gregtatum
Status: NEW → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: