Bug 148407

Summary: Main frame scroll snap tests are flaky
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, wenson_hsieh
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=148408
https://bugs.webkit.org/show_bug.cgi?id=165196
https://bugs.webkit.org/show_bug.cgi?id=172148
https://bugs.webkit.org/show_bug.cgi?id=197819

Description Alexey Proskuryakov 2015-08-24 16:40:54 PDT
Main frame scroll snap tests have become flaky after http://trac.webkit.org/projects/webkit/changeset/188793

Steps to reproduce:
1. Edit tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical.html (this makes it 100% reproducible for me).
2. Add "document.body.offsetTopl" at the beginning on onLoad function.
3. Run the test.

What happens is that callAfterSCrollingCompletes callback is called before scrolling completes.
Comment 1 Alexey Proskuryakov 2015-08-24 16:43:46 PDT
Alternative steps to reproduce: 

run-webkit-tests -f --repeat 50 tiled-drawing/scrolling/scroll-snap
Comment 2 Alexey Proskuryakov 2015-08-24 16:53:54 PDT
Marked as flaky in r188896