2

In developing a service worker, I want to test what happens when the service worker has been terminated (and later accessed). However, if I open DevTools to examine things, I see:

Service Worker termination by a timeout timer was canceled because DevTools is attached.

Is there any way to set the DevTools to NOT prevent the 'normal' termination from happening?

1 Answer 1

1

I don't think so, but you can manually terminate a service worker in the Application panel by clicking Stop.

The Service Worker pane

1
  • Very true... I do it often enough! This will have to do. Commented Mar 23, 2017 at 23:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.