[w3c/ServiceWorker] Match Service Worker Registration should assert same-origin? (#1118)

It's non-obvious from reading https://w3c.github.io/ServiceWorker/#scope-match-algorithm that `clientURL` can't match a cross-origin service worker registration. AFAICT it relies on URLs serializing with a slash at the end. Can Step 5 assert the `matchingScope` is same-origin with `clientURL`?

-- 
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

Received on Friday, 14 April 2017 00:37:56 UTC