-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarification needed for document URL #1147
Comments
Hi, I'm not an editor and they should be able to provide a definitive answer, but from my experience implementing the specification... @dipikabh wrote:
It is usually both. A user agent follows a manifest link relation in a page to fetch the manifest, and offers the user the option to install the web app from that page (which is then the "document URL"). It's not technically possible to install a web app from a web page outside the application (e.g. an app store) whilst conforming to the specification (although I believe Microsoft do do that, see #668).
As I understand it if no
Yes, I think that's correct.
Yes, otherwise the default (document URL) is used.
Although effectively true, it actually works the other way around. If the start URL is not within scope of the scope member provided in the manifest, then the start URL (with filename, query and fragment removed) is used as the scope instead, rather than the value that was provided in the manifest.
I'd be interested to know whether my understanding differs! |
Thanks @benfrancis. Appreciate you taking the time to share your experience as an implementer.
I'd be interested to add this information to our reference page once the editors confirm this behavior. The I'll wait to hear from the editors to confirm these behaviors. Thanks again! |
I am updating the manifest member documentation on MDN.
For
start_url
, the page currently states:(change source)
However, while updating the page in this PR (you can preview the changes), I am not clear about how to expand/replace/clarify "document URL":
There is not much detail in the specification and I'm trying to gather bits and pieces from old issues in this repo.
Context
Emphasis is mine:
https://w3c.github.io/manifest/#understanding-scope
start_url should not default to document URL #669, from the description:
Questions
Are these statements correct:
start_url
is not defined or invalid, then there is no default.But would it be correct to assume that the page from which the app is installed is used, though it is not set as the default starting point. What page would open when users click on the app icon?
scope
./cc @marcoscaceres @mgiuca : I'd appreciate your insights, thanks
The text was updated successfully, but these errors were encountered: