- From: Jungkee Song <notifications@github.com>
- Date: Thu, 04 May 2017 02:37:56 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 4 May 2017 09:38:28 UTC
I think comparing the serialized URLs would be better here. The registration matching is a prefix-based string matching rather than a path structural. So, we'd have to compare the strings for the paths at the end anyway. Also, parsing the given URLs to the `register()` API and serializing them in the matching algorithm nicely abstract away the details of the URL comparison. (URL standard doesn't provide a URL equality check algorithm itself, either.) -- 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/ServiceWorker/issues/1118#issuecomment-299139037
Received on Thursday, 4 May 2017 09:38:28 UTC