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..f6dcb6af0be2eb6bca5b42309f83f9a41643eb11 |
--- /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 Entry was not found. |
+FAIL Cache.put with an existing request Entry was not found. |
+PASS Cache.put with a request string |
+PASS Cache.put with a request string |
+FAIL Cache.put with a relative URL assert_equals: Cache.put should accept a relative URL as the request. :[object].url expected "" but got "http://127.0.0.1:8000/serviceworker/resources/relative-url" |
+FAIL Cache.put with a non-GET request assert_promise_rejects: Cache.put should throw a TypeError for non-GET requests. Promise did not reject. |
+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. |
+ |