Index: third_party/WebKit/LayoutTests/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d7a8aa9feea3516ffa57899dd9bf31df360cfb1d |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/fetch/api/request/request-cache-only-if-cached-expected.txt |
@@ -0,0 +1,17 @@ |
+This is a testharness.js-based test. |
+FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Etag and stale response assert_equals: expected 1 but got 2 |
+FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for stale responses with Last-Modified and stale response assert_equals: expected 1 but got 2 |
+PASS RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Etag and fresh response |
+PASS RequestCache "only-if-cached" mode checks the cache for previously cached content and avoids revalidation for fresh responses with Last-Modified and fresh response |
+FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Etag and fresh response assert_true: fetch should have been an error expected true got false |
+FAIL RequestCache "only-if-cached" mode checks the cache for previously cached content and does not go to the network if a cached response is not found with Last-Modified and fresh response assert_true: fetch should have been an error expected true got false |
+PASS RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and fresh response |
+PASS RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Last-Modified and fresh response |
+FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Etag and stale response assert_equals: expected 2 but got 4 |
+FAIL RequestCache "only-if-cached" (with "same-origin") uses cached same-origin redirects to same-origin content with Last-Modified and stale response assert_equals: expected 2 but got 4 |
+PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and fresh response |
+PASS RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Last-Modified and fresh response |
+FAIL RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Etag and stale response assert_equals: expected 2 but got 3 |
+FAIL RequestCache "only-if-cached" (with "same-origin") does not follow redirects across origins and rejects with Last-Modified and stale response assert_equals: expected 2 but got 3 |
+Harness: the test ran to completion. |
+ |