Title: [241912] branches/safari-607-branch/Tools
- Revision
- 241912
- Author
- [email protected]
- Date
- 2019-02-21 14:55:22 -0800 (Thu, 21 Feb 2019)
Log Message
Cherry-pick r241736. rdar://problem/48243264
Fix API test after r241728
https://bugs.webkit.org/show_bug.cgi?id=194723
* TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm:
(TEST):
The test should check the default preference value, not make sure the preference is NO after setting it to YES :/
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-607-branch/Tools/ChangeLog (241911 => 241912)
--- branches/safari-607-branch/Tools/ChangeLog 2019-02-21 22:55:19 UTC (rev 241911)
+++ branches/safari-607-branch/Tools/ChangeLog 2019-02-21 22:55:22 UTC (rev 241912)
@@ -1,5 +1,29 @@
2019-02-21 Alan Coon <[email protected]>
+ Cherry-pick r241736. rdar://problem/48243264
+
+ Fix API test after r241728
+ https://bugs.webkit.org/show_bug.cgi?id=194723
+
+ * TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm:
+ (TEST):
+ The test should check the default preference value, not make sure the preference is NO after setting it to YES :/
+
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2019-02-18 Alex Christensen <[email protected]>
+
+ Fix API test after r241728
+ https://bugs.webkit.org/show_bug.cgi?id=194723
+
+ * TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm:
+ (TEST):
+ The test should check the default preference value, not make sure the preference is NO after setting it to YES :/
+
+2019-02-21 Alan Coon <[email protected]>
+
Cherry-pick r241728. rdar://problem/48243264
Disable safe browsing in WKWebView and remove its WKPreferences API
Modified: branches/safari-607-branch/Tools/TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm (241911 => 241912)
--- branches/safari-607-branch/Tools/TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm 2019-02-21 22:55:19 UTC (rev 241911)
+++ branches/safari-607-branch/Tools/TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm 2019-02-21 22:55:22 UTC (rev 241912)
@@ -170,9 +170,9 @@
};
auto webView = adoptNS([WKWebView new]);
+ EXPECT_FALSE([webView configuration].preferences._safeBrowsingEnabled);
[webView configuration].preferences._safeBrowsingEnabled = YES;
[webView setNavigationDelegate:delegate.get()];
- EXPECT_FALSE([webView configuration].preferences._safeBrowsingEnabled);
[webView configuration].preferences._safeBrowsingEnabled = YES;
[webView loadRequest:[NSURLRequest requestWithURL:resourceURL(@"simple")]];
while (![webView _safeBrowsingWarning])
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes