Commit 78a878b
committed
Bug 1966443: Clean up after tests that open context menus r=masayuki
For test_contextmenu_chorded_buttons.html, the synthesized escape key was
not dismissing the contextmenu, and it was blocking an upcoming DND test
when run in automation. Switched to a left-mouse-click to close it, since
closing the contextmenu is not part of the test.
test_contextmenu_by_mouse_on_unix.html isn't causing any test problems but
it was leaving a context menu open as well (it didn't attempt to close it).
Differential Revision: https://phabricator.services.mozilla.com/D2592981 parent 0d1a205 commit 78a878b
File tree
2 files changed
+18
-5
lines changed- widget/tests
2 files changed
+18
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
42 | 53 | | |
43 | 54 | | |
44 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | 71 | | |
76 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
0 commit comments