Changeset 226479 in webkit


Ignore:
Timestamp:
Jan 5, 2018, 5:49:47 PM (7 years ago)
Author:
achristensen@apple.com
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.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r226472 r226479  
     12018-01-05  Alex Christensen  <achristensen@webkit.org>
     2
     3        Rebase API test after r226469
     4        https://bugs.webkit.org/show_bug.cgi?id=181308
     5
     6        * TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm:
     7        (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
     8        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.
     9
    1102018-01-05  Alex Christensen  <achristensen@webkit.org>
    211
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm

    r221505 r226479  
    5555- (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(WKNavigation *)navigation withError:(NSError *)error
    5656{
    57     EXPECT_WK_STREQ(error.domain, @"NSURLErrorDomain");
    58     EXPECT_EQ(error.code, -1003);
     57    EXPECT_WK_STREQ(error.domain, @"WebKitErrorDomain");
     58    EXPECT_EQ(error.code, 101);
    5959    EXPECT_TRUE([error.userInfo[@"NSErrorFailingURLKey"] isEqual:literalURL(literal)]);
    6060
Note: See TracChangeset for help on using the changeset viewer.