Changeset 156431 in webkit


Ignore:
Timestamp:
Sep 25, 2013 4:18:39 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 Brady Eidson.

  • fast/history/history-subframe-with-name.html: In state 3, there was a race between

history.forward() and navigating to a new URL. Not sure how this resulted in an
extra load, but let's get rid of that. Also, extended failure logging.

  • fast/history/resources/history-subframe-with-name-2.html: No longer do the

navigation unconditionally. We need it in state 1, but not in state 3.

Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r156426 r156431  
     12013-09-25  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 Brady Eidson.
     7
     8        * fast/history/history-subframe-with-name.html: In state 3, there was a race between
     9        history.forward() and navigating to a new URL. Not sure how this resulted in an
     10        extra load, but let's get rid of that. Also, extended failure logging.
     11
     12        * fast/history/resources/history-subframe-with-name-2.html: No longer do the
     13        navigation unconditionally. We need it in state 1, but not in state 3.
     14
    1152013-09-25  Roger Fong  <roger_fong@apple.com>
    216
  • trunk/LayoutTests/fast/history/history-subframe-with-name.html

    r155269 r156431  
    4444      case 1:
    4545          shouldBe('2', 'currentPageId');
     46          // Make sure we generate a history entry.
     47          setTimeout(function() { testWindow.frames[0].location.href = 'resources/history-subframe-with-name-3.html' }, 0);
    4648          break;
    4749      case 2:
     
    5759          break;
    5860      default:
    59           testFailed('Should not be in state ' + currentState);
     61          testFailed('Should not be in state ' + currentState + ". currentPageId is " + currentPageId);
    6062          break;
    6163    }
  • trunk/LayoutTests/fast/history/resources/history-subframe-with-name-2.html

    r156362 r156431  
    99      }
    1010      parent.opener.onFrameLoaded(2);
    11       // Make sure we generate a history entry
    12       setTimeout(function() {location.href = 'history-subframe-with-name-3.html';}, 0);
    1311  }
    1412</script>
Note: See TracChangeset for help on using the changeset viewer.