Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(930)

Side by Side Diff: LayoutTests/http/tests/serviceworker/cache-match-expected.txt

Issue 704043002: [ServiceWorker] Update cache.match/matchAll tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cleanup-formatting
Patch Set: Fix typo Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 PASS Service Worker: Cache.match and Cache.matchAll 2 PASS Service Worker: Cache.match and Cache.matchAll
3 PASS Cache.match failure 3 FAIL Cache.matchAll with no matching entries undefined is not a function(stack: TypeError: undefined is not a function
4 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:104:1 8
5 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:572:2 0)
6 PASS Cache.match with no matching entries
4 FAIL Cache.matchAll with URL undefined is not a function(stack: TypeError: undef ined is not a function 7 FAIL Cache.matchAll with URL undefined is not a function(stack: TypeError: undef ined is not a function
5 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:97:18 8 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:121:1 8
6 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:407:2 0) 9 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:572:2 0)
7 PASS Cache.match with URL 10 PASS Cache.match with URL
8 FAIL Cache.matchAll with Request undefined is not a function(stack: TypeError: u ndefined is not a function 11 FAIL Cache.matchAll with Request undefined is not a function(stack: TypeError: u ndefined is not a function
9 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:113:1 8 12 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:137:1 8
10 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:407:2 0) 13 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:572:2 0)
11 PASS Cache.match with Request 14 PASS Cache.match with Request
12 FAIL Cache.matchAll with new Request undefined is not a function(stack: TypeErro r: undefined is not a function 15 FAIL Cache.matchAll with new Request undefined is not a function(stack: TypeErro r: undefined is not a function
13 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:130:1 8 16 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:154:1 8
14 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:407:2 0) 17 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:572:2 0)
15 PASS Cache.match with new Request 18 PASS Cache.match with new Request
16 PASS Cache.match with Request containing non-empty body 19 PASS Cache.match with Request containing non-empty body
17 FAIL Cache.matchAll with ignoreSearch option (request with no search parameters) undefined is not a function(stack: TypeError: undefined is not a function 20 FAIL Cache.matchAll with ignoreSearch option (request with no search parameters) undefined is not a function(stack: TypeError: undefined is not a function
18 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:173:1 8 21 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:197:1 8
19 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:407:2 0) 22 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:572:2 0)
23 PASS Cache.match with ignoreSearch option (request with no search parameters)
20 FAIL Cache.matchAll with ignoreSearch option (request with search parameter) und efined is not a function(stack: TypeError: undefined is not a function 24 FAIL Cache.matchAll with ignoreSearch option (request with search parameter) und efined is not a function(stack: TypeError: undefined is not a function
21 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:190:1 8 25 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:231:1 8
22 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:407:2 0) 26 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:572:2 0)
23 FAIL Cache.matchAll with request containing hash undefined is not a function(sta ck: TypeError: undefined is not a function 27 PASS Cache.match with ignoreSearch option (request with search parameter)
24 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:206:1 8 28 FAIL Cache.matchAll with URL containing fragment undefined is not a function(sta ck: TypeError: undefined is not a function
25 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:407:2 0) 29 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:263:1 8
30 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:572:2 0)
31 FAIL Cache.match with URL containing fragment assert_equals: Cache.match should ignore URL fragment.: Response expected (object) object "[object Response]" but got (undefined) undefined
26 FAIL Cache.matchAll with string fragment "http" as query undefined is not a func tion(stack: TypeError: undefined is not a function 32 FAIL Cache.matchAll with string fragment "http" as query undefined is not a func tion(stack: TypeError: undefined is not a function
27 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:219:1 8 33 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:283:1 8
28 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:407:2 0) 34 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:572:2 0)
35 PASS Cache.match with string fragment "http" as query
29 FAIL Cache.matchAll with prefixMatch option undefined is not a function(stack: T ypeError: undefined is not a function 36 FAIL Cache.matchAll with prefixMatch option undefined is not a function(stack: T ypeError: undefined is not a function
30 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:229:1 8 37 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:303:1 8
31 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:407:2 0) 38 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:572:2 0)
32 FAIL Cache.matchAll with prefixMatch option undefined is not a function(stack: T ypeError: undefined is not a function 39 PASS Cache.match with prefixMatch option
33 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:244:1 8 40 FAIL Cache.matchAll with prefixMatch option (URL ending with path delimiter) und efined is not a function(stack: TypeError: undefined is not a function
34 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:407:2 0) 41 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:335:1 8
35 FAIL Cache.matchAll with responses containing "Vary" header assert_unreached: Te st setup failed: Entry already exists. Reached unreachable code 42 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:572:2 0)
36 FAIL Cache.match with responses containing "Vary" header assert_unreached: Test setup failed: Entry already exists. Reached unreachable code 43 FAIL Cache.match with prefixMatch option (URL ending with path delimiter) assert _equals: Cache.match should honor prefixMatch.: Response expected (object) objec t "[object Response]" but got (undefined) undefined
37 FAIL Cache.matchAll with "ignoreVary" parameter assert_unreached: Test setup fai led: Entry already exists. Reached unreachable code 44 FAIL Cache.matchAll with prefixMatch option (URL with embedded credentials) unde fined is not a function(stack: TypeError: undefined is not a function
45 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:355:1 8
46 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:572:2 0)
47 FAIL Cache.match with prefixMatch option (URL with embedded credentials) assert_ equals: Cache.match should honor prefixMatch.: Response expected (object) object "[object Response]" but got (undefined) undefined
48 FAIL Cache.matchAll with prefixMatch option (URL matching embedded credentials) undefined is not a function(stack: TypeError: undefined is not a function
49 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:379:1 8
50 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:572:2 0)
51 PASS Cache.match with prefixMatch option (URL matching embedded credentials)
52 FAIL Cache.matchAll with URL containing credentials undefined is not a function( stack: TypeError: undefined is not a function
53 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:401:1 8
54 at http://127.0.0.1:8000/serviceworker/resources/cache-match-worker.js:572:2 0)
55 PASS Cache.match with URL containing credentials
56 FAIL Cache.matchAll with responses containing "Vary" header assert_unreached: Te st setup failed for entry vary_cookie_is_cookie : InvalidAccessError: Entry alre ady exists. Reached unreachable code
57 FAIL Cache.match with responses containing "Vary" header assert_unreached: Test setup failed for entry vary_cookie_is_cookie : InvalidAccessError: Entry already exists. Reached unreachable code
58 FAIL Cache.matchAll with "ignoreVary" parameter assert_unreached: Test setup fai led for entry vary_cookie_is_cookie : InvalidAccessError: Entry already exists. Reached unreachable code
38 PASS Cache.match with Request and Response objects with different URLs 59 PASS Cache.match with Request and Response objects with different URLs
39 PASS Cache.match invoked multiple times for the same Request/Response 60 PASS Cache.match invoked multiple times for the same Request/Response
40 Harness: the test ran to completion. 61 Harness: the test ran to completion.
41 62
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698