- From: Kenneth Rohde Christiansen <notifications@github.com>
- Date: Wed, 31 Jan 2018 10:30:07 +0000 (UTC)
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 31 January 2018 10:30:32 UTC
kenchris commented on this pull request. > </p> + <div class="note" data-link-for="WebAppManifest"> + <p> + If the <a>scope</a> member is not present in the manifest, it + defaults to the parent path of the <a>start_url</a> member. For + example, if <a>start_url</a> is <code>/pages/welcome.html</code>, and + <a>scope</a> is missing, the navigation scope will be + <code>/pages/</code> on the same origin. If <a>start_url</a> is + <code>/pages/</code> (the trailing slash is important!), the + navigation scope will be <code>/pages/</code>. So basically something like a base path or so. Isn't this defined somewhere? If not, why not define it and create an algorithm, basically: `base = (url) => url.substr(0, url.lastIndexOf('/') + 1)` -- 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/647#pullrequestreview-92873235
Received on Wednesday, 31 January 2018 10:30:32 UTC