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

Spinning off of #468. I have some comments about the spec change in ddb21be.

1. Suppose a site changes the Service-Worker-Allowed header after a worker installs. E.g., at install time it was "/" and later the site change it to "/restricted_path. What's the expected behavior? I would think upon "24 hour" update you re-evaluate the path restriction using the new max scope against the newest worker's script URL. If that fails, you terminate the workers and clear the registration. Does that make sense?
2. The spec language needs some proofreading. I think "Let" and "Set" got mixed up in some places.

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

Received on Tuesday, 20 January 2015 05:53:52 UTC