Title: [226479] trunk/Tools
Revision
226479
Author
[email protected]
Date
2018-01-05 17:49:47 -0800 (Fri, 05 Jan 2018)

Log Message

Rebase API test after r226469
https://bugs.webkit.org/show_bug.cgi?id=181308

* TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm:
(-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
A URL with < or > in it is now recognized as invalid by WebKit.  This is intentional, and matches our behavior before enabling the new URLParser.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (226478 => 226479)


--- trunk/Tools/ChangeLog	2018-01-06 01:29:12 UTC (rev 226478)
+++ trunk/Tools/ChangeLog	2018-01-06 01:49:47 UTC (rev 226479)
@@ -1,5 +1,14 @@
 2018-01-05  Alex Christensen  <[email protected]>
 
+        Rebase API test after r226469
+        https://bugs.webkit.org/show_bug.cgi?id=181308
+
+        * TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm:
+        (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
+        A URL with < or > in it is now recognized as invalid by WebKit.  This is intentional, and matches our behavior before enabling the new URLParser.
+
+2018-01-05  Alex Christensen  <[email protected]>
+
         Restrict navigation-time WKWebsiteDataStore swapping to main frame navigations
         https://bugs.webkit.org/show_bug.cgi?id=181217
 

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm (226478 => 226479)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm	2018-01-06 01:29:12 UTC (rev 226478)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm	2018-01-06 01:49:47 UTC (rev 226479)
@@ -54,8 +54,8 @@
 
 - (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(WKNavigation *)navigation withError:(NSError *)error
 {
-    EXPECT_WK_STREQ(error.domain, @"NSURLErrorDomain");
-    EXPECT_EQ(error.code, -1003);
+    EXPECT_WK_STREQ(error.domain, @"WebKitErrorDomain");
+    EXPECT_EQ(error.code, 101);
     EXPECT_TRUE([error.userInfo[@"NSErrorFailingURLKey"] isEqual:literalURL(literal)]);
 
     didFailProvisionalLoad = true;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to