[w3c/ServiceWorker] Assert same-origin for registration matching (#1138)

This patch adds an assertion in the Match Service Worker Registration
that the given URL and the matched URL are the same origin. This also
adds a note that the URL serializer serializes the URLs with a trailing
slash at the end of the origin part of the URLs.

Fixes #1118.
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/ServiceWorker/pull/1138

-- Commit Summary --

  * Assert same-origin for registration matching

-- File Changes --

    M docs/index.bs (6)
    M docs/v1/index.bs (6)

-- Patch Links --

https://github.com/w3c/ServiceWorker/pull/1138.patch
https://github.com/w3c/ServiceWorker/pull/1138.diff

-- 
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/pull/1138

Received on Friday, 12 May 2017 10:35:51 UTC