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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/cache-storage/serviceworker/cache-add.https-expected.txt

Issue 2517743002: Import wpt@5a1f188e0536ad023936cc62f9a00617299dc192 (Closed)
Patch Set: rebased Created 4 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: third_party/WebKit/LayoutTests/imported/wpt/service-workers/cache-storage/serviceworker/cache-add.https-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/service-workers/cache-storage/serviceworker/cache-add.https-expected.txt b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/cache-storage/serviceworker/cache-add.https-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a47305611f17c8b0ee37099d1239fd09262140ee
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/cache-storage/serviceworker/cache-add.https-expected.txt
@@ -0,0 +1,20 @@
+This is a testharness.js-based test.
+PASS Cache.add and Cache.addAll
+PASS Cache.add called with no arguments
+PASS Cache.add called with relative URL specified as a string
+PASS Cache.add called with non-HTTP/HTTPS URL
+PASS Cache.add called with Request object
+PASS Cache.add called with POST request
+PASS Cache.add called twice with the same Request object
+PASS Cache.add with request with null body (not consumed)
+PASS Cache.add with request that results in a status of 404
+PASS Cache.add with request that results in a status of 500
+PASS Cache.addAll with no arguments
+PASS Cache.addAll with a mix of valid and undefined arguments
+PASS Cache.addAll with an empty array
+PASS Cache.addAll with string URL arguments
+PASS Cache.addAll with Request arguments
+PASS Cache.addAll with a mix of succeeding and failing requests
+FAIL Cache.addAll called with the same Request object specified twice promise_test: Unhandled rejection with value: "assert_promise_rejects: Cache.addAll should throw InvalidStateError if the same request is added twice. Promise did not reject."
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698