- From: Ben Kelly <notifications@github.com>
- Date: Wed, 04 Nov 2015 12:46:30 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Wednesday, 4 November 2015 20:46:57 UTC
This is kind of a corner case, but I don't think the spec really handles it currently: 0. open a random webpage 1. w = window.open("./") 2. sw = w.navigator.serviceWorker 3. close the new tab from step 1 4. sw.register("whatever.js"); In this case we're calling .register() for a window that is already closed. I'm intending to reject with InvalidStateErr, but I guess it would be nice to spec it. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/777
Received on Wednesday, 4 November 2015 20:46:57 UTC