Changeset 190733 in webkit
- Timestamp:
- Oct 8, 2015 10:44:18 AM (9 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r190732 r190733 1 2015-10-08 Alexey Proskuryakov <ap@apple.com> 2 3 fast/events/scroll-after-click-on-tab-index.html is flaky 4 https://bugs.webkit.org/show_bug.cgi?id=149859 5 6 Reviewed by Simon Fraser. 7 8 * fast/events/scroll-after-click-on-tab-index-expected.txt: 9 * fast/events/scroll-after-click-on-tab-index.html: 10 * platform/mac/TestExpectations: 11 1 12 2015-10-08 Jiewen Tan <jiewen_tan@apple.com> 2 13 -
trunk/LayoutTests/fast/events/scroll-after-click-on-tab-index-expected.txt
r69582 r190733 1 1 ALERT: Scroll position 0 2 2 Click the text below and then try to scroll. 3 PASS Scroll position is more than 0 3 4 PASS successfullyParsed is true 4 5 5 6 TEST COMPLETE 6 Scroll position is more than 07 PASS document.body.scrollTop > 0 is true8 7 9 8 -
trunk/LayoutTests/fast/events/scroll-after-click-on-tab-index.html
r155267 r190733 1 1 <html> 2 <script src="../../resources/js-test -pre.js"></script>2 <script src="../../resources/js-test.js"></script> 3 3 <script> 4 4 function getCenterFor(element) … … 15 15 return; 16 16 17 testRunner.waitUntilDone(); 18 testRunner.dumpAsText(); 17 jsTestIsAsync = true; 19 18 20 19 alert("Scroll position " + document.body.scrollTop); … … 24 23 eventSender.mouseUp(); 25 24 eventSender.keyDown("downArrow"); 26 setTimeout(verifyScrolling, 15); 25 intervalID = setInterval(function() { 26 if (document.body.scrollTop > 0) { 27 testPassed("Scroll position is more than 0"); 28 done(); 29 } 30 }, 10); 31 timeoutID = setTimeout(function() { 32 testFailed("Scroll position was still 10 after 20 seconds"); 33 done(); 34 }, 20000); 27 35 } 28 36 29 function verifyScrolling()37 function done() 30 38 { 31 debug("Scroll position is more than 0");32 shouldBe("document.body.scrollTop > 0", "true");33 testRunner.notifyDone();39 clearInterval(intervalID); 40 clearTimeout(timeoutID); 41 finishJSTest(); 34 42 } 35 43 … … 40 48 <input type="radio" id="myradio">Click the text below and then try to scroll.<br> 41 49 <div id="console"></div> 42 <script src="../../resources/js-test-post.js"></script>43 50 <br><br><br><br><br><br><br><br><br><br> 44 51 <span tabindex=1 id="sp">My span</span> -
trunk/LayoutTests/platform/mac/TestExpectations
r190729 r190733 1335 1335 # Marking test as flaky in El Capitan 1336 1336 webkit.org/b/149819 [ Debug ElCapitan+ ] compositing/video/video-poster.html [ Pass Crash ] 1337 1338 # Marking test as flaky1339 webkit.org/b/149859 fast/events/scroll-after-click-on-tab-index.html [ Pass Failure ]
Note: See TracChangeset
for help on using the changeset viewer.