Improve native menu tests
Categories
(Core :: Widget: Cocoa, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox88 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
References
Details
(Whiteboard: [proton-context-menus][mac:mr1] )
Attachments
(10 files)
|
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 | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
Depends on D108547
| Assignee | ||
Comment 2•5 years ago
|
||
Depends on D108548
| Assignee | ||
Comment 3•5 years ago
|
||
Depends on D108549
| Assignee | ||
Comment 4•5 years ago
|
||
Depends on D108550
| Assignee | ||
Comment 5•5 years ago
|
||
These functions aren't used by anything but they can be used during debugging.
Example output:
NSMenuItem [0x136263660] (no title) [hasSubmenu]
NSMenu [0x13079ec00] (no title)
[0] NSMenuItem [0x13666cac0] Foo [hasSubmenu]
NSMenu [0x13079ec40] Foo
[0] NSMenuItem [0x137093c10] FooItem0
[1] NSMenuItem [0x1372a5dd0] FooItem1
[2] NSMenuItem [0x1372a5a50] ----
[3] NSMenuItem [0x1372a50b0] Bar [hasSubmenu]
NSMenu [0x13711ae00] Bar
[0] NSMenuItem [0x1372a5890] BarItem0
[1] NSMenuItem [0x1372a57b0] BarItem1
Depends on D108551
| Assignee | ||
Comment 6•5 years ago
|
||
These methods are only called during automated tests.
Depends on D108552
| Assignee | ||
Comment 7•5 years ago
|
||
Depends on D108553
| Assignee | ||
Comment 8•5 years ago
|
||
| Assignee | ||
Comment 9•5 years ago
|
||
Depends on D108555
| Assignee | ||
Comment 10•5 years ago
|
||
This could already be achieved by calling standaloneNativeMenu.menuOpened(),
except for the MenuClosed() call.
Depends on D108729
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0dadedbc2296
https://hg.mozilla.org/mozilla-central/rev/b34bb3f93d93
https://hg.mozilla.org/mozilla-central/rev/578e3c253d63
https://hg.mozilla.org/mozilla-central/rev/323aec581a72
https://hg.mozilla.org/mozilla-central/rev/2103e73c06eb
https://hg.mozilla.org/mozilla-central/rev/f23864cbe0aa
https://hg.mozilla.org/mozilla-central/rev/9e5748ce4162
https://hg.mozilla.org/mozilla-central/rev/297659ddd8cd
https://hg.mozilla.org/mozilla-central/rev/415cd8195d36
https://hg.mozilla.org/mozilla-central/rev/1f3def02a98d
Description
•