Title: [258144] trunk/LayoutTests/imported/w3c
Revision
258144
Author
[email protected]
Date
2020-03-09 08:45:59 -0700 (Mon, 09 Mar 2020)

Log Message

Fix WPT test redirect-mode.any.html
https://bugs.webkit.org/show_bug.cgi?id=208801

Patch by Rob Buis <[email protected]> on 2020-03-09
Reviewed by Youenn Fablet.

Fix WPT test redirect-mode.any.html by also specifying the server port, this
is needed for WebKit local test runs.

* web-platform-tests/fetch/api/redirect/redirect-mode.any-expected.txt:
* web-platform-tests/fetch/api/redirect/redirect-mode.any.js:
(testRedirect):
* web-platform-tests/fetch/api/redirect/redirect-mode.any.worker-expected.txt:

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (258143 => 258144)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2020-03-09 15:32:53 UTC (rev 258143)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2020-03-09 15:45:59 UTC (rev 258144)
@@ -1,3 +1,18 @@
+2020-03-09  Rob Buis  <[email protected]>
+
+        Fix WPT test redirect-mode.any.html
+        https://bugs.webkit.org/show_bug.cgi?id=208801
+
+        Reviewed by Youenn Fablet.
+
+        Fix WPT test redirect-mode.any.html by also specifying the server port, this
+        is needed for WebKit local test runs.
+
+        * web-platform-tests/fetch/api/redirect/redirect-mode.any-expected.txt:
+        * web-platform-tests/fetch/api/redirect/redirect-mode.any.js:
+        (testRedirect):
+        * web-platform-tests/fetch/api/redirect/redirect-mode.any.worker-expected.txt:
+
 2020-03-06  Rob Buis  <[email protected]>
 
         Fix original-crossorigin-applied.sub.html WPT test

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode.any-expected.txt (258143 => 258144)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode.any-expected.txt	2020-03-09 15:32:53 UTC (rev 258143)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode.any-expected.txt	2020-03-09 15:45:59 UTC (rev 258144)
@@ -31,32 +31,32 @@
 PASS same-origin redirect 308 in follow redirect and no-cors mode 
 PASS cross-origin redirect 301 in error redirect and cors mode 
 PASS cross-origin redirect 301 in error redirect and no-cors mode 
-FAIL cross-origin redirect 301 in manual redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 301 in manual redirect and cors mode 
 PASS cross-origin redirect 301 in manual redirect and no-cors mode 
-FAIL cross-origin redirect 301 in follow redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
-FAIL cross-origin redirect 301 in follow redirect and no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 301 in follow redirect and cors mode 
+PASS cross-origin redirect 301 in follow redirect and no-cors mode 
 PASS cross-origin redirect 302 in error redirect and cors mode 
 PASS cross-origin redirect 302 in error redirect and no-cors mode 
-FAIL cross-origin redirect 302 in manual redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 302 in manual redirect and cors mode 
 PASS cross-origin redirect 302 in manual redirect and no-cors mode 
-FAIL cross-origin redirect 302 in follow redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
-FAIL cross-origin redirect 302 in follow redirect and no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 302 in follow redirect and cors mode 
+PASS cross-origin redirect 302 in follow redirect and no-cors mode 
 PASS cross-origin redirect 303 in error redirect and cors mode 
 PASS cross-origin redirect 303 in error redirect and no-cors mode 
-FAIL cross-origin redirect 303 in manual redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 303 in manual redirect and cors mode 
 PASS cross-origin redirect 303 in manual redirect and no-cors mode 
-FAIL cross-origin redirect 303 in follow redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
-FAIL cross-origin redirect 303 in follow redirect and no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 303 in follow redirect and cors mode 
+PASS cross-origin redirect 303 in follow redirect and no-cors mode 
 PASS cross-origin redirect 307 in error redirect and cors mode 
 PASS cross-origin redirect 307 in error redirect and no-cors mode 
-FAIL cross-origin redirect 307 in manual redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 307 in manual redirect and cors mode 
 PASS cross-origin redirect 307 in manual redirect and no-cors mode 
-FAIL cross-origin redirect 307 in follow redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
-FAIL cross-origin redirect 307 in follow redirect and no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 307 in follow redirect and cors mode 
+PASS cross-origin redirect 307 in follow redirect and no-cors mode 
 PASS cross-origin redirect 308 in error redirect and cors mode 
 PASS cross-origin redirect 308 in error redirect and no-cors mode 
-FAIL cross-origin redirect 308 in manual redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 308 in manual redirect and cors mode 
 PASS cross-origin redirect 308 in manual redirect and no-cors mode 
-FAIL cross-origin redirect 308 in follow redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
-FAIL cross-origin redirect 308 in follow redirect and no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 308 in follow redirect and cors mode 
+PASS cross-origin redirect 308 in follow redirect and no-cors mode 
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode.any.js (258143 => 258144)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode.any.js	2020-03-09 15:32:53 UTC (rev 258143)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode.any.js	2020-03-09 15:45:59 UTC (rev 258144)
@@ -6,6 +6,7 @@
   var url = "" URL("../resources/redirect.py", self.location);
   if (origin === "cross-origin") {
     url.host = get_host_info().REMOTE_HOST;
+    url.port = get_host_info().HTTP_PORT;
   }
 
   var urlParameters = "?redirect_status=" + redirectStatus;

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode.any.worker-expected.txt (258143 => 258144)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode.any.worker-expected.txt	2020-03-09 15:32:53 UTC (rev 258143)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode.any.worker-expected.txt	2020-03-09 15:45:59 UTC (rev 258144)
@@ -31,32 +31,32 @@
 PASS same-origin redirect 308 in follow redirect and no-cors mode 
 PASS cross-origin redirect 301 in error redirect and cors mode 
 PASS cross-origin redirect 301 in error redirect and no-cors mode 
-FAIL cross-origin redirect 301 in manual redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 301 in manual redirect and cors mode 
 PASS cross-origin redirect 301 in manual redirect and no-cors mode 
-FAIL cross-origin redirect 301 in follow redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
-FAIL cross-origin redirect 301 in follow redirect and no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 301 in follow redirect and cors mode 
+PASS cross-origin redirect 301 in follow redirect and no-cors mode 
 PASS cross-origin redirect 302 in error redirect and cors mode 
 PASS cross-origin redirect 302 in error redirect and no-cors mode 
-FAIL cross-origin redirect 302 in manual redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 302 in manual redirect and cors mode 
 PASS cross-origin redirect 302 in manual redirect and no-cors mode 
-FAIL cross-origin redirect 302 in follow redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
-FAIL cross-origin redirect 302 in follow redirect and no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 302 in follow redirect and cors mode 
+PASS cross-origin redirect 302 in follow redirect and no-cors mode 
 PASS cross-origin redirect 303 in error redirect and cors mode 
 PASS cross-origin redirect 303 in error redirect and no-cors mode 
-FAIL cross-origin redirect 303 in manual redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 303 in manual redirect and cors mode 
 PASS cross-origin redirect 303 in manual redirect and no-cors mode 
-FAIL cross-origin redirect 303 in follow redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
-FAIL cross-origin redirect 303 in follow redirect and no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 303 in follow redirect and cors mode 
+PASS cross-origin redirect 303 in follow redirect and no-cors mode 
 PASS cross-origin redirect 307 in error redirect and cors mode 
 PASS cross-origin redirect 307 in error redirect and no-cors mode 
-FAIL cross-origin redirect 307 in manual redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 307 in manual redirect and cors mode 
 PASS cross-origin redirect 307 in manual redirect and no-cors mode 
-FAIL cross-origin redirect 307 in follow redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
-FAIL cross-origin redirect 307 in follow redirect and no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 307 in follow redirect and cors mode 
+PASS cross-origin redirect 307 in follow redirect and no-cors mode 
 PASS cross-origin redirect 308 in error redirect and cors mode 
 PASS cross-origin redirect 308 in error redirect and no-cors mode 
-FAIL cross-origin redirect 308 in manual redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 308 in manual redirect and cors mode 
 PASS cross-origin redirect 308 in manual redirect and no-cors mode 
-FAIL cross-origin redirect 308 in follow redirect and cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
-FAIL cross-origin redirect 308 in follow redirect and no-cors mode promise_test: Unhandled rejection with value: object "TypeError: Could not connect to the server."
+PASS cross-origin redirect 308 in follow redirect and cors mode 
+PASS cross-origin redirect 308 in follow redirect and no-cors mode 
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to