Changeset 156362 in webkit


Ignore:
Timestamp:
Sep 24, 2013 3:09:19 PM (11 years ago)
Author:
ap@apple.com
Message:

Flaky Test: fast/history/history-subframe-with-name.html
https://bugs.webkit.org/show_bug.cgi?id=51039

Reviewed by Anders Carlsson.

Speculative fix, I could not reproduce locally.

  • fast/history/resources/history-subframe-with-name-container.html: Added a check

that onunload trick worked.

  • fast/history/resources/history-subframe-with-name-2.html: Starting the navigation

used to race with loading another iframe in the parent. Wait until the parent loads.

Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r156356 r156362  
     12013-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
    1162013-09-24  Dean Jackson  <dino@apple.com>
    217
  • trunk/LayoutTests/fast/history/resources/history-subframe-with-name-2.html

    r66238 r156362  
    33  function runTest()
    44  {
     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      }
    510      parent.opener.onFrameLoaded(2);
    611      // Make sure we generate a history entry
  • trunk/LayoutTests/fast/history/resources/history-subframe-with-name-container.html

    r66238 r156362  
    11<script>
    22// Disable the page cache when running inside of Safari
    3 onunload = function() {};
     3onunload = function() { }
     4onpageshow = function() { if (event.persisted) alert("FAIL: Could not disable page cache"); }
    45</script>
    56<iframe src="history-subframe-with-name-2.html"></iframe>
Note: See TracChangeset for help on using the changeset viewer.