OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 PASS Cache.add and Cache.addAll | 2 PASS Cache.add and Cache.addAll |
3 PASS Cache.add called with no arguments | 3 PASS Cache.add called with no arguments |
4 PASS Cache.add called with relative URL specified as a string | 4 PASS Cache.add called with relative URL specified as a string |
5 PASS Cache.add called with non-HTTP/HTTPS URL | 5 PASS Cache.add called with non-HTTP/HTTPS URL |
6 PASS Cache.add called with Request object | 6 PASS Cache.add called with Request object |
7 PASS Cache.add called with POST request | 7 PASS Cache.add called with POST request |
8 PASS Cache.add called twice with the same Request object | 8 PASS Cache.add called twice with the same Request object |
9 PASS Cache.add called with Request object with a used body | 9 PASS Cache.add called with Request object with a used body |
10 PASS Cache.add with request that results in a status of 404 | 10 PASS Cache.add with request that results in a status of 404 |
11 PASS Cache.add with request that results in a status of 500 | 11 PASS Cache.add with request that results in a status of 500 |
| 12 PASS Cache.add with request that results in a status of 206 |
| 13 PASS Cache.addAll with request that results in a status of 206 |
12 PASS Cache.addAll with no arguments | 14 PASS Cache.addAll with no arguments |
13 PASS Cache.addAll with a mix of valid and undefined arguments | 15 PASS Cache.addAll with a mix of valid and undefined arguments |
14 PASS Cache.addAll with an empty array | 16 PASS Cache.addAll with an empty array |
15 PASS Cache.addAll with string URL arguments | 17 PASS Cache.addAll with string URL arguments |
16 PASS Cache.addAll with Request arguments | 18 PASS Cache.addAll with Request arguments |
17 PASS Cache.addAll with a mix of succeeding and failing requests | 19 PASS Cache.addAll with a mix of succeeding and failing requests |
18 FAIL Cache.addAll called with the same Request object specified twice assert_unr
eached: Should have rejected: Cache.addAll should throw InvalidStateError if the
same request is added twice. Reached unreachable code | 20 FAIL Cache.addAll called with the same Request object specified twice assert_unr
eached: Should have rejected: Cache.addAll should throw InvalidStateError if the
same request is added twice. Reached unreachable code |
19 Harness: the test ran to completion. | 21 Harness: the test ran to completion. |
20 | 22 |
OLD | NEW |