gecko-dev/caps
Gijs Kruitbosch faf68417dc Bug 1461407 - make about:home unlinkable again and improve behavior of serialized principals across changes to URLs, r=bz,Mardak,mikedeboer
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
2018-05-14 22:04:49 +01:00
..
tests Bug 1456035: Follow-up: Delete redundant test_extensionURL.html, which fails with wrapper errors. r=me f=aswan CLOSED TREE 2018-04-25 17:01:36 -07:00
BasePrincipal.cpp Bug 1460940 - Convert nsIPrincipal to use nsIDocument. r=bz 2018-05-11 19:46:15 +02:00
BasePrincipal.h Bug 1460940 - Convert nsIPrincipal to use nsIDocument. r=bz 2018-05-11 19:46:15 +02:00
ContentPrincipal.cpp Bug 1461407 - make about:home unlinkable again and improve behavior of serialized principals across changes to URLs, r=bz,Mardak,mikedeboer 2018-05-14 22:04:49 +01:00
ContentPrincipal.h Bug 1448058 - Remove nsIMutable from URI implementations r=mayhemer 2018-05-09 18:21:24 +02:00
DomainPolicy.cpp
DomainPolicy.h
ExpandedPrincipal.cpp
ExpandedPrincipal.h
moz.build
nsIAddonPolicyService.idl
nsIDomainPolicy.idl
nsIPrincipal.idl Bug 1460940 - Convert nsIPrincipal to use nsIDocument. r=bz 2018-05-11 19:46:15 +02:00
nsIScriptSecurityManager.idl
nsJSPrincipals.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsJSPrincipals.h
nsScriptSecurityManager.cpp Bug 1460685 - Backed out changeset 09ee763947c3 (bug 1352513);r=Gijs 2018-05-11 16:26:07 -07:00
nsScriptSecurityManager.h
NullPrincipal.cpp Bug 1448058 - Remove nsIMutable from URI implementations r=mayhemer 2018-05-09 18:21:24 +02:00
NullPrincipal.h
NullPrincipalURI.cpp
NullPrincipalURI.h
OriginAttributes.cpp
OriginAttributes.h
SystemPrincipal.cpp Bug 1460940 - Convert nsIPrincipal to use nsIDocument. r=bz 2018-05-11 19:46:15 +02:00
SystemPrincipal.h Bug 1460940 - Convert nsIPrincipal to use nsIDocument. r=bz 2018-05-11 19:46:15 +02:00