Open Bug 1571801 Opened 1 year ago

Unregister service worker takes a long time with sw-refactor enabled


(DevTools :: about:debugging, enhancement, P3)



(Not tracked)


(Reporter: jdescottes, Unassigned)


(Blocks 1 open bug)


Once the service worker parent intercept refactor lands in Bug 1231213, together with the DevTools bits in Bug 1552945 and Bug 1559268, most of the DevTools support for service worker should be OK when using the refactor.

While testing the current stack of patches, we noticed that clicking on "unregister" seems to take a long time. Either it is indeed taking a long time, or the about:debugging UI is not udpated (missing an event?).


  • enable dom.serviceWorkers.parent_intercept and restart
  • go to a website using service workers
  • open about:debugging
  • select This Nightly
  • click on Unregister for this service worker

ER: the service worker should immediately disappear
AR: the service worker disappears after some time (several seconds)

You need to log in before you can comment on or make changes to this bug.