New issue
Advanced search Search tips

Issue 795691 link

Starred by 3 users

Issue metadata

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



Sign in to add a comment

Service Worker stuck on "status: installing" after Clear Site Data in DevTools

Reported by drmrbre...@gmail.com, Dec 18 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36

Steps to reproduce the problem:
(1) open new tab (NOT incognito) and load https://cloud3squared.com/files/sw-stackoverflow-demo/index.html
(2) hit F5 a couple of times to load all resources fully
(3) F12 to open DevTools
(4) go to Application tab > Clear Storage
(5) hit Clear Site Data button (with all options checked)
(6) go to Service Workers section... service worker is "activated and running"
(7) hit F5 to reload
(8) service worker status is now "installing", and remains on that with further F5 reloads (see screenshot)

Only way to resolve it is to click on the Unregister link next to the service worker... then subsequent F5 reload will get back to normal

What is the expected behavior?
service worker isn't stuck on install

What went wrong?
as described above

Did this work before? N/A 

Chrome version: 63.0.3239.108  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

Note that this doesn't happen in an Incognito window... the service worker continues to operate even after the above repro steps
 
stuck_on_installing.JPG
12.2 KB View Download
Labels: Needs-Triage-M63

Comment 2 by alph@chromium.org, Dec 19 2017

Owner: eostroukhov@chromium.org
Status: Assigned (was: Unconfirmed)
I can confirm  repro scenario up to step 6. I would expect the SW to unregister but it stays up and running.
What about steps 7 and 8?
Owner: hhli@chromium.org

Sign in to add a comment