Changeset 207184 in webkit


Ignore:
Timestamp:
Oct 11, 2016 7:06:59 PM (7 years ago)
Author:
achristensen@apple.com
Message:

Update API test expectation after r207162.

https://bugs.webkit.org/show_bug.cgi?id=162660

  • TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm:

(-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
Like r207167 but with a WebKit2 test.
"https://www.example.com<>/" was an invalid URL with the old URL parser, is now valid with URLParser but not with NSURL's parser.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r207167 r207184  
     12016-10-11  Alex Christensen  <achristensen@webkit.org>
     2
     3        Update API test expectation after r207162.
     4       ​https://bugs.webkit.org/show_bug.cgi?id=162660
     5
     6        * TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm:
     7        (-[LoadInvalidURLNavigationActionDelegate webView:didFailProvisionalNavigation:withError:]):
     8        Like r207167 but with a WebKit2 test.
     9        "https://www.example.com<>/" was an invalid URL with the old URL parser, is now valid with URLParser but not with NSURL's parser.
     10
    1112016-10-11  Alex Christensen  <achristensen@webkit.org>
    212
  • trunk/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/LoadInvalidURLRequest.mm

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