Bug 1962340 - Use a resize event instead of a timeout to tell renderi… #416 (firefox-autoland@autoland)

Warnings
  • Checking...
Blockers
  • Checking...
Branches bug1962340 -> autoland
Repo firefox-autoland@autoland (git) (git://github.com/hiikezoe/firefox.git)
Author hiikezoe
State closed
Commit Title

Bug 1962340 - Use a resize event instead of a timeout to tell renderi…

Commit Body

…ng updates apart in new-scroll-event-dispatched-at-next-updating-rendering-time.html. r?#layout-reviewers Timer callbacks are queued on the timer task source and rendering updates on the rendering task source, and the event loop picks among task queues in an implementation-defined manner, so a timeout set in a requestAnimationFrame callback may run after the next rendering update. The resize event fired by the next rendering update's resize steps, right before its scroll steps, marks the start of that update instead. https://html.spec.whatwg.org/#event-loop-processing-model

Landings

Successfully landed

Landing requested on , by hikezoe.birchill@mozilla.com.

Landing Job: 111394

Last update:

Result: b0161d1bb26359aa1c169dbf79d740ba01aeee5c on firefox-autoland@autoland (git)

Links: Treeherder