gecko-dev/caps
Yoshi Huang 996e0349b3 Bug 1300671 - set firstPartyDomain on about: pages. r=smaug
When we load about:blank in a remote tab, it will have
LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL flag set, which will make
NullPrinicipal as its document principal. So we add
NULL_PRINCIPAL_FIRST_PARTY_DOMAIN as its firstPartyDomain.

So when we load data:, or javascript: URI in a remote tab, it will inherit the
principal from about:blank, hence also inherit the origin attributes.

There are also some about: pages will use codebase principal, so we also
set ABOUT_URI_FIRST_PARTY_DOMAIN as firstPartyDomain on their
principals.
2017-03-14 16:22:02 +08:00
..
tests Bug 1340710 - Part 5: Make nsIPrincipal.origin throw for about:blank codebase URI principals; r=bholley 2017-03-06 22:27:51 -05:00
BasePrincipal.cpp Bug 1300671 - set firstPartyDomain on about: pages. r=smaug 2017-03-14 16:22:02 +08:00
BasePrincipal.h Bug 1300671 - set firstPartyDomain on about: pages. r=smaug 2017-03-14 16:22:02 +08:00
DomainPolicy.cpp bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
DomainPolicy.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
moz.build Bug 1341250 - Moving nsExpandedPrincipal in separate files, r=qdot 2017-02-22 10:01:43 +01:00
nsExpandedPrincipal.cpp Bug 1340710 - Part 6: Store BasePrincipal::{mOriginNoSuffix,mOriginSuffix} as a pair of atoms; r=bholley 2017-03-06 22:27:53 -05:00
nsExpandedPrincipal.h Bug 1340710 - Part 6: Store BasePrincipal::{mOriginNoSuffix,mOriginSuffix} as a pair of atoms; r=bholley 2017-03-06 22:27:53 -05:00
nsIAddonPolicyService.idl Bug 1308640 bypass TP when addon has explicit permission to url, r=bz,kmag,mrbkap 2017-02-09 21:08:06 -08:00
nsIDomainPolicy.idl bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
nsIPrincipal.idl Bug 1339251 - Make Equals/Subsumes faster when comparing same objects, r=bholley 2017-02-22 13:19:03 +02:00
nsIScriptSecurityManager.idl Bug 1320402 - Move url-classifier off of using appIds. r=ehsan, gcp 2017-01-03 14:21:58 +08:00
nsJSPrincipals.cpp Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
nsJSPrincipals.h Bug 1297300 - Add missing checks to GetSpec() calls in caps/ and js/. r=mrbkap. 2016-08-30 14:22:04 +10:00
nsNullPrincipal.cpp Bug 1300671 - set firstPartyDomain on about: pages. r=smaug 2017-03-14 16:22:02 +08:00
nsNullPrincipal.h Bug 1300671 - set firstPartyDomain on about: pages. r=smaug 2017-03-14 16:22:02 +08:00
nsNullPrincipalURI.cpp Bug 1332202 - Convert most infallible NS_EscapeURL calls to fallible version. r=froydnj 2017-01-24 11:11:44 -08:00
nsNullPrincipalURI.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
nsPrincipal.cpp Bug 1340710 - Part 8: Add a fast path for nsIPrincipal::EqualsConsideringDomain() and nsIPrincipal::SubsumesConsideringDomain(); r=bholley 2017-03-06 22:30:54 -05:00
nsPrincipal.h Bug 1340710 - Part 2: De-virtualize BasePrincipal::Kind(); r=bholley 2017-03-06 22:27:37 -05:00
nsScriptSecurityManager.cpp Bug 1345168 - Get rid of OriginAttributes::Inherit, r=tjr 2017-03-08 07:41:51 +01:00
nsScriptSecurityManager.h Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
nsSystemPrincipal.cpp Bug 1340710 - Part 6: Store BasePrincipal::{mOriginNoSuffix,mOriginSuffix} as a pair of atoms; r=bholley 2017-03-06 22:27:53 -05:00
nsSystemPrincipal.h Bug 1340710 - Part 6: Store BasePrincipal::{mOriginNoSuffix,mOriginSuffix} as a pair of atoms; r=bholley 2017-03-06 22:27:53 -05:00