Bug 148407 - Main frame scroll snap tests are flaky
Summary: Main frame scroll snap tests are flaky
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2015-08-24 16:40 PDT by Alexey Proskuryakov
Modified: 2019-05-12 12:31 PDT (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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