RESOLVED FIXED206296
REGRESSION (r252205?): [ Mac wk2 ] tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler.html became very flaky
https://bugs.webkit.org/show_bug.cgi?id=206296
Summary REGRESSION (r252205?): [ Mac wk2 ] tiled-drawing/scrolling/fast-scroll-select...
Truitt Savell
Reported 2020-01-15 10:17:17 PST
tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler.html Description: This test has been flaky for a while, history first shows failures starting around r251229. History: https://results.webkit.org/?suite=layout-tests&test=tiled-drawing%2Fscrolling%2Ffast-scroll-select-latched-mainframe-with-handler.html&limit=23718 Diff: --- /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler-expected.txt +++ /Volumes/Data/slave/catalina-debug-tests-wk2/build/layout-test-results/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler-actual.txt @@ -14,15 +14,15 @@ (GraphicsLayer (anchor 0.00 0.00) (bounds 2008.00 2266.00) - (visible rect 0.00, 70.00 785.00 x 585.00) - (coverage rect 0.00, 70.00 785.00 x 585.00) + (visible rect 0.00, 0.00 785.00 x 585.00) + (coverage rect 0.00, 0.00 785.00 x 585.00) (intersects coverage rect 1) (contentsScale 1.00) (children 1 (GraphicsLayer (bounds 2008.00 2266.00) (contentsOpaque 1) - (visible rect 0.00, 70.00 785.00 x 585.00) + (visible rect 0.00, 0.00 785.00 x 585.00) (coverage rect 0.00, 0.00 1570.00 x 1755.00) (intersects coverage rect 1) (contentsScale 1.00)
Attachments
Patch (10.65 KB, patch)
2020-01-17 18:06 PST, Simon Fraser (smfr)
no flags
Radar WebKit Bug Importer
Comment 1 2020-01-15 10:17:34 PST
Truitt Savell
Comment 2 2020-01-15 10:46:45 PST
This reproduces by running the test in iterations.
Truitt Savell
Comment 3 2020-01-15 10:49:25 PST
I am able to reproduce this on ToT and as far back as r251002, so I am unsure where this really regressed
Truitt Savell
Comment 4 2020-01-15 10:59:12 PST
Marking test as failing on Mac Debug wk2 while this is investigated: https://trac.webkit.org/changeset/254577/webkit
Alexey Proskuryakov
Comment 5 2020-01-15 22:48:45 PST
This test was failing rarely intake November 7th, when it turned into a very frequent failure. r252205 seems like a very likely culprit.
Alexey Proskuryakov
Comment 6 2020-01-15 22:49:38 PST
> was failing rarely intake November 7th until November 7th
Ryosuke Niwa
Comment 7 2020-01-15 23:01:02 PST
That seems like a reasonable assessment to me.
Simon Fraser (smfr)
Comment 8 2020-01-17 18:06:24 PST
Ryosuke Niwa
Comment 9 2020-01-17 18:59:27 PST
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.
Simon Fraser (smfr)
Comment 10 2020-01-17 22:38:06 PST
(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.
Ryosuke Niwa
Comment 11 2020-01-17 23:03:53 PST
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?
WebKit Commit Bot
Comment 12 2020-01-17 23:21:58 PST
Comment on attachment 388124 [details] Patch Clearing flags on attachment: 388124 Committed r254793: <https://trac.webkit.org/changeset/254793>
WebKit Commit Bot
Comment 13 2020-01-17 23:22:00 PST
All reviewed patches have been landed. Closing bug.
Simon Fraser (smfr)
Comment 14 2020-01-21 11:27:51 PST
(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.
Ryosuke Niwa
Comment 15 2020-01-21 23:41:40 PST
(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.
Note You need to log in before you can comment on or make changes to this bug.