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

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

Issue 882383002: [Fetch] Request with GET/HEAD method cannot have body (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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: LayoutTests/http/tests/serviceworker/cache-put-expected.txt
diff --git a/LayoutTests/http/tests/serviceworker/cache-put-expected.txt b/LayoutTests/http/tests/serviceworker/cache-put-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..993e34091885fe80cb9d5233de18009f5da5912e
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/cache-put-expected.txt
@@ -0,0 +1,23 @@
+This is a testharness.js-based test.
+PASS Service Worker: 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
+FAIL Cache.put with Request containing a body promise_test: Unhandled rejection with value: object "TypeError: Request method 'POST' is unsupported"
+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 used request body
+PASS Cache.put with a used response body
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698