Closed Bug 1674533 Opened 4 years ago Closed 4 years ago

Unreplaced $unit variable displayed for some rows in about:processes

Categories

(Core :: DOM: Content Processes, defect)

defect

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox82 --- unaffected
firefox83 --- unaffected
firefox84 --- fixed

People

(Reporter: flod, Assigned: Yoric)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached image immagine.png

As far as I can see from the Inspector, it only happens on cells that use the string about-processes-cpu-user-and-kernel. But it's hard to confirm, given the page refreshes frequently.

This is happening on macOS with an Italian build (OS set to Italian).

Interestingly enough, it doesn't seem to happen on Linux, with a local build (en-US) built on top of current default.

Looks like the problem is with duration in minutes, caused by moving from min to m, but not everywhere.
https://hg.mozilla.org/mozilla-central/file/695f232f1abce34eaac99df10dbb7973b7ab6373/toolkit/components/aboutprocesses/content/aboutProcesses.js#l951

The code searches for a units.duration['m'], and returns undefined.

Assignee: nobody → D.O.Teller+bugspam
Status: NEW → ASSIGNED

My first patch as an external contributor since 2011!

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

Pushed by fqueze@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/20478a1a36cb about:processes should use 'm' everywhere for minutes;r=florian
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: