STR:
- Visit https://data.firefox.com/dashboard/hardware in Firefox or Chrome
- Zoom the page (Ctrl+) or resize your browser-window.
- Wait to see the page update in response to your change
EXPECTED RESULTS:
The page should repaint with the new zoom level or viewport-size in about the time it takes for its initial rendering (around a second or less).
ACTUAL RESULTS:
On my pretty-fast Lenovo laptop, the page takes over 10 seconds to update its rendering (in Firefox as well as Chrome).
This issue is especially-bad in Firefox since it's long enough to trigger our slow-script notification (if you press any keys or attempt to scroll during the hang), and that notification itself triggers another viewport-resize which queues up another batch of the same slow work to happen again. See bug https://bugzilla.mozilla.org/show_bug.cgi?id=1750463. So instead of a 10-20 second hang, you can stretch it into an indefinite-duration hang (as long as you keep interacting with keypresses or scroll events during the hang).