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

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

Issue 706073002: [ServiceWorker] Add Cache.put tests for URL fragment handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cleanup-formatting
Patch Set: Created 6 years, 1 month 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..0f48759f04064eef8f64e9f305b7a793dbf4ae68
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/cache-put-expected.txt
@@ -0,0 +1,19 @@
+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 containing 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
+FAIL Cache.put called twice with Requests that differ only by a fragment assert_equals: Cache put should store new response body. expected "New body" but got "Old body"
+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 an empty response
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698