Re: [w3c/manifest] Make the default scope the origin rather than the parent directory of the start_url (#993)

This is motivated by the case where a user is installing sites that are yet to adopt manifests which is likely most sites for the foreseeable future. For these sites I think defaulting to `"scope": "/"` is more likely to behave correctly.

Default scope to document URL parent:
- Avoids multiple defacto web apps on one origin that are yet to use the manifest API from sharing an overlapping scope and having both show up in "open in" UI.
- Impact: Low.
- Probability: Very low.

Default scope to origin:
- Avoids the user seeing the "you have navigated out of the web app scope" warning UI while browsing defacto web apps that are yet to use the manifest API that were installed from a page nested more than one level deeper than the appropriate scope.
- Impact: Medium.
- Probability: High.

Granted this is not based on data, just my own hand waving, I think it's a reasonable justification for the change in default.


-- 
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/993#issuecomment-904400269

Received on Tuesday, 24 August 2021 07:38:41 UTC