Closed Bug 2091988 Opened 14 days ago Closed 13 days ago

browser_981418-widget-onbeforecreated-handler.js times out when run twice in the same window

Categories

(Firefox :: Toolbars and Customization, task)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: florian, Assigned: florian)

Details

Attachments

(1 external file)

browser/components/customizableui/test/browser_981418-widget-onbeforecreated-handler.js fails with "Test timed out" on its second run in mochitest-browser-chrome-repeat jobs, on all platforms.

The widget's onBeforeCreated adds a panelview to #appMenu-viewCache and the test never removes it. On the next run two panelviews share the id, the overflow panel shows the old one, and the test waits forever for ViewShown on the new one.

The fix is for the test to remove its panelview after CustomizableUI.destroyWidget.

When the test runs again in the same window, the stale panelview shares its id with the new one, so the overflow panel shows the stale one and the test times out waiting for ViewShown on the new one.

Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1c431bb72bf8 https://hg.mozilla.org/integration/autoland/rev/3f03eba4b107 Remove the panelview browser_981418-widget-onbeforecreated-handler.js creates, r=firefox-desktop-core-reviewers ,mossop.
Status: ASSIGNED → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: