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

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

Issue 658743003: Service Workers: Cache.put() should resolve to undefined (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 | Source/modules/serviceworkers/Cache.cpp » ('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 eeba38f858393cce79dd3a102961ae559c01976d..acf77727cd3cea606d9abfb415895d40e840ffdf 100644
--- a/LayoutTests/http/tests/serviceworker/cache-put-expected.txt
+++ b/LayoutTests/http/tests/serviceworker/cache-put-expected.txt
@@ -1,6 +1,6 @@
This is a testharness.js-based test.
PASS Service Worker: Cache.put
-FAIL Cache.put called with simple Request and Response assert_equals: Cache.put should resolve with undefined on success. expected (undefined) undefined but got (object) object "[object Response]"
+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"
« no previous file with comments | « no previous file | Source/modules/serviceworkers/Cache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698