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. |
+ |