A service worker instance should be terminated when its SWServer is destroyed
Created attachment 369608 [details]
Comment on attachment 369608 [details]
Clearing flags on attachment: 369608
Committed r245200: <https://trac.webkit.org/changeset/245200>
All reviewed patches have been landed. Closing bug.
What mechanism prevents two concurrent but independent sessions from sharing a service worker?
(In reply to Geoffrey Garen from comment #5)
> What mechanism prevents two concurrent but independent sessions from sharing
> a service worker?
We use a different SWServer instance per session ID. Service worker instances are owned by each SWServer instance so I do not believe different session can share service workers.