Title: [264541] trunk/LayoutTests/imported/w3c
Revision
264541
Author
[email protected]
Date
2020-07-17 15:45:01 -0700 (Fri, 17 Jul 2020)

Log Message

Unreviewed, drop a couple of Fetch WPT tests that were dropped upstream

Those failed to get dropped during the recent resync in r264144.

* web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-expected.txt: Removed.
* web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-worker-expected.txt: Removed.
* web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-worker.html: Removed.
* web-platform-tests/fetch/api/redirect/redirect-count-cross-origin.html: Removed.
* web-platform-tests/fetch/api/redirect/redirect-count-cross-origin.js: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (264540 => 264541)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2020-07-17 22:42:40 UTC (rev 264540)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2020-07-17 22:45:01 UTC (rev 264541)
@@ -1,3 +1,15 @@
+2020-07-17  Chris Dumez  <[email protected]>
+
+        Unreviewed, drop a couple of Fetch WPT tests that were dropped upstream
+
+        Those failed to get dropped during the recent resync in r264144.
+
+        * web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-expected.txt: Removed.
+        * web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-worker-expected.txt: Removed.
+        * web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-worker.html: Removed.
+        * web-platform-tests/fetch/api/redirect/redirect-count-cross-origin.html: Removed.
+        * web-platform-tests/fetch/api/redirect/redirect-count-cross-origin.js: Removed.
+
 2020-07-17  Clark Wang  <[email protected]>
 
         Added Fixes for AudioScheduledSourceNode

Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-expected.txt (264540 => 264541)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-expected.txt	2020-07-17 22:42:40 UTC (rev 264540)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-expected.txt	2020-07-17 22:45:01 UTC (rev 264541)
@@ -1,10 +0,0 @@
-
-FAIL Redirect 20 times, last redirection to cross-origin assert_equals: Response's status is 200 expected 200 but got 404
-FAIL Redirect 21 times, last redirection to cross-origin assert_unreached: Should have rejected: undefined Reached unreachable code
-FAIL Redirect 20 times, going to cross-origin after 10 assert_equals: Response's status is 200 expected 200 but got 404
-FAIL Redirect 21 times, going to cross-origin after 10 assert_unreached: Should have rejected: undefined Reached unreachable code
-FAIL Redirect 20 times, last redirection to cross-origin with preflight assert_equals: Response's status is 200 expected 200 but got 404
-FAIL Redirect 21 times, last redirection to cross-origin with preflight assert_unreached: Should have rejected: undefined Reached unreachable code
-FAIL Redirect 20 times, going to cross-origin after 10 with preflight assert_equals: Response's status is 200 expected 200 but got 404
-FAIL Redirect 21 times, going to cross-origin after 10 with preflight assert_unreached: Should have rejected: undefined Reached unreachable code
-

Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-worker-expected.txt (264540 => 264541)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-worker-expected.txt	2020-07-17 22:42:40 UTC (rev 264540)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-worker-expected.txt	2020-07-17 22:45:01 UTC (rev 264541)
@@ -1,10 +0,0 @@
-
-FAIL Redirect 20 times, last redirection to cross-origin assert_equals: Response's status is 200 expected 200 but got 404
-FAIL Redirect 21 times, last redirection to cross-origin assert_unreached: Should have rejected: undefined Reached unreachable code
-FAIL Redirect 20 times, going to cross-origin after 10 assert_equals: Response's status is 200 expected 200 but got 404
-FAIL Redirect 21 times, going to cross-origin after 10 assert_unreached: Should have rejected: undefined Reached unreachable code
-FAIL Redirect 20 times, last redirection to cross-origin with preflight assert_equals: Response's status is 200 expected 200 but got 404
-FAIL Redirect 21 times, last redirection to cross-origin with preflight assert_unreached: Should have rejected: undefined Reached unreachable code
-FAIL Redirect 20 times, going to cross-origin after 10 with preflight assert_equals: Response's status is 200 expected 200 but got 404
-FAIL Redirect 21 times, going to cross-origin after 10 with preflight assert_unreached: Should have rejected: undefined Reached unreachable code
-

Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-worker.html (264540 => 264541)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-worker.html	2020-07-17 22:42:40 UTC (rev 264540)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin-worker.html	2020-07-17 22:45:01 UTC (rev 264541)
@@ -1,15 +0,0 @@
-<!doctype html>
-<html>
-  <head>
-    <meta charset="utf-8">
-    <title>Fetch in worker: redirection loop with cross-origin redirections</title>
-    <meta name="help" href=""
-    <script src=""
-    <script src=""
-  </head>
-  <body>
-    <script>
-      fetch_tests_from_worker(new Worker("redirect-count-cross-origin.js"));
-    </script>
-  </body>
-</html>

Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin.html (264540 => 264541)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin.html	2020-07-17 22:42:40 UTC (rev 264540)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin.html	2020-07-17 22:45:01 UTC (rev 264541)
@@ -1,16 +0,0 @@
-<!doctype html>
-<html>
-  <head>
-    <meta charset="utf-8">
-    <title>Fetch: redirection loop, then redirection to a cross origin</title>
-    <meta name="help" href=""
-    <script src=""
-    <script src=""
-  </head>
-  <body>
-    <script src=""
-    <script src=""
-    <script src=""
-    <script src=""
-  </body>
-</html>

Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin.js (264540 => 264541)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin.js	2020-07-17 22:42:40 UTC (rev 264540)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-count-cross-origin.js	2020-07-17 22:45:01 UTC (rev 264541)
@@ -1,59 +0,0 @@
-if (this.document === undefined) {
-  importScripts("/resources/testharness.js");
-  importScripts("../resources/utils.js");
-  importScripts("/common/utils.js");
-  importScripts("/common/get-host-info.sub.js");
-}
-
-function redirectCount(desc, redirectUrl, redirectLocation, redirectStatus, maxCount1, maxCount2, requirePreflight)
-{
-  var allow_headers = "";
-  var requestInit = {"redirect": "follow"};
-  if (requirePreflight) {
-      requestInit.headers = [["x-test", "test"]];
-      allow_headers = "&allow_headers=x-test";
-  }
-
-  var uuid_token = token();
-
-  var urlParameters = "?token=" + uuid_token + "&max_age=0";
-  urlParameters += "&redirect_status=" + redirectStatus;
-  urlParameters += "&max_count=" + maxCount1;
-  urlParameters += allow_headers;
-  urlParameters += "&location=" + encodeURIComponent(redirectLocation + "?token=" + uuid_token + "&max_age=0&max_count=" + (maxCount1 + maxCount2) + allow_headers);
-
-  var maxCount = maxCount1 + maxCount2;
-  var url = ""
-  promise_test(function(test) {
-    return fetch(RESOURCES_DIR + "clean-stash.py?token=" + uuid_token).then(function(resp) {
-      assert_equals(resp.status, 200, "Clean stash response's status is 200");
-
-      if (maxCount > 20)
-        return promise_rejects(test, new TypeError(), fetch(url + urlParameters, requestInit));
-
-      return fetch(url + urlParameters, requestInit).then(function(resp) {
-        assert_equals(resp.status, 200, "Response's status is 200");
-        return resp.text();
-      }).then(function(body) {
-        assert_equals(body, maxCount.toString(), "Redirected " + maxCount + " times");
-      });
-    });
-  }, desc);
-}
-
-var redirUrl = "/fetch/api/resources/redirect-count.py";
-var crossOriginRedirUrl = get_host_info().HTTP_ORIGIN_WITH_DIFFERENT_PORT + redirUrl;
-
-redirectCount("Redirect 20 times, last redirection to cross-origin", redirUrl, crossOriginRedirUrl, 301, 19, 1);
-redirectCount("Redirect 21 times, last redirection to cross-origin", redirUrl, crossOriginRedirUrl, 301, 20, 1);
-
-redirectCount("Redirect 20 times, going to cross-origin after 10", redirUrl, crossOriginRedirUrl, 302, 10, 10);
-redirectCount("Redirect 21 times, going to cross-origin after 10", redirUrl, crossOriginRedirUrl, 302, 10, 11);
-
-redirectCount("Redirect 20 times, last redirection to cross-origin with preflight", redirUrl, crossOriginRedirUrl, 301, 19, 1, true);
-redirectCount("Redirect 21 times, last redirection to cross-origin with preflight", redirUrl, crossOriginRedirUrl, 301, 20, 1, true);
-
-redirectCount("Redirect 20 times, going to cross-origin after 10 with preflight", redirUrl, crossOriginRedirUrl, 303, 10, 10, true);
-redirectCount("Redirect 21 times, going to cross-origin after 10 with preflight", redirUrl, crossOriginRedirUrl, 303, 10, 11, true);
-
-done();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to