Closed Bug 1784882 Opened 2 years ago Closed 2 years ago

Drop globalKeys.dtd

Categories

(Toolkit :: UI Widgets, task)

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: eemeli, Assigned: eemeli)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

The MozDialog widget /toolkit/content/widgets/dialog.js is one of the few remaining users of DTD strings for localization (from globalKeys.dtd), and should be migrated to Fluent.

Assignee: nobody → earo
Blocks: 1581212
Status: NEW → ASSIGNED

As an interesting note, this will be a bit challenging to fully test, as there is no code path in mozilla-central or its tests that actually uses the strings that will be migrated. The only remaining ones set the key shortcut for simulating a click on the optional help button of a <dialog>, and no such button is currently used in mozilla-central.

The code isn't completely unused, though, as there are a few dialogs in comm-central that do contain a help button.

Thunderbird doesn't use help from dialogs like that.

But, not one single localization changed either of those keys. It could be either dropped or hardcoded.
https://searchfox.org/l10n/search?q=openHelp.commandkey&path=&case=false&regexp=false
https://searchfox.org/l10n/search?q=openHelpMac.commandkey&path=&case=false&regexp=false

The uses in comm-central are all for SeaMonkey:
https://searchfox.org/comm-central/search?q=dlgtype%3D%22help%22

They are not really releasing. Still based on 56.

The <dialog> help button is not used by Firefox or Thunderbird,
and its behaviour is untested.

After removing the button from MozDialog, the only remaining use in
PageInfo is turned into a local class style.

Depends on D154871

Summary: Migrate globalKeys.dtd to Fluent → Drop globalKeys.dtd
Blocks: 1786543
Pushed by earo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34eaa0325a11 Drop MozDialog help button. r=mkmelin,dao https://hg.mozilla.org/integration/autoland/rev/cab76b448c70 Drop global styles for dlgtype="help". r=desktop-theme-reviewers,dao
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
See Also: → 1787393
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: