Tests that cache data is correctly populated in the Inspector.
Dumping CacheStorage tree:
(empty)
Dumping CacheStorage tree:
cache: testCache1 - http://127.0.0.1:8000/
(cache empty)
cache: testCache2 - http://127.0.0.1:8000/
(cache empty)
cache: testCache3 - http://127.0.0.1:8000/
(cache empty)
Dumping CacheStorage tree:
cache: testCache1 - http://127.0.0.1:8000/
0, /1, default, text/plain, 0
1, /2, default, text/plain, 0
2, /T, default, image/png, 0
totalCount: 3
cache: testCache2 - http://127.0.0.1:8000/
0, /1, default, text/plain, 0
1, /2?query=19940123, default, text/plain, 0
2, /H/22, default, text/plain, 0
3, /L/11, default, text/plain, 0
4, /T, default, text/javascript, 0
totalCount: 5
cache: testCache3 - http://127.0.0.1:8000/
0, /devtools/resources/image.png, basic, image/png, 647
1, /vars, default, text/plain, 0, Accept
totalCount: 2
Dumping CacheStorage tree with URL path filter string "2"
cache: testCache1 - http://127.0.0.1:8000/
0, /2, default, text/plain, 0
totalCount: 1
cache: testCache2 - http://127.0.0.1:8000/
0, /2?query=19940123, default, text/plain, 0
1, /H/22, default, text/plain, 0
totalCount: 2
cache: testCache3 - http://127.0.0.1:8000/
(no matching entries)
Dumping CacheStorage tree with URL path filter string "image"
cache: testCache1 - http://127.0.0.1:8000/
(no matching entries)
cache: testCache2 - http://127.0.0.1:8000/
(no matching entries)
cache: testCache3 - http://127.0.0.1:8000/
0, /devtools/resources/image.png, basic, image/png, 647
totalCount: 1
Dumping testCache2's entry with request URL: http://fake.request.com/1
Y
Dumping testCache3's entry with request URL: http://fake.request.com/vars
the original request has headers; query with headers? true
Z
Dumping testCache3's entry with request URL: http://fake.request.com/vars
the original request has headers; query with headers? false
(nothing to preview)