Re: [w3c/manifest] Use docURL as start_url (#991)

@dmurph commented on this pull request.



> @@ -763,9 +763,14 @@ <h3>
           |manifest URL:URL|, and [=URL=] |document URL:URL|:
         </p>
         <ol class="algorithm">
-          <li>If the type of |json|["start_url"] is not [=string=], return.
+          <li>Let |docHref:URL| be the result of [=URL Serializer|serializing=]
+          |document URL| with "exclude fragment" set to true.

I think the main reason to not do it this way (instead of, say, leaving it unset if empty), is for the use case of manifests being set NOT for installability. So, setting the theme color etc - if no start_url is set, then that is often treated as "I don't want to be installable / a web app".

with this change, any linked manifest would always have a start_url defined. I wonder if it is slightly preferable to NOT have a start_url defined here explicitly if it's not in the json, or if it's empty in the json.

-- 
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/991#discussion_r693144010

Received on Friday, 20 August 2021 18:33:22 UTC