Closed Bug 1699052 Opened 5 years ago Closed 3 years ago

Error when translating etp tooltip in browser.xhtml

Categories

(Firefox :: Protections UI, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: freddy, Unassigned)

Details

I'm seeing this message in the browser console, when starting Firefox Nightly with the default locale. Looks like some fluent template has an error?

[fluent-dom] While translating an element with fluent ID "protections-panel-not-blocking-why-etp-on-tooltip" a child element of type "description" was removed. Either the fluent message does not contain markup, or it does not contain markup of this type.

Can you add STR and which locale you are using?

Flags: needinfo?(fbraun)

I was working on a browser-mochtest and ran that with --jsconsole, and this error just came up without me doing something that should be related to the protections UI, so I thought I'd file a bug.
The test I was running was ./mach test --jsconsole browser/components/extensions/test/browser/browser_ext_tabs_insertCSS.js.

I realize this is probably not very useful, but maybe someone from the fluent team will understand the error a bit better..

Flags: needinfo?(fbraun)

I can't reproduce this on macOS on latest mozilla-central via the provided test command. I can't find any related error messages on Windows 11 on Nightly either when observing the Browser Toolbox after startup.

Freddy, can you still reproduce this issue? If not I think we can close the bug for now. Thank you!

Flags: needinfo?(fbraun)

I can't reproduce either. Pretty sure this code has changed since I last filed this bug 2 years ago ;-)

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(fbraun)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.