OLD | NEW |
(Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS Service Worker: Cache.put |
| 3 FAIL Cache.put with a valid request Entry was not found. |
| 4 FAIL Cache.put with an existing request Entry was not found. |
| 5 PASS Cache.put with a request string |
| 6 PASS Cache.put with a request string |
| 7 FAIL Cache.put with a relative URL assert_equals: Cache.put should accept a rela
tive URL as the request. :[object].url expected "" but got "http://127.0.0.1:800
0/serviceworker/resources/relative-url" |
| 8 FAIL Cache.put with a non-GET request assert_promise_rejects: Cache.put should t
hrow a TypeError for non-GET requests. Promise did not reject. |
| 9 FAIL Cache.put with an empty response assert_throws: Cache.put should throw a Ty
peError for an empty response. function "function () { throw e; }" threw object
"NotFoundError: Entry was not found." ("NotFoundError") expected object "TypeErr
or" ("TypeError") |
| 10 Harness: the test ran to completion. |
| 11 |
OLD | NEW |