Title: [277608] trunk/Tools
Revision
277608
Author
achristen...@apple.com
Date
2021-05-17 15:11:49 -0700 (Mon, 17 May 2021)

Log Message

Fix clean build after r277606
https://bugs.webkit.org/show_bug.cgi?id=223658

* TestWebKitAPI/Tests/WebKitCocoa/ContentSecurityPolicy.mm:
(TEST):
Use API instead of removed API.
Why EWS didn't find this, we may never know.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (277607 => 277608)


--- trunk/Tools/ChangeLog	2021-05-17 21:26:59 UTC (rev 277607)
+++ trunk/Tools/ChangeLog	2021-05-17 22:11:49 UTC (rev 277608)
@@ -1,5 +1,15 @@
 2021-05-17  Alex Christensen  <achristen...@webkit.org>
 
+        Fix clean build after r277606
+        https://bugs.webkit.org/show_bug.cgi?id=223658
+
+        * TestWebKitAPI/Tests/WebKitCocoa/ContentSecurityPolicy.mm:
+        (TEST):
+        Use API instead of removed API.
+        Why EWS didn't find this, we may never know.
+
+2021-05-17  Alex Christensen  <achristen...@webkit.org>
+
         [Cocoa] Remove prototype loadSimulatedRequest methods
         https://bugs.webkit.org/show_bug.cgi?id=223658
 

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ContentSecurityPolicy.mm (277607 => 277608)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ContentSecurityPolicy.mm	2021-05-17 21:26:59 UTC (rev 277607)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ContentSecurityPolicy.mm	2021-05-17 22:11:49 UTC (rev 277608)
@@ -101,7 +101,7 @@
         NSData *data = "" dataUsingEncoding:NSUTF8StringEncoding];
         auto response = adoptNS([[NSURLResponse alloc] initWithURL:[NSURL URLWithString:@"data:text/html"] MIMEType:@"text/HTML" expectedContentLength:[data length] textEncodingName:@"UTF-8"]);
 
-        [webView loadSimulatedRequest:loadRequest withResponse:response.get() responseData:data];
+        [webView loadSimulatedRequest:loadRequest response:response.get() responseData:data];
         [webView waitForMessage:@"document-uri: data"];
     }
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to