Changeset 251294 in webkit
- Timestamp:
- Oct 18, 2019 12:44:22 PM (5 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r251290 r251294 1 2019-10-18 Ryosuke Niwa <rniwa@webkit.org> 2 3 Flaky Test: fast/events/resize-subframe-in-rendering-update.html 4 https://bugs.webkit.org/show_bug.cgi?id=203140 5 6 Reviewed by Simon Fraser. 7 8 The flakiness was caused by the race condition between rAF and setTimeout. In many cases, 9 setTimeout was getting scheduled after the next rAF and prevented some assertions to run in time. 10 11 Fixed the flakiness by moving setTimeout to outside the setTimeout in which tests run so that 12 those assertions would always run. 13 14 Rebaselined the test since these assertions in setTimeout are now always included in the results. 15 16 * fast/events/resize-subframe-in-rendering-update-expected.txt: 17 * fast/events/resize-subframe-in-rendering-update.html: 18 1 19 2019-10-18 Said Abou-Hallawa <sabouhallawa@apple.com> 2 20 -
trunk/LayoutTests/fast/events/resize-subframe-in-rendering-update-expected.txt
r251269 r251294 8 8 iframeAA.style.width = "200px"; updateLayout(iframeAA) 9 9 PASS logs.length is 0 10 After 0s setTimeout 11 PASS logs.length is 0 10 12 After requestAnimationFrame 11 13 PASS logs.length is 3 -
trunk/LayoutTests/fast/events/resize-subframe-in-rendering-update.html
r251269 r251294 38 38 evalAndLog('iframeAA.style.width = "200px"; updateLayout(iframeAA)'); 39 39 shouldBe('logs.length', '0'); 40 setTimeout(() => {41 debug('After 0s setTimeout');42 shouldBe('logs.length', '0');43 }, 0);44 40 requestAnimationFrame(() => { 45 41 debug('After requestAnimationFrame'); … … 51 47 }); 52 48 }, 0); 49 setTimeout(() => { 50 debug('After 0s setTimeout'); 51 shouldBe('logs.length', '0'); 52 }, 0); 53 53 }); 54 54
Note: See TracChangeset
for help on using the changeset viewer.