Re: [w3c/manifest] Remove the default value for start_url (#670)

I do not have opinion on which signal we should use to determine whether a site is a PWA
I do have an opinion about the default start_url

I think the default start_url should be the origin of the manifest
If the Web Manifest URL is
https://weather.com/weather/assets/manifest.507fcb498f4e29acfeed7596fe002857.json
The default start_url should be
https://weather.com

Rationale:
When a user chooses to add a site to their home screen, the browser should try to give the user best possible experience. If the Web Manifest does not provide a start_url, in my opinion, "the best possible experience" is a start_url which is least likely to be a 404.

Here's an example Web Manifest in the wild which does not have a start_url (and has display=standalone) where a default start_url of "."  would result in a 404.
https://weather.com/weather/assets/manifest.507fcb498f4e29acfeed7596fe002857.json
https://weather.com/weather/assets/ is a 404.





-- 
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/pull/670#issuecomment-391099256

Received on Tuesday, 22 May 2018 18:45:44 UTC