Changeset 156362 in webkit
- Timestamp:
- Sep 24, 2013, 3:09:19 PM (12 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r156356 r156362 1 2013-09-24 Alexey Proskuryakov <ap@apple.com> 2 3 Flaky Test: fast/history/history-subframe-with-name.html 4 https://bugs.webkit.org/show_bug.cgi?id=51039 5 6 Reviewed by Anders Carlsson. 7 8 Speculative fix, I could not reproduce locally. 9 10 * fast/history/resources/history-subframe-with-name-container.html: Added a check 11 that onunload trick worked. 12 13 * fast/history/resources/history-subframe-with-name-2.html: Starting the navigation 14 used to race with loading another iframe in the parent. Wait until the parent loads. 15 1 16 2013-09-24 Dean Jackson <dino@apple.com> 2 17 -
trunk/LayoutTests/fast/history/resources/history-subframe-with-name-2.html
r66238 r156362 3 3 function runTest() 4 4 { 5 // The parent has two frames. Do not run the test until both finished loading. 6 if (parent.document.readyState != "complete") { 7 setTimeout(runTest, 0); 8 return; 9 } 5 10 parent.opener.onFrameLoaded(2); 6 11 // Make sure we generate a history entry -
trunk/LayoutTests/fast/history/resources/history-subframe-with-name-container.html
r66238 r156362 1 1 <script> 2 2 // Disable the page cache when running inside of Safari 3 onunload = function() {}; 3 onunload = function() { } 4 onpageshow = function() { if (event.persisted) alert("FAIL: Could not disable page cache"); } 4 5 </script> 5 6 <iframe src="history-subframe-with-name-2.html"></iframe>
Note:
See TracChangeset
for help on using the changeset viewer.