- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 13 Feb 2017 00:23:56 -0800
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 13 February 2017 08:24:40 UTC
@xxyzzzq, that is correct. It would be in scope.
```
const scope = new URL("https://example.com/foo");
const target = new URL("https://example.com/foobar.html");
console.log(scope.origin === target.origin && target.pathname.startsWith(scope.pathname)); // true
```
--
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/issues/554#issuecomment-279321579
Received on Monday, 13 February 2017 08:24:40 UTC