Closed Bug 1704572 Opened 3 years ago Closed 3 years ago

Tweak various tests for native context menus

Categories

(Core :: Widget: Cocoa, task)

All
macOS
task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: mstange, Assigned: mstange)

References

Details

(Whiteboard: [proton-context-menus][mac:mr1])

Attachments

(4 files)

This bug is for patches to various tests to make them work better with native context menus.

Whiteboard: [proton-context-menus][mac:mr1]

openMenu(true) works on both native and non-native context menus. openPopup() does not work on native context menus.

Depends on D111681

Blocks: 1704628
Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/autoland/rev/da0f99d5b3e4
Fix some viewsource tests to work with native context menus. r=Gijs
https://hg.mozilla.org/integration/autoland/rev/342d46870ead
Use openMenu(true) instead of openPopup() for opening the 'this frame' submenu in browser/base/content/test/contextMenu/browser_contextmenu_iframe.js. r=Gijs
https://hg.mozilla.org/integration/autoland/rev/d9b3cac48bd8
Correctly wait for popup state changes in browser/components/places/tests/browser/browser_check_correct_controllers.js. r=Gijs
https://hg.mozilla.org/integration/autoland/rev/413247fce859
Use BrowserTestUtils.is_visible rather than checking the bounding client rect in browser_contextmenu_linkopen.js. r=Gijs
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: