mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
faf68417dc
Making about:home unlinkable changes its URL structure. Prior to this change, it is a nested URL. After this change, it no longer is. We store serialized versions of principals in some cases. These include details about whether the URI is nested etc. This is problematic for the about:home change because the change in nesting changes the origin of the page, so the origin would mismatch between the principal and its URL. To avoid this, we always re-create URIs for about: URIs when deserializing them from strings, ensuring we don't create bogus principals. MozReview-Commit-ID: 87zVUFgbusn --HG-- extra : rebase_source : a7ad0dc3b1ea39521517da648f234d35d9a1729f |
||
---|---|---|
.. | ||
tests | ||
BasePrincipal.cpp | ||
BasePrincipal.h | ||
ContentPrincipal.cpp | ||
ContentPrincipal.h | ||
DomainPolicy.cpp | ||
DomainPolicy.h | ||
ExpandedPrincipal.cpp | ||
ExpandedPrincipal.h | ||
moz.build | ||
nsIAddonPolicyService.idl | ||
nsIDomainPolicy.idl | ||
nsIPrincipal.idl | ||
nsIScriptSecurityManager.idl | ||
nsJSPrincipals.cpp | ||
nsJSPrincipals.h | ||
nsScriptSecurityManager.cpp | ||
nsScriptSecurityManager.h | ||
NullPrincipal.cpp | ||
NullPrincipal.h | ||
NullPrincipalURI.cpp | ||
NullPrincipalURI.h | ||
OriginAttributes.cpp | ||
OriginAttributes.h | ||
SystemPrincipal.cpp | ||
SystemPrincipal.h |