Title: [285411] trunk/Tools
Revision
285411
Author
[email protected]
Date
2021-11-08 10:05:22 -0800 (Mon, 08 Nov 2021)

Log Message

[ iOS15 EWS ] TestWebKitAPI.AppPrivacyReport.LoadSimulatedRequest tests are timing out
https://bugs.webkit.org/show_bug.cgi?id=232166
<rdar://problem/84560948>

Reviewed by Alex Christensen.

* TestWebKitAPI/Tests/WebKitCocoa/AppPrivacyReport.mm:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (285410 => 285411)


--- trunk/Tools/ChangeLog	2021-11-08 17:57:56 UTC (rev 285410)
+++ trunk/Tools/ChangeLog	2021-11-08 18:05:22 UTC (rev 285411)
@@ -1,3 +1,13 @@
+2021-11-08  Kate Cheney  <[email protected]>
+
+        [ iOS15 EWS ] TestWebKitAPI.AppPrivacyReport.LoadSimulatedRequest tests are timing out
+        https://bugs.webkit.org/show_bug.cgi?id=232166
+        <rdar://problem/84560948>
+
+        Reviewed by Alex Christensen.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/AppPrivacyReport.mm:
+
 2021-11-07  Simon Fraser  <[email protected]>
 
         Fix the CGEvent types used for wheel event generation from streams

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/AppPrivacyReport.mm (285410 => 285411)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/AppPrivacyReport.mm	2021-11-08 17:57:56 UTC (rev 285410)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/AppPrivacyReport.mm	2021-11-08 18:05:22 UTC (rev 285411)
@@ -707,10 +707,11 @@
     auto delegate = adoptNS([[TestNavigationDelegate alloc] init]);
     [webView setNavigationDelegate:delegate.get()];
 
-    NSMutableURLRequest *loadRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"https://webkit.org"]];
+    NSMutableURLRequest *loadRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]];
     loadRequest.attribution = isAppInitiated == IsAppInitiated::Yes ? NSURLRequestAttributionDeveloper : NSURLRequestAttributionUser;
 
-    NSString *HTML = @"<html><head></head><body><img src=''></img></body></html>";
+    NSString *HTML = @"<html><head></head><body><iframe src=''></iframe></body></html>";
+
     [webView loadSimulatedRequest:loadRequest responseHTMLString:HTML];
     [delegate waitForDidFinishNavigation];
 
@@ -725,12 +726,12 @@
 }
 
 // FIXME: Re-enable these two tests once webkit.org/b/232166 is resolved.
-TEST(AppPrivacyReport, DISABLED_LoadSimulatedRequestIsAppInitiated)
+TEST(AppPrivacyReport, LoadSimulatedRequestIsAppInitiated)
 {
     loadSimulatedRequestTest(IsAppInitiated::Yes);
 }
 
-TEST(AppPrivacyReport, DISABLED_LoadSimulatedRequestIsNonAppInitiated)
+TEST(AppPrivacyReport, LoadSimulatedRequestIsNonAppInitiated)
 {
     loadSimulatedRequestTest(IsAppInitiated::No);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to