[Webkit-unassigned] [Bug 179395] New: [Service Worker] Termination policy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 7 14:36:57 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=179395

            Bug ID: 179395
           Summary: [Service Worker] Termination policy
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: beidson at apple.com, cdumez at apple.com, ggaren at apple.com,
                    joepeck at webkit.org, youennf at gmail.com

[Service Worker] Termination policy

Service workers don't always get terminated as one would expect.

Steps to Reproduce:
1. Load <https://mdn.github.io/sw-test/>
2. Navigate to <https://webkit.org>
  => Service Workers <https://mdn.github.io/sw-test/sw.js> is still alive

Relatedly, currently just reloading a page with a service worker causes a new service worker to spawn:

Steps to Reproduce:
1. Load <https://mdn.github.io/sw-test/>
2. Reload 3 times
  => Multiple Service Workers exist for <https://mdn.github.io/sw-test/sw.js>

Both cases can result in a large list of Service Workers show up as inspector debug targets, and when there are duplicates it is unclear which is the active worker.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171107/3adfb3ec/attachment.html>


More information about the webkit-unassigned mailing list