-
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
IDL: Make name required #622
Comments
The associated PR was merged. We can close this, right @kenchris? |
But that associated didn't address the issue; this was filed in response to a comment on there. I think name possibly should be required. |
Looks like this was already litigated in 2013: #24 I think the issue is that we don't want to drastically error out if there's no name, but we still want to "require" it in what we consider a "valid" manifest. (Similar to how HTML @marcoscaceres Perhaps you can define this better in the new parser that you're working on. The "correct" thing to do here is to a) define a "valid" manifest, and b) define the user agent behaviour if the manifest is invalid, which may not be fatal; e.g., we may still accept a manifest that has no name but the site may not be installable. |
@mgiuca I can get behind that. |
this is in the spec already (at least, option 2 is)... will link it up properly. |
@marcoscaceres What needs to be done here? |
I still don't think we want to require name, tbh... some UAs may have criteria that invalidates a manifest without a name, but others might not. Safari, for instance, is perfectly happy to let you install a web application without a name. |
s/invalidates a manifest without a name/considers the manifest to not be installable |
Without it, users would end up with a less accessible app icon though, no? |
Not necessarily, the name can still be derived from the document's application-name, title, or given a system default like "untitled" (or the user can rename it). |
Sounds good. Let's document that. |
It's currently in the authority section:
But it may be good to actually move the above to the "application name" section. |
Hmm. #668 which I am trying to solve is working towards having the manifest not depend on the document for processing. I would rather not spec that the manifest's name falls back to the document. That is even more of a dependency on the document than we have now, which moves us away from being able to say "install this manifest" (without being in a document). I'm happy to keep a MAY that says the user agent can get stuff from the document. As discussed on #834, that's unavoidable given that user agents invent an entire manifest if installing a page without one, but I want to keep that as a user agent feature, and have the core manifest processing algorithm not rely on a document. |
Yeah, what's currently there (#622 (comment)) is sufficient IMO. It gives the UA flexibility and doesn't tie it to the document. |
Once #927 lands, shall we make this change? |
And look whether other properties need to be so too
The text was updated successfully, but these errors were encountered: