Closed Bug 2092569 Opened 14 days ago Closed 6 days ago

test_panel_item_first_letter.html fails when run twice in a row: the submenu test leaves the pointer over the panel

Categories

(Toolkit :: UI Widgets, task)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: florian, Assigned: florian, NeedInfo)

References

Details

Attachments

(1 external file)

When toolkit/content/tests/widgets/test_panel_item_first_letter.html runs again in the same browser (mochitest-chrome-repeat), testFocusOnAButtonOutsideThePanelStillSelects fails with "Activating the item closed the panel" on every platform.

testAnOpenSubmenuTakesTheLetter leaves the pointer over the "More" submenu host. On the repeat run the reloaded panel opens under it, the hover opens the submenu, and the outer list stands aside for it, so the typed letter activates nothing.

The fix moves the pointer off the panel at the end of the submenu test.

Blocks: 2092575

When the file runs again in the same browser (--repeat), the reloaded panel opens under the pointer that the previous run left over the submenu host. The hover opens the submenu and the outer list stands aside for it, so a letter typed with focus outside the list activates nothing.

The Bugbug bot thinks this bug should belong to the 'Toolkit::UI Widgets' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → UI Widgets
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1cea0dfde90c https://hg.mozilla.org/integration/autoland/rev/0e9352cb3de6 Move the pointer off the panel-list at the end of test_panel_item_first_letter.html's submenu test, r=hjones.
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/34b75e24597e https://hg.mozilla.org/integration/autoland/rev/fe99cabd3206 Revert "Bug 2092569 - Move the pointer off the panel-list at the end of test_panel_item_first_letter.html's submenu test, r=hjones." for causing lint failures
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f5ca3087cc3f https://hg.mozilla.org/integration/autoland/rev/5adc5bab9c1e Move the pointer off the panel-list at the end of test_panel_item_first_letter.html's submenu test, r=hjones.
Status: ASSIGNED → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: