GenerateMessages in Localization.webidl shouldn't take locales parameter
Categories
(Core :: Internationalization, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: Pike, Assigned: zbraniecki)
Details
Attachments
(1 file)
In dom/chrome-webidl/Localization.webidl
, we have the signature:
callback GenerateMessages = Promise<any> (sequence<DOMString> aAppLocales, sequence<DOMString> aResourceIds);
That matches the signature of the l10n registry, but not the signature that Localization.jsm
ends up using, which would be just
Promise<any> (sequence<DOMString> aResourceIds)
This also reflects in the test cases, https://searchfox.org/mozilla-central/search?q=mockGenerateMessages&case=false®exp=false&path=.
Stas fixed on those in intl
, but this also needs fixes in dom/l10n/
.
Or did we miss something, Zibi?
Comment 1•5 years ago
|
||
(In reply to Axel Hecht [:Pike] from comment #0)
Stas fixed on those in
intl
, but this also needs fixes indom/l10n/
.
For the record, I filed bug 1568966 about this in intl/l10n/test
, and the fix landed as part of bug 1568914.
Assignee | ||
Comment 2•5 years ago
|
||
Or did we miss something, Zibi?
Nope, I don't think so. It's just my mistake. Thanks for investigating!
Taking.
Assignee | ||
Comment 3•5 years ago
|
||
Pushed by zbraniecki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f01f7bfe772a GenerateMessages in Localization.webidl shouldn't take locales parameter. r=Pike
Comment 5•5 years ago
|
||
bugherder |
Description
•