Index: LayoutTests/http/tests/serviceworker/cache-put-expected.txt |
diff --git a/LayoutTests/http/tests/serviceworker/cache-put-expected.txt b/LayoutTests/http/tests/serviceworker/cache-put-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..59b51ff8be0e40ebaf41f7d5c0a840e66fb23542 |
--- /dev/null |
+++ b/LayoutTests/http/tests/serviceworker/cache-put-expected.txt |
@@ -0,0 +1,11 @@ |
+This is a testharness.js-based test. |
+PASS Service Worker: Cache.put |
+FAIL Cache.put with a valid request Method is not implemented. |
+FAIL Cache.put with an existing request Entry was not found. |
+FAIL Cache.put with a request string Method is not implemented. |
+FAIL Cache.put with a request string Method is not implemented. |
+FAIL Cache.put with a relative URL Method is not implemented. |
+FAIL Cache.put with a non-GET request assert_throws: Cache.put should throw a TypeError for non-GET requests. function "function () { throw e; }" threw object "NotSupportedError: Method is not implemented." ("NotSupportedError") expected object "TypeError" ("TypeError") |
+FAIL Cache.put with an empty response assert_throws: Cache.put should throw a TypeError for an empty response. function "function () { throw e; }" threw object "NotFoundError: Entry was not found." ("NotFoundError") expected object "TypeError" ("TypeError") |
+Harness: the test ran to completion. |
+ |