- From: Marcos Cáceres <notifications@github.com>
- Date: Sun, 08 Aug 2021 22:11:16 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/manifest/pull/988/review/725020868@github.com>
@marcoscaceres commented on this pull request.
> + <li>Set |manifest|["id"] to |manifest|["start_url"].
+ </li>
+ <li>If the type of |json|["id"] is not [=string=], return.
+ </li>
+ <li>Let |id:URL| be the result of [=URL Parser|parsing=] |json|["id"]
+ with |manifest|["start_ur"]'s origin as the base URL.
+ </li>
+ <li>If |id| is not same origin as |manifest|["start_url"], return.
+ </li>
+ <li>If |id| is failure, return.
```suggestion
<li>
Let |fallbackId:URL| be the result of [=URL Parser|parsing=] |manifest|["start_URL"].
</li>
<li>
Set |manifest|["start_url"] to |fallbackId|.
</li>
<li>
If the type of |json|["id"] is not [=string=], terminate this algorithm.
</li>
<li>
Let |id:URL| be the result of [=URL Parser|parsing=] |json|["id"]
with |manifest|["start_url"]'s origin as the base URL.
</li>
<li>
If |id| is failure, terminate this algorithm.
</li>
<li>
If |id| is not same origin as |manifest|["start_url"], terminate this algorithm.
</li>
<li>
Set |manifest|["start_url"] to |id|.
</li>
```
--
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/988#pullrequestreview-725020868
Received on Monday, 9 August 2021 05:11:28 UTC