test_wheel_zoom_on_form_controls.html leaves the harness page zoomed out, and fails when run twice in a row
Categories
(Core :: DOM: UI Events & Focus Handling, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 external file)
dom/events/test/test_wheel_zoom_on_form_controls.html zooms out with Ctrl+wheel once for each of its 5 form controls. It restores the zoom after each step with SpecialPowers.setFullZoom(window, initialZoom), but window is the test iframe. The wheel zoom applies to the top-level browsing context, so the harness page stays zoomed out a bit more after each step, ending at 50% after one run.
When the test runs twice in the same browser (the upcoming mochitest-plain-repeat jobs), the zoom reaches its 20% minimum partway through the second run. After that, select and list can no longer zoom and fail with "should have zoomed - didn't expect 1, but got it".
The fix resets the zoom on window.top instead.
| Assignee | ||
Comment 1•9 days ago
|
||
Ctrl+wheel zooms the top-level browsing context, but the test only reset the zoom of its own iframe, so every step left the harness page zoomed out further. When the test runs twice in the same browser, the zoom reaches its minimum and the later controls cannot zoom anymore.
Comment 4•7 days ago
|
||
| bugherder | ||
Description
•