⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 295298 in webkit


Ignore:
Timestamp:
Jun 6, 2022, 3:04:29 PM (4 years ago)
Author:
Ryan Haddad
Message:

REGRESSION: [ iOS ] Six TestWebKitAPI.AppPrivacyReport API tests are a consistent timeout
​https://bugs.webkit.org/show_bug.cgi?id=241233
<rdar://94298162>

Reviewed by Kate Cheney.

Two tests requiring a fix were missed in 251292@main.

  • Tools/TestWebKitAPI/Tests/WebKitCocoa/AppPrivacyReport.mm:

Canonical link: ​https://commits.webkit.org/251343@main

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/AppPrivacyReport.mm

    r295237 r295298  
    530530static void runWebProcessPlugInTest(IsAppInitiated isAppInitiated)
    531531{
     532    TestWebKitAPI::HTTPServer server(TestWebKitAPI::HTTPServer::respondWithChallengeThenOK);
     533
    532534    WKWebViewConfiguration *configuration = [WKWebViewConfiguration _test_configurationWithTestPlugInClassName:@"AppPrivacyReportPlugIn"];
    533535    auto webView = adoptNS([[TestWKWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 500) configuration:configuration]);
    534536
    535     NSString *url = @"https://webkit.org";
     537    NSString *url = [NSString stringWithFormat:@"http://127.0.0.1:%d/", server.port()];
    536538
    537539    __block bool isDone = false;
Note: See TracChangeset for help on using the changeset viewer.