Changeset 252600 in webkit


Ignore:
Timestamp:
Nov 18, 2019 3:25:00 PM (4 years ago)
Author:
Chris Dumez
Message:

TestWebKitAPI.ProcessSwap.QuickBackForwardNavigationWithPSON is a flaky crash
https://bugs.webkit.org/show_bug.cgi?id=199645
<rdar://problem/52856112>

Reviewed by Alex Christensen.

Make sure the test waits for the history navigations to complete before checking the
back/forward list.

  • TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r252598 r252600  
     12019-11-18  Chris Dumez  <cdumez@apple.com>
     2
     3        TestWebKitAPI.ProcessSwap.QuickBackForwardNavigationWithPSON is a flaky crash
     4        https://bugs.webkit.org/show_bug.cgi?id=199645
     5        <rdar://problem/52856112>
     6
     7        Reviewed by Alex Christensen.
     8
     9        Make sure the test waits for the history navigations to complete before checking the
     10        back/forward list.
     11
     12        * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
     13
    1142019-11-18  Keith Rollin  <krollin@apple.com>
    215
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm

    r252459 r252600  
    23252325    }
    23262326
     2327    TestWebKitAPI::Util::run(&done);
     2328    done = false;
     2329
    23272330    Vector<String> backForwardListURLs;
    23282331    auto* backForwardList = [webView backForwardList];
     
    23322335    for (unsigned i = 0; i < backForwardList.forwardList.count; ++i)
    23332336        backForwardListURLs.append([backForwardList.forwardList[i].URL absoluteString]);
    2334     EXPECT_EQ(3u, backForwardListURLs.size());
     2337    RELEASE_ASSERT(backForwardListURLs.size() == 3u);
    23352338    EXPECT_WK_STREQ("pson://www.webkit.org/main1.html", backForwardListURLs[0]);
    23362339    EXPECT_WK_STREQ("pson://www.webkit.org/main2.html", backForwardListURLs[1]);
Note: See TracChangeset for help on using the changeset viewer.