- From: Matt Giuca <notifications@github.com>
- Date: Wed, 01 Jul 2020 17:23:46 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 2 July 2020 00:23:58 UTC
@mgiuca commented on this pull request.
> @@ -304,6 +304,10 @@ <h2>
</li>
</ul>
</li>
+ <li>Otherwise, if |manifest|["{{WebAppManifest/start_url}}"] is not
+ present, or not <a>same origin</a> as the {{Document}}'s
+ {{Document/URL}}, consider the document not <a>installable</a>.
Ah, I didn't see this before. It's not so simple that we can simply say "MAY" here; otherwise that would allow user agents to install a document linking a manifest whose `start_url` and `scope` are on a different origin (where previous to this PR, we reset the `start_url` and `scope` to the document URL).
So I think if we change this, we need to have some wording similar to the "non-fatal" case of step 2 above, where we say "the user agent MAY either: 1. set `start_url` to the document URL and `scope` to match, or 2. consider the document not installable."
You're right, Chromium browsers allow this, but I'm sure we don't just let you install a manifest that has its start and scope on another origin. I'll figure out what they do.
--
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/834#discussion_r448682090
Received on Thursday, 2 July 2020 00:23:58 UTC