New issue
Advanced search Search tips

Issue 613552 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 611967
Owner: ----
Closed: May 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

XHR requests made from service worker do not count towards total data transferred

Reported by s.r.mura...@gmail.com, May 20 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

Steps to reproduce the problem:
1. Load a page with service worker
2. Intercept requests and make fetch requests to some assest in service worker
3. Requests made by service worker does not count towards total data transferred at bottom of DevTools

What is the expected behavior?
Total data transferred in DevTools should include XHR/fetch requests made by service workers.

What went wrong?
Only data transferred outside of service worker counts towards total data transferred.

Did this work before? N/A 

Chrome version: 52.0.2741.0 canary x64  Channel: canary
OS Version: 10.11.4
Flash Version: Shockwave Flash 21.0 r0
 
Screen Shot 2016-05-19 at 10.57.38 PM.png
164 KB View Download
Mergedinto: 611967
Status: Duplicate (was: Unconfirmed)
Hi, sorry, I should have been more clear. I am not using SW Cache at all. My service worker makes a new request to the network (for every single request that it intercepts) and responds with it.  Issue 611967  seems to be linked to cached assets' not contributing to the total data transferred.

Sign in to add a comment