OLD | NEW |
(Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS Service Worker: Cache.add and Cache.addAll |
| 3 FAIL Cache.add called with no arguments Failed to execute 'add' on 'Cache': 1 ar
gument required, but only 0 present.(stack: TypeError: Failed to execute 'add' o
n 'Cache': 1 argument required, but only 0 present. |
| 4 at TypeError (native) |
| 5 at http://127.0.0.1:8000/serviceworker/resources/cache-add-worker.js:6:13) |
| 6 FAIL Cache.add called with relative URL specified as a string Cache is not imple
mented |
| 7 FAIL Cache.add called with non-HTTP/HTTPS URL assert_throws: Cache.add should th
row a NetworkError for non-HTTP/HTTPS URLs. function "function () { throw e; }"
threw object "NotSupportedError: Cache is not implemented" that is not a DOMExce
ption NetworkError: property "code" is equal to 9, expected 19 |
| 8 FAIL Cache.add called with Request object Cache is not implemented |
| 9 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. funct
ion "function () { throw e; }" threw object "NotFoundError: Entry was not found.
" ("NotFoundError") expected object "TypeError" ("TypeError") |
| 10 FAIL Cache.add called twice with the same Request object Cache is not implemente
d |
| 11 FAIL Cache.add with request that results in a status of 404 Cache is not impleme
nted |
| 12 FAIL Cache.add with request that results in a status of 500 Cache is not impleme
nted |
| 13 PASS Cache.addAll with no arguments |
| 14 PASS Cache.addAll with a mix of valid and undefined arguments |
| 15 FAIL Cache.addAll with string URL arguments Cache is not implemented |
| 16 FAIL Cache.addAll with Request arguments Cache is not implemented |
| 17 FAIL Cache.addAll with a mix of succeeding and failing requests Cache is not imp
lemented |
| 18 FAIL Cache.addAll called with the same Request object specified twice assert_thr
ows: Cache.addAll should throw TypeError if the same request is added twice. fun
ction "function () { throw e; }" threw object "NotSupportedError: Cache is not i
mplemented" ("NotSupportedError") expected object "TypeError" ("TypeError") |
| 19 Harness: the test ran to completion. |
| 20 |
OLD | NEW |