Closed Bug 1659625 Opened 5 years ago Closed 5 years ago

Expose DOMLocalization interface to UA widgets

Categories

(Core :: Internationalization, task)

task

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

Details

Attachments

(1 file)

UA widgets such as videocontrols currently use DTD localisation. However, we're no longer allowed to add new DTD strings. So, any new strings need to use Fluent. That's currently not possible because DOMLocalization is a chrome only interface, whereas UA widgets run in a content document with an extended principal JavaScript sandbox. We need to expose the DOMLocalization interface (and by extension, Localization) to UA widgets.

This is needed in order for UA widgets to use Fluent.

Thanks for taking it! I assume this will fix bug 1504363, right?

I'm ok with the change, but looping in :smaug for DOM approval.

Oh blerg. Sorry, I'm completely unfamiliar with this area, so didn't find the existing bug. 😳 it does seem this is effectively a duplicate, but the patch is attached to it now, so... 🤷‍♂️

Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/16d99d92c120 Expose DOMLocalization interface to UA widgets. r=zbraniecki,smaug
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: