gecko-dev/caps
Yoshi Huang e48e6c5e6c Bug 1260931 - Part 1: add firstPartyDomain. r=smaug
Add an origin attribute called 'firstPartyDomain'.
This value will be extracted from the URL bar.

And the purpose of this attribute is used to isolate the data-jars.
Please see the tor documentation.
https://www.torproject.org/projects/torbrowser/design/#identifier-linkability

The idea is like a superset of 'reject third party cookies', but not
only apply for cookies, it also applies to all data-jars like localStorage,
indexedDB and so on.

So basically an iframe will have its own data-jar, and this data-jar is
isolated by the URL from URL bar, for instance, an iframe
https://facebook.com inside https://cnn.com won't share data-jar with
the iframe (https://facebook.com) in https://bbc.com
2016-09-02 15:04:40 +08:00
..
tests Bug 1260931 - Part 1: add firstPartyDomain. r=smaug 2016-09-02 15:04:40 +08:00
BasePrincipal.cpp Bug 1260931 - Part 1: add firstPartyDomain. r=smaug 2016-09-02 15:04:40 +08:00
BasePrincipal.h Bug 1260931 - Part 1: add firstPartyDomain. r=smaug 2016-09-02 15:04:40 +08:00
DomainPolicy.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08: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 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
nsIAddonPolicyService.idl Bug 1197451 - Add clipboardWrite permission r=billm 2016-07-08 17:19:17 -07:00
nsIDomainPolicy.idl
nsIPrincipal.idl Bug 1283281 - Remove PB Flag from DOMStorage. r=jdm 2016-06-29 14:01:00 +02:00
nsIScriptSecurityManager.idl Bug 1297687 - Use the OriginAttributes associated with a window principal when creating a Sandbox with an expanded principal; r=baku 2016-09-01 14:34:23 -04:00
nsJSPrincipals.cpp Bug 1295103 - Use MOZ_MUST_USE in OriginAttributes. r=allstars 2016-08-15 18:22:44 +08:00
nsJSPrincipals.h Bug 1209263 - Allow embedders to tell SpiderMonkey how to structured clone principals; r=bz 2015-10-02 16:44:00 +02:00
nsNullPrincipal.cpp Bug 1263496 - Part 3: fix for nsNullPrincipal::Create 2016-04-27 18:38:07 +08:00
nsNullPrincipal.h Bug 1263496 - Part 3: fix for nsNullPrincipal::Create 2016-04-27 18:38:07 +08:00
nsNullPrincipalURI.cpp Bug 1295636 - SetHostPort should reset the port if the host parameter does not have a port number. r=valentin, r=smaug 2016-08-17 23:25:00 -04: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 1297687 - Use the OriginAttributes associated with a window principal when creating a Sandbox with an expanded principal; r=baku 2016-09-01 14:34:23 -04:00
nsPrincipal.h Bug 1297687 - Use the OriginAttributes associated with a window principal when creating a Sandbox with an expanded principal; r=baku 2016-09-01 14:34:23 -04:00
nsScriptSecurityManager.cpp Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm. 2016-09-01 15:01:16 +10:00
nsScriptSecurityManager.h Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru 2016-08-11 14:39:22 +02:00
nsSystemPrincipal.cpp Bug 1273364 - Trying to set a CSP on a SystemPrincipal should return NS_ERROR (r=njn) 2016-05-21 19:36:24 +02:00
nsSystemPrincipal.h Bug 1224694 - Unify and clean up initialization of CSP (r=sicking) 2016-01-14 13:21:31 -08:00