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 676563002: Service Worker: Annotate IDLs with [TypeChecking] to turn it on (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove TypeChecking=Unrestricted 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 cfd6b44b8aec8635ee85fa13fe6e4f4ecd25ffa2..bdfcb6c510c21c43dfa8bec3975855f09d1ee2fe 100644
--- a/LayoutTests/http/tests/serviceworker/cache-put-expected.txt
+++ b/LayoutTests/http/tests/serviceworker/cache-put-expected.txt
@@ -8,9 +8,11 @@ FAIL Cache.put with an empty response body assert_equals: Cache.put should updat
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 invalid response
FAIL Cache.put with a non-HTTP/HTTPS request assert_promise_rejects: Cache.put should reject non-HTTP/HTTPS requests with a TypeError. Promise did not reject.
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"
FAIL Cache.put with a non-GET request assert_promise_rejects: Cache.put should throw a TypeError for non-GET requests. Promise did not reject.
FAIL Cache.put with a non-GET request assert_promise_rejects: Cache.put should throw a TypeError for non-GET requests. Promise did not reject.
+PASS Cache.put with an empty response
Harness: the test ran to completion.
« 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