Title: [273476] trunk/Tools
- Revision
- 273476
- Author
- rn...@webkit.org
- Date
- 2021-02-24 23:32:19 -0800 (Wed, 24 Feb 2021)
Log Message
Build fix after r273465.
* TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (273475 => 273476)
--- trunk/Tools/ChangeLog 2021-02-25 07:00:48 UTC (rev 273475)
+++ trunk/Tools/ChangeLog 2021-02-25 07:32:19 UTC (rev 273476)
@@ -1,3 +1,9 @@
+2021-02-24 Ryosuke Niwa <rn...@webkit.org>
+
+ Build fix after r273465.
+
+ * TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm:
+
2021-02-24 Kate Cheney <katherine_che...@apple.com>
App-bound request parameter should be passed to main resource requests not the main frame
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm (273475 => 273476)
--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm 2021-02-25 07:00:48 UTC (rev 273475)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm 2021-02-25 07:32:19 UTC (rev 273476)
@@ -1537,6 +1537,7 @@
auto configuration = adoptNS([[WKWebViewConfiguration alloc] init]);
[configuration _setOverrideContentSecurityPolicy:@"script-src 'nonce-b'"];
+ __block bool isDone = false;
auto webView = adoptNS([[TestWKWebView alloc] initWithFrame:NSMakeRect(0, 0, 800, 600) configuration:configuration.get()]);
NSMutableURLRequest *nonAppBoundRequest = [NSMutableURLRequest requestWithURL:[[NSBundle mainBundle] URLForResource:@"page-with-csp" withExtension:@"html" subdirectory:@"TestWebKitAPI.resources"]];
APP_BOUND_REQUEST_ADDITIONS
@@ -1546,7 +1547,6 @@
[webView waitForMessage:@"MainFrame: B"];
[webView waitForMessage:@"Subframe: B"];
- __block bool isDone = false;
[webView _appBoundNavigationData: ^(struct WKAppBoundNavigationTestingData data) {
EXPECT_FALSE(data.hasLoadedAppBoundRequestTesting);
EXPECT_TRUE(data.hasLoadedNonAppBoundRequestTesting);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes