Closed Bug 1524008 Opened 5 years ago Closed 5 years ago

"Invalid string label" error in the console upon clicking the "Content Blocking" menu item

Categories

(Toolkit :: Telemetry, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1494948

People

(Reporter: robwu, Unassigned)

Details

When I click on "Content Blocking" in the settings menu, about:preferences#privacy is opened and the global JS console (Ctrl-Shift-J) contains the following message:

"Invalid string label"

This message has no context (stack trace), but I found the literal value in toolkit/components/telemetry/core/TelemetryHistogram.cpp, so I'm filing the bug in the telemetry component, even though the issue might be in a consumer of the telemetry API.

This is the error raised when a categorical histogram is trying to accumulate a label that isn't present in the labels part of its definition. Guessing this is probably FX_PREFERENCES_OPENED_VIA which expired in 63, but hasn't yet been removed.

:jaws does that sound about right?

Flags: needinfo?(jaws)

Yeah, this is being removed by bug 1494948

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