Make XULElement.openMenu(true) work for native context menus
Categories
(Core :: Widget: Cocoa, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
References
Details
(Whiteboard: [proton-context-menus][mac:mr1])
Attachments
(7 files, 1 obsolete file)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
XULElement has an openMenu method which can be used to open context menu submenus: menu.openMenu(true)
.
We should make this method work with native menus as well, so that automated tests using it will work with both non-native and native menus.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Depends on D111522
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D111522
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D111660
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D111661
Assignee | ||
Comment 5•3 years ago
|
||
Depends on D111663
Assignee | ||
Comment 6•3 years ago
|
||
Depends on D111664
Assignee | ||
Comment 7•3 years ago
|
||
Depends on D111665
Assignee | ||
Comment 8•3 years ago
|
||
Depends on D111666
Updated•3 years ago
|
Assignee | ||
Comment 9•3 years ago
|
||
Comment 10•3 years ago
|
||
Pushed by mstange@themasta.com: https://hg.mozilla.org/integration/autoland/rev/21d2bf5db183 Move part of nsXULElement::OpenMenu into a new method called nsXULPopupManager::HideMenu. r=tnikkel https://hg.mozilla.org/integration/autoland/rev/97a92ca9b16f Remove unused return value from MenuOpened(), make MenuOpened() ignore repeated invocations, and adjust comments. r=harry https://hg.mozilla.org/integration/autoland/rev/4fa3e5b83b9d Add NativeMenu::OpenSubmenu. r=harry https://hg.mozilla.org/integration/autoland/rev/8aac76367f33 Make nsXULPopupManager::ShowMenu handle native menus, so that menu.openMenu(true) can be used in tests to support native menus. r=tnikkel https://hg.mozilla.org/integration/autoland/rev/297987c412d9 Add NativeMenu::CloseSubmenu. r=harry https://hg.mozilla.org/integration/autoland/rev/0fc48ae0ad09 Make nsXULPopupManager::HideMenu handle native menus, so that menu.openMenu(false) can be used in tests to support native menus. r=tnikkel https://hg.mozilla.org/integration/autoland/rev/f040df39cdc1 Make sure we don't forget about simulated-open submenus when closing their parents, and try to enforce that submenus run their popuphidden events before their parents. r=harry
Comment 11•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/21d2bf5db183
https://hg.mozilla.org/mozilla-central/rev/97a92ca9b16f
https://hg.mozilla.org/mozilla-central/rev/4fa3e5b83b9d
https://hg.mozilla.org/mozilla-central/rev/8aac76367f33
https://hg.mozilla.org/mozilla-central/rev/297987c412d9
https://hg.mozilla.org/mozilla-central/rev/0fc48ae0ad09
https://hg.mozilla.org/mozilla-central/rev/f040df39cdc1
Description
•