New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 606259 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 632838
Owner:
Last visit > 30 days ago
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 1
Type: Bug



Sign in to add a comment

Response field is sometimes empty in DevTools → Resources → Cache Storage

Project Member Reported by falken@chromium.org, Apr 25 2016

Issue description

Version: 51.0.2704.19 dev
OS: Linux

What steps will reproduce the problem?
(1) Go to https://jakearchibald.github.io/trained-to-thrill/
(2) Reload a few times and make sure SW is running and Cache Storage populated.
(3) Go to  DevTools → Resources → Cache Storage -> trains-data

What is the expected output?

Response field should be populated.

What do you see instead?

Response field is empty.

In Console I can see there's a response:

caches.open('trains-data').then(cache => mycache = cache);
mycache.keys().then(keys => key = keys[0])
key.url
=> "https://api.flickr.com/services/rest/?method=flickr.photos.search&extras=description&format=json&api_key=f2cca7d09b75c6cdea6864aca72e9895&text=train%20station&license=4%2C5%2C6%2C7&content_type=1&nojsoncallback=1&per_page=10"
mycache.match(key).then(r => console.log(r.status))
=> 200


Maybe something about CORS requests?
 

Comment 1 by allada@chromium.org, Apr 25 2016

Owner: allada@chromium.org
Status: Available (was: Untriaged)
It looks like this is because it is using H2 (HTTP/2) for that subdomain and H2 does not respond with a text version of the response code like HTTP 1.x does.

For H2 code info see: https://http2.github.io/http2-spec/#rfc.section.8.1.2.4
For a point of interest in chromium: https://goo.gl/CxT0og

I will see about doing something different in order to show the data properly for H2 caches.

Comment 2 Deleted

Comment 3 by allada@chromium.org, Jul 22 2016

Status: Assigned (was: Available)

Comment 4 by allada@chromium.org, Jul 29 2016

Mergedinto: 632838
Status: Duplicate (was: Assigned)

Sign in to add a comment