Closed Bug 2010135 Opened 4 months ago Closed 1 month ago

[fluent-dom] While translating an element with fluent ID "newtab-topsites-add-shortcut-label" a child element of type "br" was removed.

Categories

(Firefox :: New Tab Page, defect)

defect

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox147 --- wontfix
firefox148 --- wontfix
firefox149 --- wontfix
firefox150 --- fixed

People

(Reporter: robwu, Assigned: maxx, NeedInfo)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

I reported this before as bug 1977057, but despite the fix there, I still see the following warning repeated multiple times when I run ./mach run --temp-profile from a debug build (which opens the new tab page):

[fluent-dom] While translating an element with fluent ID "newtab-topsites-add-shortcut-label" a child element of type "br" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type.

The culprit is still the same as in bug 1977057, at https://searchfox.org/firefox-main/rev/e1eada69e2ddd86a398ccb141dcbf772254162eb/browser/extensions/newtab/content-src/components/TopSites/TopSite.jsx#430,435

I guess that title is blank, and falls back to <br />, which is ignored since it is missing from the translation.

Set release status flags based on info from the regressing bug 1973214

:thecount, since you are the author of the regressor, bug 1973214, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Assignee: nobody → mcrawford
Status: NEW → ASSIGNED
Pushed by mcrawford@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5d161d2a6cad https://hg.mozilla.org/integration/autoland/rev/fc4b1a94b08b Remove <br> fallback from TopSite title-label span r=home-newtab-reviewers,robwu,ini
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: