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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cachestorage/serviceworker/cache-put-expected.txt

Issue 1485283002: Sync Cache API tests w/ web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/http/tests/cachestorage/serviceworker/cache-put-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/cachestorage/serviceworker/cache-put-expected.txt b/third_party/WebKit/LayoutTests/http/tests/cachestorage/serviceworker/cache-put-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..affc16411d07071307dd0ea9f58c8ba5bb5c471f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/cachestorage/serviceworker/cache-put-expected.txt
@@ -0,0 +1,25 @@
+This is a testharness.js-based test.
+PASS Cache.put
+PASS Cache.put called with simple Request and Response
+PASS Cache.put called with Request and Response from fetch()
+PASS Cache.put with Request without a body
+PASS Cache.put with Response without a body
+PASS Cache.put with a Response containing an empty URL
+PASS Cache.put with an empty response body
+PASS Cache.put with HTTP 500 response
+PASS Cache.put called twice with matching Requests and different Responses
+PASS Cache.put called twice with request URLs that differ only by a fragment
+PASS Cache.put with request URLs containing embedded credentials
+PASS Cache.put with a string request
+PASS Cache.put with an invalid response
+PASS Cache.put with a non-HTTP/HTTPS request
+PASS Cache.put with a relative URL
+PASS Cache.put with a non-GET request
+PASS Cache.put with a null response
+PASS Cache.put with a POST request
+PASS Cache.put with a used response body
+PASS getReader() after Cache.put
+FAIL Cache.put with a VARY:* Response promise_test: Unhandled rejection with value: "assert_promise_rejects: Cache.put should reject VARY:* Responses with a TypeError. Promise did not reject."
jsbell 2015/12/01 20:50:49 https://crbug.com/476814
+FAIL Cache.put with an embedded VARY:* Response promise_test: Unhandled rejection with value: "assert_promise_rejects: Cache.put should reject Responses with an embedded VARY:* with a TypeError. Promise did not reject."
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698