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

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

Issue 677533002: Update Cache.put() test to accept string as request (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review nit 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 ac9391a8bb869e61e3fe38cf46de99367ef03e79..30bb5b02aa77941a0853f49c890b97ccaf0fd349 100644
--- a/LayoutTests/http/tests/serviceworker/cache-put-expected.txt
+++ b/LayoutTests/http/tests/serviceworker/cache-put-expected.txt
@@ -7,7 +7,7 @@ FAIL Cache.put with a Response containing an empty URL assert_equals: Cache.put
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.
+PASS Cache.put with an string request
PASS Cache.put with an invalid response
PASS Cache.put with a non-HTTP/HTTPS request
FAIL Cache.put with a relative URL assert_equals: Cache.put should accept a relative URL as the request. :[object].url expected "" but got "http://127.0.0.1:8000/serviceworker/resources/relative-url"
« 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