OLD | NEW |
(Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS Service Worker: Cache.put |
| 3 FAIL Cache.put result on success assert_equals: Cache.put should resolve with un
defined on success. expected (undefined) undefined but got (object) object "[obj
ect Response]" |
| 4 PASS Cache.put with a valid request and response |
| 5 FAIL Cache.put with request containing a body assert_false: Cache.put should not
consume Request body. expected false got true |
| 6 FAIL Cache.put with a response containing an empty URL assert_equals: Cache.put
should update the cache with new request and response. :[object].url expected ""
but got "https://example.com/foo" |
| 7 FAIL Cache.put with an existing request Entry already exists. |
| 8 FAIL Cache.put with an invalid request assert_promise_rejects: Cache.put should
only accept a Request object as the request. Promise did not reject. |
| 9 FAIL Cache.put with a non-HTTP/HTTPS request assert_promise_rejects: Cache.put s
hould reject non-HTTP/HTTPS requests with a TypeError. Promise did not reject. |
| 10 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" |
| 11 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. |
| 12 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. |
| 13 Harness: the test ran to completion. |
| 14 |
OLD | NEW |