Closed
Bug 1705838
Opened 4 years ago
Closed 4 years ago
RollupPopups() in nsCocoaWindow.mm should close native menus
Categories
(Core :: Widget: Cocoa, task)
Tracking
()
RESOLVED
FIXED
89 Branch
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
References
Details
Attachments
(1 file)
Some tests don't close all the menus they open (sometimes by accident). With non-native menus those leftover menus are closed whenever a regular window opens or closes, via RollUpPopups()
.
We should close native menus on the same occasions.
Assignee | ||
Comment 1•4 years ago
|
||
This makes it much less likely that menus will stick around unintentionally
during automated tests.
It won't make much difference for user interactions with the browser, because
any user actions that cause calls to RollUpPopups() will usually cause the OS
to dismiss the native menu first. But in automation those things can happen
without user input.
Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/autoland/rev/fbd84403e9e1
Roll up native menus in RollUpPopups(). r=harry
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox89:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•