mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00

This patch uses MozURL in ServiceWorkerRegistrar and in DBScheme to obtain the origin of a URL. This is safe because the URL is always http/https/ftp. It also changes the serialization of Principal in nsJSPrincipals in order to pass the originNoSuffix together with the OriginAttributes and the spec.