Title: [227562] branches/safari-605-branch/Tools
Revision
227562
Author
ryanhad...@apple.com
Date
2018-01-24 13:57:20 -0800 (Wed, 24 Jan 2018)

Log Message

Cherry-pick r226897. rdar://problem/36837397

Modified Paths

Diff

Modified: branches/safari-605-branch/Tools/ChangeLog (227561 => 227562)


--- branches/safari-605-branch/Tools/ChangeLog	2018-01-24 21:55:57 UTC (rev 227561)
+++ branches/safari-605-branch/Tools/ChangeLog	2018-01-24 21:57:20 UTC (rev 227562)
@@ -1,3 +1,20 @@
+2018-01-24  Ryan Haddad  <ryanhad...@apple.com>
+
+        Cherry-pick r226897. rdar://problem/36837397
+
+    2018-01-12  Alex Christensen  <achristen...@webkit.org>
+
+            REGRESSION (r226818): API test WebKitLegacy.LoadInvalidURLRequest is failing
+            https://bugs.webkit.org/show_bug.cgi?id=181595
+
+            This test was testing behavior of an invalid URL that WebCore parses but NSURL does not.
+            It was using example.com<> but after r226479 < and > are considered invalid by WebCore.
+            I change the < and > to $ to make this test pass and continue to test what it used to.
+
+            * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.html:
+            * TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm:
+            (-[LoadInvalidURLWebFrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
+
 2018-01-23  Jason Marcell  <jmarc...@apple.com>
 
         Cherry-pick r227457. rdar://problem/36807161

Modified: branches/safari-605-branch/Tools/TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.html (227561 => 227562)


--- branches/safari-605-branch/Tools/TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.html	2018-01-24 21:55:57 UTC (rev 227561)
+++ branches/safari-605-branch/Tools/TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.html	2018-01-24 21:57:20 UTC (rev 227562)
@@ -3,7 +3,7 @@
 <head>
 </head>
 <body>
-    <a id="href" href=""
+    <a id="href" href=""
     <script>
         var element = document.getElementById("href");
         element.click();

Modified: branches/safari-605-branch/Tools/TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm (227561 => 227562)


--- branches/safari-605-branch/Tools/TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm	2018-01-24 21:55:57 UTC (rev 227561)
+++ branches/safari-605-branch/Tools/TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm	2018-01-24 21:57:20 UTC (rev 227562)
@@ -50,7 +50,7 @@
     EXPECT_WK_STREQ(error.domain, @"WebKitErrorDomain");
     EXPECT_EQ(error.code, WebKitErrorCannotShowURL);
 
-    static char literal[] = "https://www.example.com<>/";
+    static char literal[] = "https://www.example.com$/";
     NSURL *failedURL = WebCore::URLWithData([NSData dataWithBytes:literal length:strlen(literal)], nil);
     EXPECT_TRUE([error.userInfo[@"NSErrorFailingURLKey"] isEqual:failedURL]);
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to