Re: [w3c/manifest] scope="../" should be invalid (#551)

- It feels like the ideal solution would be disallow scopes which are wider than the manifest directory. (Scope="../" would be illegal). Chrome disallows registering a service worker whose scope is larger than the directory containing the page that the service worker is registered from (I tested with https://gauntface.github.io/simple-push-demo/)
- Supporting multiple scopes in the Web Manifest is a hard problem. The website owner would need a mechanism to prove that they own all of the scopes.

kenchris@ is right that if we made scope="../" illegal we would break some sites. A coworker ran a script on all of the Web Manifests on the web. There are 26 Web Manifests on the Web whose scope is wider than the directory containing the manifest. There's ~ 35,000 Web Manifests total. Unfortunately, one of those 26 is https://www.nfl.com/manifest/super-bowl.json I have no idea whether it is possible to convince all of the website owners to move the manifest.json file on their site

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/551#issuecomment-278494571

Received on Wednesday, 8 February 2017 23:17:37 UTC