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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cachestorage/worker/cache-add-expected.txt

Issue 1485283002: Sync Cache API tests w/ web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/http/tests/cachestorage/worker/cache-add-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/cachestorage/worker/cache-add-expected.txt b/third_party/WebKit/LayoutTests/http/tests/cachestorage/worker/cache-add-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d8b05372c747f03dd622aedb16036cd36f31392
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/cachestorage/worker/cache-add-expected.txt
@@ -0,0 +1,19 @@
+This is a testharness.js-based test.
+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 called with Request object with a used body
+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