Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/fetch/http-cache/cc-request-expected.txt

Issue 2778753002: Import //fetch from Web Platform Tests. (Closed)
Patch Set: Baselines. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/fetch/http-cache/cc-request-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/fetch/http-cache/cc-request-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/fetch/http-cache/cc-request-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b943e327f468c85a5fe78b31fe1cc742c620bb0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/fetch/http-cache/cc-request-expected.txt
@@ -0,0 +1,15 @@
+This is a testharness.js-based test.
+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
+FAIL HTTP cache does use aged stale response when request contains Cache-Control: max-stale that permits its use. assert_less_than: Response used expected a number less than 2 but got 2
+FAIL HTTP cache does reuse stale response with Age header when request contains Cache-Control: max-stale that permits its use. assert_less_than: Response used expected a number less than 2 but got 2
+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
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698