Closed
Bug 1642731
Opened 4 years ago
Closed 4 years ago
Turn excessive calls to document.l10n.formatValue to a single document.l10n.formatValues call
Categories
(Firefox :: Page Info Window, task)
Firefox
Page Info Window
Tracking
()
RESOLVED
FIXED
Firefox 80
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: mossop, Assigned: mossop)
References
Details
Attachments
(1 file)
Assignee | ||
Comment 1•4 years ago
|
||
Rather than sending the strings down to the content process and back up instead
have the content process just send the media type which when prefixed with
media-
gives us the fluent ID for the string. Ideally this would allow us to
just set that as the data-l10n-id
for the items but since this tree is
generated by a custom nsITreeView
implementation that isn't an option so this
still caches the strings on load.
A single formatValues call will be more performant.
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ffe433d59e0d Turn excessive calls to document.l10n.formatValue to a single document.l10n.formatValues call. r=Gijs
Comment 3•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80
You need to log in
before you can comment on or make changes to this bug.
Description
•