Changeset 256657 in webkit
- Timestamp:
- Feb 14, 2020 5:01:04 PM (4 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r256656 r256657 1 2020-02-14 Ben Nham <nham@apple.com> 2 3 Fix flaky tests that scroll before first paint 4 https://bugs.webkit.org/show_bug.cgi?id=207780 5 6 After https://bugs.webkit.org/show_bug.cgi?id=207516, a couple of tests are now flaky. This 7 is because that patch delays first paint until there is enough content to render, and some 8 of these tests are issuing scroll events on controls before those controls render. To fix 9 this, we delay issuing the events until after the page loads. 10 11 Reviewed by Simon Fraser. 12 13 * fast/events/scroll-in-scaled-page-with-overflow-hidden.html: 14 * fast/scrolling/scroll-container-horizontally.html: 15 1 16 2020-02-14 Truitt Savell <tsavell@apple.com> 2 17 -
trunk/LayoutTests/fast/events/scroll-in-scaled-page-with-overflow-hidden.html
r227962 r256657 14 14 15 15 <script> 16 (function() {16 window.addEventListener('load', function() { 17 17 if (!window.testRunner) { 18 18 debug("This test only works in the test runner."); … … 45 45 eventSender.mouseScrollBy(0, -5); 46 46 } 47 }) ();47 }); 48 48 </script> -
trunk/LayoutTests/fast/scrolling/scroll-container-horizontally.html
r201476 r256657 23 23 </div> 24 24 <script> 25 if (window.eventSender && window.testRunner) { 26 testRunner.waitUntilDone(); 27 testRunner.dumpAsText(); 25 function runTest() { 28 26 eventSender.monitorWheelEvents(); 29 27 // Scroll vertically to reach the bottom scrollable container. … … 49 47 testRunner.notifyDone(); 50 48 }); 51 }); 49 }); 50 } 51 52 if (window.eventSender && window.testRunner) { 53 testRunner.waitUntilDone(); 54 testRunner.dumpAsText(); 55 window.addEventListener('load', runTest); 52 56 } 53 57 </script>
Note: See TracChangeset
for help on using the changeset viewer.