Closed Bug 1836682 Opened 1 year ago Closed 1 year ago

Re-enable test_originControls_with_submenus in browser_ext_originControls.js on OSX

Categories

(WebExtensions :: General, task)

task

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1836383

People

(Reporter: robwu, Assigned: robwu)

References

(Blocks 1 open bug)

Details

(Whiteboard: [addons-jira])

Attachments

(1 file)

test_originControls_with_submenus in browser_ext_originControls.js was temporarily skipped in bug 1836279 because of failures on macOS (with a spike of failures reported in bug 1782555).

The test_originControls_with_submenus test task was failing on macOS
because popup.hidePopup() did not actually close the submenu popup.

The openMenu(false) call can be used instead (called on the menu item
to which the popup is attached).

This patch also fixes some other hazards that can potentially trigger
intermittent test failures.

Blocks: 1782555

There was already a bug (and a patch) before at bug 1836383. I'm going to close this as a duplicate over the older bug while I figure out how to consolidate the patches with Will (who authored a patch earlier in the other bug).

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1836383
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: