Re: [ServiceWorker] Service-Worker-Allowed header (#604)

Hmm.. I have second thoughts about this, what if you do:

```javascript
register("resources/sw.js", { scope: '/' });  // OK, ServiceWorker-Allowed = "/"
register("resources/some_other_sw.js", { scope: '/' }); // no ServiceWorker-Allowed header
```

It would mean the registration is uninstalled, that doesn't look right.

I guess the uninstallation should only happen for same-script URL update?

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/604#issuecomment-70616257

Received on Tuesday, 20 January 2015 07:49:50 UTC