Re: [url] URL comparison methods (#20)

In particular, I need "subsumes" for Web Manifest's "navigation scope". The problem I'm trying to solve in manifests is described in more detail here HTML [Bug 27653](https://www.w3.org/Bugs/Public/show_bug.cgi?id=27653). 

Ideally, I would like to just hook into the URL spec to do the comparison for me (even if it doesn't end up reflected in the API, though that would be sad because it seems useful).

Service Worker's may also benefit from having this algorithm, as they need something similar where they check if a fetch request is in scope of some URL space the a service worker controls. Ideally, both manifest and SWs would use the same algorithm to do this comparison.  

---
Reply to this email directly or view it on GitHub:
https://github.com/webspecs/url/issues/20#issuecomment-67603052

Received on Friday, 19 December 2014 06:28:24 UTC