[w3c/ServiceWorker] maxScopeString definition is missing the trailing '/' (#1423)

The spec has:

> Set maxScopeString to "/" concatenated with the strings, except the last string that denotes the script’s file name, in job’s script url's path (including empty strings), separated from each other by "/".

This seems to omit the trailing "/". Therefore a service worker in /foo/bar/sw.js gets maxScopeString of /foo/bar instead of the intended /foo/bar/.

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

Received on Friday, 7 June 2019 03:38:21 UTC