Changeset 226897 in webkit
- Timestamp:
- Jan 12, 2018, 10:26:53 AM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r226879 r226897 1 2018-01-12 Alex Christensen <achristensen@webkit.org> 2 3 REGRESSION (r226818): API test WebKitLegacy.LoadInvalidURLRequest is failing 4 https://bugs.webkit.org/show_bug.cgi?id=181595 5 6 This test was testing behavior of an invalid URL that WebCore parses but NSURL does not. 7 It was using example.com<> but after r226479 < and > are considered invalid by WebCore. 8 I change the < and > to $ to make this test pass and continue to test what it used to. 9 10 * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.html: 11 * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm: 12 (-[LoadInvalidURLWebFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]): 13 1 14 2018-01-11 Keith Miller <keith_miller@apple.com> 2 15 -
trunk/Tools/TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.html
r198956 r226897 4 4 </head> 5 5 <body> 6 <a id="href" href="https://www.example.com <>/">https://www.example.com<>/</a>6 <a id="href" href="https://www.example.com$/">https://www.example.com$/</a> 7 7 <script> 8 8 var element = document.getElementById("href"); -
trunk/Tools/TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm
r221505 r226897 51 51 EXPECT_EQ(error.code, WebKitErrorCannotShowURL); 52 52 53 static char literal[] = "https://www.example.com <>/";53 static char literal[] = "https://www.example.com$/"; 54 54 NSURL *failedURL = WebCore::URLWithData([NSData dataWithBytes:literal length:strlen(literal)], nil); 55 55 EXPECT_TRUE([error.userInfo[@"NSErrorFailingURLKey"] isEqual:failedURL]);
Note:
See TracChangeset
for help on using the changeset viewer.