зеркало из https://github.com/mozilla/gecko-dev.git
489786654f
`CreateSuffix` is irreversible by `PopulateFromSuffix` because it uses a multi-to-one mapping. Since only ':' will happen in a IPv6 format, we can make it a 1-to-1 mapping so that the `firstPartyDomain` is consistent after `CreateSuffix` and `PopulateFromSuffix`. Differential Revision: https://phabricator.services.mozilla.com/D47910 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
BasePrincipal.cpp | ||
BasePrincipal.h | ||
ContentPrincipal.cpp | ||
ContentPrincipal.h | ||
DomainPolicy.cpp | ||
DomainPolicy.h | ||
ExpandedPrincipal.cpp | ||
ExpandedPrincipal.h | ||
NullPrincipal.cpp | ||
NullPrincipal.h | ||
NullPrincipalURI.cpp | ||
NullPrincipalURI.h | ||
OriginAttributes.cpp | ||
OriginAttributes.h | ||
SystemPrincipal.cpp | ||
SystemPrincipal.h | ||
moz.build | ||
nsIAddonPolicyService.idl | ||
nsIDomainPolicy.idl | ||
nsIPrincipal.idl | ||
nsIScriptSecurityManager.idl | ||
nsJSPrincipals.cpp | ||
nsJSPrincipals.h | ||
nsScriptSecurityManager.cpp | ||
nsScriptSecurityManager.h |