Title: [167627] trunk/Tools
- Revision
- 167627
- Author
- wei...@apple.com
- Date
- 2014-04-21 14:44:34 -0700 (Mon, 21 Apr 2014)
Log Message
Attempt to fix the tests.
* TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
(-[DidFailProvisionalNavigationDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
Add policy handler to override the new default of denying loads that NSURLConnection cannot handle.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (167626 => 167627)
--- trunk/Tools/ChangeLog 2014-04-21 21:36:07 UTC (rev 167626)
+++ trunk/Tools/ChangeLog 2014-04-21 21:44:34 UTC (rev 167627)
@@ -1,3 +1,11 @@
+2014-04-21 Sam Weinig <s...@webkit.org>
+
+ Attempt to fix the tests.
+
+ * TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
+ (-[DidFailProvisionalNavigationDelegate webView:decidePolicyForNavigationAction:decisionHandler:]):
+ Add policy handler to override the new default of denying loads that NSURLConnection cannot handle.
+
2014-04-21 Filip Pizlo <fpi...@apple.com>
Unreviewed test gardening, make no-eager runs run everything except eager (as opposed to
Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm (167626 => 167627)
--- trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm 2014-04-21 21:36:07 UTC (rev 167626)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm 2014-04-21 21:44:34 UTC (rev 167627)
@@ -115,6 +115,11 @@
isDone = true;
}
+- (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler
+{
+ decisionHandler(WKNavigationActionPolicyAllow);
+}
+
@end
TEST(WKNavigation, DidFailProvisionalNavigation)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes