Changeset 262019 in webkit
- Timestamp:
- May 21, 2020 12:00:26 PM (4 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r262011 r262019 1 2020-05-21 Chris Dumez <cdumez@apple.com> 2 3 compositing/show-composited-iframe-on-back-button.html is a flaky timing out 4 https://bugs.webkit.org/show_bug.cgi?id=212221 5 <rdar://problem/63493074> 6 7 Reviewed by Alex Christensen. 8 9 I am unable to reproduce the flakiness locally so this is a speculative fix. 10 Stop using testRunner.queueLoad() / testRunner.queueBackNavigation() and instead 11 just navigate to page-cache-helper.html in JS, by setting window.location. 12 Also, call testRunner.waitUntilDone() and call testRunner.notifyDone() when the 13 page comes out of the back/forward cache. 14 15 * compositing/show-composited-iframe-on-back-button.html: 16 1 17 2020-05-21 Jacob Uphoff <jacob_uphoff@apple.com> 2 18 -
trunk/LayoutTests/compositing/show-composited-iframe-on-back-button.html
r251220 r262019 6 6 <link rel="stylesheet" href="resources/show-composited-iframe-on-back-button.css"> 7 7 <script> 8 function handleOnPageShow(pageTransitionEvent) 9 { 10 console.assert(window.testRunner); 11 if (pageTransitionEvent.persisted) 12 return; 8 if (window.testRunner) 9 testRunner.waitUntilDone(); 13 10 14 // First time the page has been loaded. 15 testRunner.queueLoad("about:blank"); 16 testRunner.queueBackNavigation(1); 11 onpageshow = (pageTransitionEvent) => { 12 if (pageTransitionEvent.persisted) { 13 if (window.testRunner) 14 testRunner.notifyDone(); 15 } 17 16 } 18 17 19 if (window.testRunner) 20 window.onpageshow = handleOnPageShow; 18 onload = () => { 19 setTimeout(() => { 20 window.location = "../fast/history/resources/page-cache-helper.html"; 21 }, 0); 22 } 23 21 24 </script> 22 25 </head>
Note: See TracChangeset
for help on using the changeset viewer.