Changeset 223008 in webkit


Ignore:
Timestamp:
Oct 6, 2017 4:06:07 PM (6 years ago)
Author:
Ryan Haddad
Message:

LayoutTest http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=177679

Reviewed by Alexey Proskuryakov.

Move runTest() from an inline script to a load event handler to avoid a race between parsing and navigation.

  • http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction-expected.txt:
  • http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r223006 r223008  
     12017-10-06  Ryan Haddad  <ryanhaddad@apple.com>
     2
     3        LayoutTest http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html is a flaky failure
     4        https://bugs.webkit.org/show_bug.cgi?id=177679
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        Move runTest() from an inline script to a load event handler to avoid a race between parsing and navigation.
     9
     10        * http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction-expected.txt:
     11        * http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html:
     12
    1132017-10-05  Joseph Pecoraro  <pecoraro@apple.com>
    214
  • trunk/LayoutTests/http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction-expected.txt

    r214270 r223008  
    33main frame - didReceiveTitle: Test for Partitioned Cookies With and Without User Interaction
    44main frame - didChangeLocationWithinPageForFrame
     5main frame - didFinishDocumentLoadForFrame
    56main frame - willPerformClientRedirectToURL: http://localhost:8000/loading/resourceLoadStatistics/resources/set-cookie.php?name=firstPartyCookie&value=value#http://127.0.0.1:8000/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html#step2
    6 main frame - didFinishDocumentLoadForFrame
     7main frame - didHandleOnloadEventsForFrame
    78main frame - didFinishLoadForFrame
    89main frame - didStartProvisionalLoadForFrame
     
    1718main frame - didCommitLoadForFrame
    1819main frame - didReceiveTitle: Test for Partitioned Cookies With and Without User Interaction
     20main frame - didFinishDocumentLoadForFrame
    1921main frame - didChangeLocationWithinPageForFrame
    2022frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame
    21 main frame - didFinishDocumentLoadForFrame
     23main frame - didHandleOnloadEventsForFrame
    2224frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame
    2325frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame
    24 main frame - didHandleOnloadEventsForFrame
    2526main frame - didChangeLocationWithinPageForFrame
    2627frame "<!--framePath //<!--frame1-->-->" - didStartProvisionalLoadForFrame
     
    4344frame "<!--framePath //<!--frame3-->-->" - didFinishLoadForFrame
    4445main frame - didFinishLoadForFrame
    45  
     46
    4647
    4748--------
  • trunk/LayoutTests/http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html

    r219323 r223008  
    66    <script src="../../resources/js-test-pre.js"></script>
    77</head>
    8 <body>
     8<body onload="runTest()">
    99<script>
    1010    const partitionHost = "127.0.0.1:8000";
     
    8080        document.location.hash = "step1";
    8181    }
    82 
    83     runTest();
    8482</script>
    8583</body>
Note: See TracChangeset for help on using the changeset viewer.