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

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

Issue 425413002: [ServiceWorker] Tests for Cache (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: CacheStorage.{create => open} 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
Index: LayoutTests/http/tests/serviceworker/cache-add-expected.txt
diff --git a/LayoutTests/http/tests/serviceworker/cache-add-expected.txt b/LayoutTests/http/tests/serviceworker/cache-add-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2028903a44f406c76bd1e38be6b1322443f50222
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/cache-add-expected.txt
@@ -0,0 +1,11 @@
+This is a testharness.js-based test.
+PASS Service Worker: Cache.add and Cache.addAll
+FAIL Cache.add with no arguments assert_throws: Cache.add should throw a TypeError when no arguments are given. function "function () { throw e; }" threw object "NotSupportedError: Cache is not implemented" ("NotSupportedError") expected object "TypeError" ("TypeError")
+FAIL Cache.add with successful request Cache is not implemented
+FAIL Cache.add with resource that results in a status of 404 assert_throws: Cache.add should throw TypeError if the resource does not exist. function "function () { throw e; }" threw object "NotSupportedError: Cache is not implemented" ("NotSupportedError") expected object "TypeError" ("TypeError")
+PASS Cache.addAll with no arguments
+FAIL Cache.addAll with ScalarValueString arguments Cache is not implemented
+FAIL Cache.addAll with Request arguments Cache is not implemented
+FAIL Cache.addAll with failing request assert_throws: Cache.addAll should throw TypeError if any of the requests fail. function "function () { throw e; }" threw object "NotSupportedError: Cache is not implemented" ("NotSupportedError") expected object "TypeError" ("TypeError")
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698