[Mac] Zoom menu lacks label when all windows are closed

NEW
Unassigned

Status

7 years ago
7 years ago

People

(Reporter: stefanh, Unassigned)

Tracking

({regression})

Trunk
x86
Mac OS X
regression

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
SM trunk (exist all the way back to 2.1, 2.0.x is ok), Mac.

STR:
1) Launch SM
2) Close all windows
3) Open the View menu and have a look at the Zoom (sub) menu

Expected results: Disabled and label saying "Zoom"
Actual results: Disabled, but no label. JS error saying:
"chrome://global/content/viewZoomOverlay.js, line 40: aBrowser is null"

Perhaps we shouldn't init the zoom manager at all when the hidden window loads (we also need to provide a dummy label)?
You need to log in before you can comment on or make changes to this bug.