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..9f493a3be6c808b656ce82b19d1aba2636f114ff |
--- /dev/null |
+++ b/LayoutTests/http/tests/serviceworker/cache-add-expected.txt |
@@ -0,0 +1,20 @@ |
+This is a testharness.js-based test. |
+PASS Service Worker: Cache.add and Cache.addAll |
+FAIL Cache.add called with no arguments Failed to execute 'add' on 'Cache': 1 argument required, but only 0 present.(stack: TypeError: Failed to execute 'add' on 'Cache': 1 argument required, but only 0 present. |
+ at TypeError (native) |
+ at http://127.0.0.1:8000/serviceworker/resources/cache-add-worker.js:6:13) |
+FAIL Cache.add called with relative URL specified as a string Cache is not implemented |
+FAIL Cache.add called with non-HTTP/HTTPS URL assert_throws: Cache.add should throw a NetworkError for non-HTTP/HTTPS URLs. function "function () { throw e; }" threw object "NotSupportedError: Cache is not implemented" that is not a DOMException NetworkError: property "code" is equal to 9, expected 19 |
+FAIL Cache.add called with Request object Cache is not implemented |
+FAIL Cache.add called with Request object with a used body assert_throws: Cache.add with a Request object with a used body should reject with a TypeError. function "function () { throw e; }" threw object "NotFoundError: Entry was not found." ("NotFoundError") expected object "TypeError" ("TypeError") |
+FAIL Cache.add called twice with the same Request object Cache is not implemented |
+FAIL Cache.add with request that results in a status of 404 Cache is not implemented |
+FAIL Cache.add with request that results in a status of 500 Cache is not implemented |
+PASS Cache.addAll with no arguments |
+PASS Cache.addAll with a mix of valid and undefined arguments |
+FAIL Cache.addAll with string URL arguments Cache is not implemented |
+FAIL Cache.addAll with Request arguments Cache is not implemented |
+FAIL Cache.addAll with a mix of succeeding and failing requests Cache is not implemented |
+FAIL Cache.addAll called with the same Request object specified twice assert_throws: Cache.addAll should throw TypeError if the same request is added twice. function "function () { throw e; }" threw object "NotSupportedError: Cache is not implemented" ("NotSupportedError") expected object "TypeError" ("TypeError") |
+Harness: the test ran to completion. |
+ |