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

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

Issue 675783004: Service Worker: Remove redundant assertions from Cache.put() test case (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/resources/cache-put-worker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index acf77727cd3cea606d9abfb415895d40e840ffdf..ac9391a8bb869e61e3fe38cf46de99367ef03e79 100644
--- a/LayoutTests/http/tests/serviceworker/cache-put-expected.txt
+++ b/LayoutTests/http/tests/serviceworker/cache-put-expected.txt
@@ -4,7 +4,7 @@ PASS Cache.put called with simple Request and Response
PASS Cache.put called with Request and Response from fetch()
FAIL Cache.put with Request containing a body assert_false: Cache.put should not consume Request body. expected false got true
FAIL Cache.put with a Response containing an empty URL assert_equals: Cache.put should update the cache with new Request and Response. :[object].url expected "" but got "https://example.com/foo"
-FAIL Cache.put with an empty response body assert_equals: Cache.put should update the cache with new request and response. :[object].url expected "" but got "https://example.com/foo"
+PASS Cache.put with an empty response body
PASS Cache.put with HTTP 500 response
FAIL Cache.put called twice with same Request and different Responses Entry already exists.
FAIL Cache.put with an invalid request assert_promise_rejects: Cache.put should only accept a Request object as the request. Promise did not reject.
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/resources/cache-put-worker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698