gecko-dev/caps
Liang-Heng Chen 489786654f Bug 1534339 - make OriginAttributes deserializable; r=baku
`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
2019-10-23 14:10:19 +00:00
..
tests Bug 1534339 - make OriginAttributes deserializable; r=baku 2019-10-23 14:10:19 +00:00
BasePrincipal.cpp Bug 1585664 - Add GetAsciiSpecForLogging and update callers r=ckerschb 2019-10-22 16:03:27 +00:00
BasePrincipal.h Bug 1585664 - Add GetAsciiSpecForLogging and update callers r=ckerschb 2019-10-22 16:03:27 +00:00
ContentPrincipal.cpp
ContentPrincipal.h
DomainPolicy.cpp
DomainPolicy.h
ExpandedPrincipal.cpp
ExpandedPrincipal.h
NullPrincipal.cpp
NullPrincipal.h
NullPrincipalURI.cpp
NullPrincipalURI.h
OriginAttributes.cpp Bug 1534339 - make OriginAttributes deserializable; r=baku 2019-10-23 14:10:19 +00:00
OriginAttributes.h
SystemPrincipal.cpp
SystemPrincipal.h
moz.build
nsIAddonPolicyService.idl
nsIDomainPolicy.idl
nsIPrincipal.idl Bug 1585664 - Add GetAsciiSpecForLogging and update callers r=ckerschb 2019-10-22 16:03:27 +00:00
nsIScriptSecurityManager.idl
nsJSPrincipals.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-21 14:13:44 +00:00
nsJSPrincipals.h Bug 1576254 - Add isSystemOrAddonPrincipal to JSPrincipal and nsJSPrincipals r=luke 2019-10-04 17:37:36 +00:00
nsScriptSecurityManager.cpp Bug 1586681 - Ensure URIFIxup uses the right engine when there's a separate PB engine. r=Standard8,Gijs 2019-10-12 12:37:51 +00:00
nsScriptSecurityManager.h