Title: [226006] trunk/LayoutTests
Revision
226006
Author
ms2...@igalia.com
Date
2017-12-16 11:05:08 -0800 (Sat, 16 Dec 2017)

Log Message

Enable wpt fetch tests on WPE.
https://bugs.webkit.org/show_bug.cgi?id=180905

Unreviewed test gardening.

New expectations are copied from GTK.


* TestExpectations: mark test as flaky on all platforms.
* platform/wpe/TestExpectations:
* platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-worker-expected.txt: Added.
* platform/wpe/imported/w3c/web-platform-tests/fetch/http-cache/cc-request-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (226005 => 226006)


--- trunk/LayoutTests/ChangeLog	2017-12-16 18:59:29 UTC (rev 226005)
+++ trunk/LayoutTests/ChangeLog	2017-12-16 19:05:08 UTC (rev 226006)
@@ -1,3 +1,18 @@
+2017-12-16  Ms2ger  <ms2...@igalia.com>
+
+        Enable wpt fetch tests on WPE.
+        https://bugs.webkit.org/show_bug.cgi?id=180905
+
+        Unreviewed test gardening.
+
+        New expectations are copied from GTK.
+
+        * TestExpectations: mark test as flaky on all platforms.
+        * platform/wpe/TestExpectations:
+        * platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-worker-expected.txt: Added.
+        * platform/wpe/imported/w3c/web-platform-tests/fetch/http-cache/cc-request-expected.txt: Added.
+
 2017-12-16  Youenn Fablet  <you...@apple.com>
 
         Skip SharedWorker and NavigationPreload service worker tests

Modified: trunk/LayoutTests/TestExpectations (226005 => 226006)


--- trunk/LayoutTests/TestExpectations	2017-12-16 18:59:29 UTC (rev 226005)
+++ trunk/LayoutTests/TestExpectations	2017-12-16 19:05:08 UTC (rev 226006)
@@ -1647,6 +1647,8 @@
 
 webkit.org/b/177440 imported/w3c/web-platform-tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_setter_null.tentative.html [ Pass Failure ]
 
+webkit.org/b/157068 [ Debug ] imported/w3c/web-platform-tests/fetch/nosniff/importscripts.html [ Pass Crash ]
+
 # Application Manifest tests
 webkit.org/b/153152 http/tests/security/contentSecurityPolicy/manifest-src-allowed.html [ Skip ]
 webkit.org/b/153152 http/tests/security/contentSecurityPolicy/manifest-src-blocked.html [ Skip ]

Modified: trunk/LayoutTests/platform/wpe/TestExpectations (226005 => 226006)


--- trunk/LayoutTests/platform/wpe/TestExpectations	2017-12-16 18:59:29 UTC (rev 226005)
+++ trunk/LayoutTests/platform/wpe/TestExpectations	2017-12-16 19:05:08 UTC (rev 226006)
@@ -204,7 +204,6 @@
 Bug(WPE) imported/w3c/css [ Skip ]
 
 
-Bug(WPE) imported/w3c/web-platform-tests/fetch [ Skip ]
 Bug(WPE) imported/w3c/web-platform-tests/mediacapture-fromelement [ Skip ]
 Bug(WPE) imported/w3c/web-platform-tests/mediacapture-streams [ Skip ]
 Bug(WPE) imported/w3c/web-platform-tests/media-source [ Skip ]
@@ -274,6 +273,18 @@
 webkit.org/b/179881 imported/w3c/web-platform-tests/encoding/eof-shift_jis.html [ ImageOnlyFailure ]
 
 
+# WPT: fetch
+# ==========
+
+# Expectations replated to service worker support
+# -----------------------------------------------
+webkit.org/b/178576 imported/w3c/web-platform-tests/fetch/api/abort/serviceworker-intercepted.https.html [ Failure ]
+webkit.org/b/178576 imported/w3c/web-platform-tests/fetch/api/policies/referrer-no-referrer-service-worker.https.html [ Failure ]
+webkit.org/b/178576 imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-service-worker.https.html [ Failure ]
+webkit.org/b/178576 imported/w3c/web-platform-tests/fetch/api/policies/referrer-origin-when-cross-origin-service-worker.https.html [ Failure ]
+webkit.org/b/178576 imported/w3c/web-platform-tests/fetch/api/policies/referrer-unsafe-url-service-worker.https.html [ Failure ]
+
+
 # WPT: FileAPI
 # ============
 imported/w3c/web-platform-tests/FileAPI [ Pass ]

Added: trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-expected.txt (0 => 226006)


--- trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-expected.txt	2017-12-16 19:05:08 UTC (rev 226006)
@@ -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 
+

Added: trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-worker-expected.txt (0 => 226006)


--- trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-worker-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-worker-expected.txt	2017-12-16 19:05:08 UTC (rev 226006)
@@ -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 
+

Added: trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/fetch/http-cache/cc-request-expected.txt (0 => 226006)


--- trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/fetch/http-cache/cc-request-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/fetch/http-cache/cc-request-expected.txt	2017-12-16 19:05:08 UTC (rev 226006)
@@ -0,0 +1,14 @@
+
+PASS HTTP cache doesn't use aged but fresh response when request contains Cache-Control: max-age=0. 
+FAIL HTTP cache doesn't use aged but fresh response when request contains Cache-Control: max-age=1. assert_equals: Response used expected 2 but got 1
+FAIL HTTP cache doesn't use fresh response with Age header when request contains Cache-Control: max-age that is greater than remaining freshness. assert_equals: Response used expected 2 but got 1
+PASS HTTP cache does use aged stale response when request contains Cache-Control: max-stale that permits its use. 
+PASS HTTP cache does reuse stale response with Age header when request contains Cache-Control: max-stale that permits its use. 
+FAIL HTTP cache doesn't reuse fresh response when request contains Cache-Control: min-fresh that wants it fresher. assert_equals: Response used expected 2 but got 1
+FAIL HTTP cache doesn't reuse fresh response with Age header when request contains Cache-Control: min-fresh that wants it fresher. assert_equals: Response used expected 2 but got 1
+PASS HTTP cache doesn't reuse fresh response when request contains Cache-Control: no-cache. 
+PASS HTTP cache validates fresh response with Last-Modified when request contains Cache-Control: no-cache. 
+PASS HTTP cache validates fresh response with ETag when request contains Cache-Control: no-cache. 
+FAIL HTTP cache doesn't reuse fresh response when request contains Cache-Control: no-store. assert_equals: Response used expected 2 but got 1
+FAIL HTTP cache generates 504 status code when nothing is in cache and request contains Cache-Control: only-if-cached. assert_equals: Response status expected 504 but got 200
+
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to