Closed Bug 1893060 Opened 7 months ago Closed 7 months ago

Add ability to force reopen SelectTranslationsPanel

Categories

(Firefox :: Translations, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

Details

Attachments

(1 file)

Description

Ideally, there are no scenarios in which the SelectTranslationsPanel should be forced to reopen, but we should have that capability just in case.

At present, I cannot think of any legitimate ways to get the panel into an invalid state, but I have done it with Disable Popup Autohide enabled.

It's nice to have a function to force the panel to re-open, and warn if it ever gets used in practice (which it shouldn't).


Steps to implement

  • Add a force reopen method.
  • Call the method if the panel is opened from an invalid state.

Tests to implement

  • This isn't testable in automation because ideally this should never happen with normal usage.

Adds the ability toforce the SelectTranslationsPanel
to reopen if it finds itself in an invalid state.

Depends on D208396

Pushed by enordin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d09f151f97eb Add capability to force reopen SelectTranslationsPanel r=translations-reviewers,gregtatum
Status: NEW → RESOLVED
Closed: 7 months 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: