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

Issue 636704 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Resources fetched via Service Workers have the sizes reported wrongly

Reported by inian1...@gmail.com, Aug 11 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36

Steps to reproduce the problem:
1. Intercept and fetch resources via a Service Worker script
2. The sizes attribute says (from Service Worker)
(See attached screenshot) 

For a live demo of the bug go to https://www.scentbird.com/giftset

What is the expected behavior?
I expect to see the actual size of the fetched resource here. 

What went wrong?
(from Service Worker) was shown in the Initiator panel before where it made sense. Showing it in the sizes panel is a bug. 

Did this work before? Yes M51 I think

Chrome version: 52.0.2743.82  Channel: canary
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 22.0 r0
 
Screenshot 2016-08-11 15.03.08.png
479 KB View Download
Owner: allada@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 2 by inian1...@gmail.com, Oct 21 2016

The original URL reported does not have a service worker right now. But the bug is still reproducible with another website like https://codecombat.com
Owner: chenwilliam@chromium.org
We should do the same for disk cache and memory cache.
Cc: allada@chromium.org pfeldman@chromium.org
 Issue 653735  has been merged into this issue.
Owner: eostroukhov@chromium.org
Owner: jarhar@chromium.org

Sign in to add a comment