Bug 168084 - LayoutTest fast/scrolling/page-cache-back-overflow-scroll-restore.html is a flaky failure
Summary: LayoutTest fast/scrolling/page-cache-back-overflow-scroll-restore.html is a f...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-09 15:57 PST by Ryan Haddad
Modified: 2017-02-13 09:57 PST (History)
5 users (show)

See Also:


Attachments
Patch (2.17 KB, patch)
2017-02-11 17:15 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2017-02-09 15:57:32 PST
LayoutTest fast/scrolling/page-cache-back-overflow-scroll-restore.html is a flaky failure

https://build.webkit.org/results/Apple%20El%20Capitan%20Debug%20WK2%20(Tests)/r211985%20(10935)/results.html

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=fast%2Fscrolling%2Fpage-cache-back-overflow-scroll-restore.html

--- /Volumes/Data/slave/elcapitan-debug-tests-wk2/build/layout-test-results/fast/scrolling/page-cache-back-overflow-scroll-restore-expected.txt
+++ /Volumes/Data/slave/elcapitan-debug-tests-wk2/build/layout-test-results/fast/scrolling/page-cache-back-overflow-scroll-restore-actual.txt
@@ -6,7 +6,7 @@
 
 
 
-layer at (0,0) size 100x126 backgroundClip at (0,0) size 100x100 clip at (0,0) size 85x85 scrollY 41 scrollHeight 126
+layer at (0,0) size 100x126 backgroundClip at (0,0) size 100x100 clip at (0,0) size 85x85 scrollHeight 126
   RenderBlock (positioned) {DIV} at (0,0) size 100x100 [bgcolor=#CCCCCC]
     RenderBR {BR} at (0,0) size 0x18
     RenderBR {BR} at (0,18) size 0x18
Comment 1 Alexey Proskuryakov 2017-02-10 13:09:26 PST
That's a new test from r210329, we should roll out the change if it cannot be fixed quickly.
Comment 2 Andreas Kling 2017-02-11 13:20:07 PST
HmmmMMmm, I can reproduce the failure locally 100% by holding down the shift key while the test runs.
Comment 3 Andreas Kling 2017-02-11 17:02:37 PST
Okay I think I just need to fix the test to wait for a scroll event before navigating to generate the page cache entry.
Comment 4 Andreas Kling 2017-02-11 17:15:13 PST
Created attachment 301286 [details]
Patch
Comment 5 WebKit Commit Bot 2017-02-11 20:13:32 PST
Comment on attachment 301286 [details]
Patch

Clearing flags on attachment: 301286

Committed r212199: <http://trac.webkit.org/changeset/212199>
Comment 6 WebKit Commit Bot 2017-02-11 20:13:37 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Alexey Proskuryakov 2017-02-13 09:57:42 PST
Thank you Andreas!