Summary: | REGRESSION (r252205?): [ Mac wk2 ] tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler.html became very flaky | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Truitt Savell <tsavell> | ||||
Component: | Scrolling | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, rniwa, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Truitt Savell
2020-01-15 10:17:17 PST
This reproduces by running the test in iterations. I am able to reproduce this on ToT and as far back as r251002, so I am unsure where this really regressed Marking test as failing on Mac Debug wk2 while this is investigated: https://trac.webkit.org/changeset/254577/webkit This test was failing rarely intake November 7th, when it turned into a very frequent failure. r252205 seems like a very likely culprit. > was failing rarely intake November 7th
until November 7th
That seems like a reasonable assessment to me. Created attachment 388124 [details]
Patch
Comment on attachment 388124 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=388124&action=review > LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler.html:69 > + eventSender.callAfterScrollingCompletes(checkForScroll); We should probably wait for requestAnimationFrame after callAfterScrollingCompletes. (In reply to Ryosuke Niwa from comment #9) > Comment on attachment 388124 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=388124&action=review > > > LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler.html:69 > > + eventSender.callAfterScrollingCompletes(checkForScroll); > > We should probably wait for requestAnimationFrame after > callAfterScrollingCompletes. Ideally eventSender.callAfterScrollingCompletes() would do that internally. Comment on attachment 388124 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=388124&action=review >>> LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler.html:69 >>> + eventSender.callAfterScrollingCompletes(checkForScroll); >> >> We should probably wait for requestAnimationFrame after callAfterScrollingCompletes. > > Ideally eventSender.callAfterScrollingCompletes() would do that internally. But does it? Comment on attachment 388124 [details] Patch Clearing flags on attachment: 388124 Committed r254793: <https://trac.webkit.org/changeset/254793> All reviewed patches have been landed. Closing bug. (In reply to Ryosuke Niwa from comment #11) > Comment on attachment 388124 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=388124&action=review > > >>> LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler.html:69 > >>> + eventSender.callAfterScrollingCompletes(checkForScroll); > >> > >> We should probably wait for requestAnimationFrame after callAfterScrollingCompletes. > > > > Ideally eventSender.callAfterScrollingCompletes() would do that internally. > > But does it? No. But we shouldn't need to wait for rAF; DRT and WTR call Page::updateRendering() when tests complete. (In reply to Simon Fraser (smfr) from comment #14) > (In reply to Ryosuke Niwa from comment #11) > > Comment on attachment 388124 [details] > > Patch > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=388124&action=review > > > > >>> LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler.html:69 > > >>> + eventSender.callAfterScrollingCompletes(checkForScroll); > > >> > > >> We should probably wait for requestAnimationFrame after callAfterScrollingCompletes. > > > > > > Ideally eventSender.callAfterScrollingCompletes() would do that internally. > > > > But does it? > > No. But we shouldn't need to wait for rAF; DRT and WTR call > Page::updateRendering() when tests complete. Ah, I see. |