Title: [236764] trunk/Tools
Revision
236764
Author
cdu...@apple.com
Date
2018-10-02 13:44:27 -0700 (Tue, 02 Oct 2018)

Log Message

REGRESSION: TestWebKitAPI.WKWebView.ProvisionalURLNotChange API test is failing
https://bugs.webkit.org/show_bug.cgi?id=190176
<rdar://problem/44925871>

Reviewed by Alex Christensen.

Use a URL that is truly recognized as invalid by WebCore's URL parser.

* TestWebKitAPI/Tests/WebKitCocoa/ProvisionalURLNotChange.mm:
(TEST):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (236763 => 236764)


--- trunk/Tools/ChangeLog	2018-10-02 20:26:15 UTC (rev 236763)
+++ trunk/Tools/ChangeLog	2018-10-02 20:44:27 UTC (rev 236764)
@@ -1,3 +1,16 @@
+2018-10-02  Chris Dumez  <cdu...@apple.com>
+
+        REGRESSION: TestWebKitAPI.WKWebView.ProvisionalURLNotChange API test is failing
+        https://bugs.webkit.org/show_bug.cgi?id=190176
+        <rdar://problem/44925871>
+
+        Reviewed by Alex Christensen.
+
+        Use a URL that is truly recognized as invalid by WebCore's URL parser.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/ProvisionalURLNotChange.mm:
+        (TEST):
+
 2018-10-02  Alex Christensen  <achristen...@webkit.org>
 
         Remove ParsedURLString

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProvisionalURLNotChange.mm (236763 => 236764)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProvisionalURLNotChange.mm	2018-10-02 20:26:15 UTC (rev 236763)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProvisionalURLNotChange.mm	2018-10-02 20:44:27 UTC (rev 236764)
@@ -52,7 +52,8 @@
     TestWebKitAPI::Util::run(&isDone);
     isDone = false;
 
-    [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.webkit.org!"]]];
+    NSURL *invalidURL = [NSURL URLWithString:@"https://a@/b"];
+    [webView loadRequest:[NSURLRequest requestWithURL:invalidURL]];
     TestWebKitAPI::Util::run(&isDone);
     isDone = false;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to