OLD | NEW |
---|---|
(Empty) | |
1 This is a testharness.js-based test. | |
2 PASS Service Worker: Cache.add and Cache.addAll | |
3 FAIL Cache.add with no arguments Failed to execute 'add' on 'Cache': 1 argument required, but only 0 present.(stack: TypeError: Failed to execute 'add' on 'Cach e': 1 argument required, but only 0 present. | |
jsbell
2014/10/23 00:15:31
Weird - is it actually *throwing* instead of rejec
asanka
2014/10/23 06:12:39
Acknowledged.
asanka
2014/10/23 06:12:39
Acknowledged.
| |
4 at TypeError (native) | |
5 at http://127.0.0.1:8000/serviceworker/resources/cache-add-worker.js:6:13) | |
6 FAIL Cache.add with successful request Cache is not implemented | |
7 FAIL Cache.add with non-HTTP/HTTPS URL assert_throws: Cache.add with non-HTTP/HT TPS URL should throw a NetworkError. function "function () { throw e; }" threw o bject "NotSupportedError: Cache is not implemented" that is not a DOMException N etworkError: property "code" is equal to 9, expected 19 | |
8 FAIL Cache.add with Request object Cache is not implemented | |
9 FAIL Cache.add with a used Request object assert_throws: Cache.add with a Reques t object with a used body should reject with a TypeError. function "function () { throw e; }" threw object "NotFoundError: Entry was not found." ("NotFoundError ") expected object "TypeError" ("TypeError") | |
jsbell
2014/10/23 00:15:31
Any idea why this is NotFoundError instead of NotS
asanka
2014/10/23 06:12:39
Couldn't dig into this one yet.
| |
10 FAIL Cache.add called twice with same Request Cache is not implemented | |
11 FAIL Cache.add with resource that results in a status of 404 Cache is not implem ented | |
12 FAIL Cache.add with resource that results in a status of 500 Cache is not implem ented | |
13 PASS Cache.addAll with no arguments | |
14 PASS Cache.addAll with undefined arguments | |
15 FAIL Cache.addAll with ScalarValueString arguments Cache is not implemented | |
16 FAIL Cache.addAll with Request arguments Cache is not implemented | |
17 FAIL Cache.addAll with failing request Cache is not implemented | |
18 FAIL Cache.addAll with the same Request twice assert_throws: Cache.addAll should throw TypeError if the same request is added twice. function "function () { thr ow e; }" threw object "NotSupportedError: Cache is not implemented" ("NotSupport edError") expected object "TypeError" ("TypeError") | |
19 Harness: the test ran to completion. | |
20 | |
OLD | NEW |