[Fetch API] Test gardening
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Aug 2016 08:07:43 +0000 (08:07 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Aug 2016 08:07:43 +0000 (08:07 +0000)
https://bugs.webkit.org/show_bug.cgi?id=161128

Unreviewed.

Patch by Youenn Fablet <youenn@apple.com> on 2016-08-24

* TestExpectations:
* platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-expected.txt:
* platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-worker-expected.txt:
* platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt: Added.
* platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-worker-expected.txt: Added.
* platform/mac-wk2/TestExpectations:
* platform/win/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@204891 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-expected.txt
LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-worker-expected.txt
LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-worker-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-wk2/TestExpectations
LayoutTests/platform/win/TestExpectations

index d566849..f72983a 100644 (file)
@@ -1,3 +1,18 @@
+2016-08-24  Youenn Fablet  <youenn@apple.com>
+
+        [Fetch API] Test gardening
+        https://bugs.webkit.org/show_bug.cgi?id=161128
+
+        Unreviewed.
+
+        * TestExpectations:
+        * platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-expected.txt:
+        * platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-worker-expected.txt:
+        * platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt: Added.
+        * platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-worker-expected.txt: Added.
+        * platform/mac-wk2/TestExpectations:
+        * platform/win/TestExpectations:
+
 2016-08-23  Zalan Bujtas  <zalan@apple.com>
 
         ASSERTION FAILED: !view().layoutStateEnabled() || style().styleType() == FIRST_LETTER in WebCore::RenderInline::clippedOverflowRectForRepaint
index c9b6eac..deecb97 100644 (file)
@@ -500,9 +500,8 @@ imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-to-non-cors.htm [ S
 # Failing assertion with dynamic message
 imported/w3c/web-platform-tests/XMLHttpRequest/responsexml-document-properties.htm [ Failure ]
 
-webkit.org/b/160510 http/tests/fetch/fetch-in-worker-crash.html [ Failure Crash Pass ]
 imported/w3c/web-platform-tests/fetch/api/request/request-cache.html [ Skip ]
-[ Release ] imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker.html [ Failure Pass ]
+
 [ Debug ] imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker.html [ Skip ]
 [ Debug ] imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker.html [ Skip ]
 [ Debug ] imported/w3c/web-platform-tests/fetch/api/cors/cors-filtering-worker.html [ Skip ]
@@ -528,6 +527,7 @@ imported/w3c/web-platform-tests/fetch/api/request/request-cache.html [ Skip ]
 [ Debug ] imported/w3c/web-platform-tests/fetch/api/redirect/redirect-mode-worker.html [ Skip ]
 [ Debug ] imported/w3c/web-platform-tests/fetch/api/redirect/redirect-origin-worker.html [ Skip ]
 [ Debug ] imported/w3c/web-platform-tests/fetch/nosniff/worker.html [ Skip ]
+webkit.org/b/160510 [ Debug ] http/tests/fetch/fetch-in-worker-crash.html [ Crash ]
 
 webkit.org/b/157068 imported/w3c/web-platform-tests/fetch/nosniff/importscripts.html [ Skip ]
 webkit.org/b/157145 imported/w3c/web-platform-tests/fetch/nosniff/stylesheet.html [ Failure Pass ]
index a005963..a933353 100644 (file)
@@ -1,11 +1,14 @@
 
-FAIL Fetch with GET assert_equals: Request has header origin: http://localhost:8800 expected (string) "http://localhost:8800" but got (object) null
-FAIL Fetch with HEAD assert_equals: Request has header origin: http://localhost:8800 expected (string) "http://localhost:8800" but got (object) null
-FAIL Fetch with HEAD with body promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL Fetch with GET assert_equals: Request should have header origin: http://localhost:8800 expected (string) "http://localhost:8800" but got (object) null
+FAIL Fetch with HEAD assert_equals: Request should have header origin: http://localhost:8800 expected (string) "http://localhost:8800" but got (object) null
 PASS Fetch with PUT without body 
 PASS Fetch with PUT with body 
 PASS Fetch with POST without body 
-PASS Fetch with POST with body 
+PASS Fetch with POST with text body 
+FAIL Fetch with POST with FormData body promise_test: Unhandled rejection with value: object "TypeError: Uploading FormData is not yet implemented"
+PASS Fetch with POST with Blob body 
+FAIL Fetch with POST with ArrayBuffer body promise_test: Unhandled rejection with value: object "TypeError: Type error"
+PASS Fetch with POST with Blob body with mime type 
 PASS Fetch with Chicken 
 PASS Fetch with Chicken with body 
 
index a005963..b8a6172 100644 (file)
@@ -1,11 +1,13 @@
 
-FAIL Fetch with GET assert_equals: Request has header origin: http://localhost:8800 expected (string) "http://localhost:8800" but got (object) null
-FAIL Fetch with HEAD assert_equals: Request has header origin: http://localhost:8800 expected (string) "http://localhost:8800" but got (object) null
-FAIL Fetch with HEAD with body promise_test: Unhandled rejection with value: object "TypeError: Type error"
+FAIL Fetch with GET assert_equals: Request should have header origin: http://localhost:8800 expected (string) "http://localhost:8800" but got (object) null
+FAIL Fetch with HEAD assert_equals: Request should have header origin: http://localhost:8800 expected (string) "http://localhost:8800" but got (object) null
 PASS Fetch with PUT without body 
 PASS Fetch with PUT with body 
 PASS Fetch with POST without body 
-PASS Fetch with POST with body 
+PASS Fetch with POST with text body 
+PASS Fetch with POST with Blob body 
+FAIL Fetch with POST with ArrayBuffer body promise_test: Unhandled rejection with value: object "TypeError: Type error"
+PASS Fetch with POST with Blob body with mime type 
 PASS Fetch with Chicken 
 PASS Fetch with Chicken with body 
 
diff --git a/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt b/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt
new file mode 100644 (file)
index 0000000..6278d35
--- /dev/null
@@ -0,0 +1,34 @@
+
+Harness Error (TIMEOUT), message = null
+
+PASS Redirect 301 in "follow" mode without location 
+PASS Redirect 301 in "manual" mode without location 
+PASS Redirect 301 in "follow" mode with invalid location 
+PASS Redirect 301 in "manual" mode with invalid location 
+PASS Redirect 301 in "follow" mode with data location 
+PASS Redirect 301 in "manual" mode with data location 
+PASS Redirect 302 in "follow" mode without location 
+PASS Redirect 302 in "manual" mode without location 
+PASS Redirect 302 in "follow" mode with invalid location 
+PASS Redirect 302 in "manual" mode with invalid location 
+PASS Redirect 302 in "follow" mode with data location 
+PASS Redirect 302 in "manual" mode with data location 
+PASS Redirect 303 in "follow" mode without location 
+PASS Redirect 303 in "manual" mode without location 
+PASS Redirect 303 in "follow" mode with invalid location 
+PASS Redirect 303 in "manual" mode with invalid location 
+PASS Redirect 303 in "follow" mode with data location 
+PASS Redirect 303 in "manual" mode with data location 
+PASS Redirect 307 in "follow" mode without location 
+PASS Redirect 307 in "manual" mode without location 
+PASS Redirect 307 in "follow" mode with invalid location 
+PASS Redirect 307 in "manual" mode with invalid location 
+PASS Redirect 307 in "follow" mode with data location 
+PASS Redirect 307 in "manual" mode with data location 
+PASS Redirect 308 in "follow" mode without location 
+PASS Redirect 308 in "manual" mode without location 
+TIMEOUT Redirect 308 in "follow" mode with invalid location Test timed out
+TIMEOUT Redirect 308 in "manual" mode with invalid location Test timed out
+TIMEOUT Redirect 308 in "follow" mode with data location Test timed out
+TIMEOUT Redirect 308 in "manual" mode with data location Test timed out
+
diff --git a/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-worker-expected.txt b/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-worker-expected.txt
new file mode 100644 (file)
index 0000000..1ad21fa
--- /dev/null
@@ -0,0 +1,15 @@
+
+PASS Response.redirected should be false on not-redirected responses 
+PASS Redirect 301 with GET 
+PASS Redirect 301 with POST 
+PASS Redirect 301 with HEAD 
+PASS Redirect 302 with GET 
+PASS Redirect 302 with POST 
+PASS Redirect 302 with HEAD 
+PASS Redirect 303 with GET 
+PASS Redirect 303 with POST 
+PASS Redirect 303 with HEAD 
+PASS Redirect 307 with GET 
+PASS Redirect 307 with POST 
+PASS Redirect 307 with HEAD 
+
index e90d0c4..9234cc0 100644 (file)
@@ -373,10 +373,6 @@ webkit.org/b/142726 [ Yosemite ] fast/images/animated-png.html [ Skip ]
 # This test fails every time on El Capitan
 [ ElCapitan ] fast/mediastream/MediaStream-video-element-video-tracks-disabled.html [ Skip ]
 
-# Hitting "The certificate for this server is invalid" loading error (not happening in WK1)
-webkit.org/b/160445 http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-fetch-in-worker.html [ Failure Timeout ]
-webkit.org/b/160445 http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-fetch-in-main-frame.html [ Failure Timeout ]
-
 ### END OF (3) Unclassified failures
 ########################################
 
@@ -524,6 +520,10 @@ webkit.org/b/158639 [ Release Yosemite ] imported/blink/storage/indexeddb/blob-d
 [ Sierra+ ] swipe/pushState-cached-back-swipe.html [ Skip ]
 [ Sierra+ ] swipe/swipe-start-hysteresis-failures.html [ Skip ]
 
+# Hitting "The certificate for this server is invalid" loading error (not happening in WK1)
+webkit.org/b/160445 [ Sierra+ ] http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-fetch-in-worker.html [ Failure ]
+webkit.org/b/160445 [ Sierra+ ] http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-fetch-in-main-frame.html [ Failure ]
+
 webkit.org/b/159447 [ Debug ] inspector/debugger/tail-deleted-frames-from-vm-entry.html [ Pass Failure ]
 
 webkit.org/b/159430 [ Debug Sierra+ ] media/restore-from-page-cache.html [ Pass Crash ]
index 9cf8bef..1781ee9 100644 (file)
@@ -3483,9 +3483,11 @@ imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors.html [ Failure ]
 imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.html [ Failure ]
 imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker.html [ Failure ]
 imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies.html [ Failure ]
+imported/w3c/web-platform-tests/fetch/api/cors/cors-cookies-worker.html [ Failure ]
 imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.html [ Failure ]
 imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight-worker.html [ Failure ]
 imported/w3c/web-platform-tests/fetch/api/credentials/cookies.html [ Failure ]
+imported/w3c/web-platform-tests/fetch/api/credentials/cookies-worker.html [ Failure ]
 imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method.html [ Failure ]
 imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-worker.html [ Failure ]
 imported/w3c/web-platform-tests/fetch/api/request/request-cache.html [ Failure ]