browser_914138_widget_API_overflowable_toolbar.js leaves the window narrow when a window resize completes late, breaking the next run of the test
Categories
(Firefox :: Toolbars and Customization, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 external file)
browser_914138_widget_API_overflowable_toolbar.js failed in a mochitest-browser-chrome-repeat try job on Linux 24.04 debug, on its second run: Cleanup function threw an exception - undefined - timed out after 50 tries.
Each task ends with unensureToolbarOverflow, which calls window.resizeTo to restore the original width, but the task only waits for the nav-bar to stop overflowing. On X11 the resize is asynchronous, so insertBeforeFirstItemInOverflow can read a stale, narrow window.outerWidth as its original width, and its cleanup then leaves the window 500px wide. The next run of the test starts with that narrow window, and the toolbar never stops overflowing.
The patch makes each task wait for the resize event that brings the window back to its original width, and re-enables the test's browser.toml variant on Linux, skipped since bug 966190 as unreliable there.
| Assignee | ||
Comment 1•9 days ago
|
||
This also re-enables the test on Linux, skipped since bug 966190 as unreliable there.
Comment 3•8 days ago
|
||
| bugherder | ||
Description
•