gecko-dev/caps
Yoshi Huang 6c3b62e2fb 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-06 01:50:15 +08:00
..
tests Bug 1260931 - Part 1: add firstPartyDomain. r=smaug 2016-09-06 01:50:15 +08:00
BasePrincipal.cpp Bug 1260931 - Part 1: add firstPartyDomain. r=smaug 2016-09-06 01:50:15 +08:00
BasePrincipal.h Bug 1260931 - Part 1: add firstPartyDomain. r=smaug 2016-09-06 01:50:15 +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
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 Backed out changeset 1e7eb0625d3e (bug 1297687) a=merge 2016-09-02 13:18:37 -07:00
nsJSPrincipals.cpp Bug 1295103 - Use MOZ_MUST_USE in OriginAttributes. r=allstars 2016-08-15 18:22:44 +08:00
nsJSPrincipals.h
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 Backed out changeset 1e7eb0625d3e (bug 1297687) a=merge 2016-09-02 13:18:37 -07:00
nsPrincipal.h Backed out changeset 1e7eb0625d3e (bug 1297687) a=merge 2016-09-02 13:18:37 -07:00
nsScriptSecurityManager.cpp Backed out changeset 1e7eb0625d3e (bug 1297687) a=merge 2016-09-02 13:18:37 -07: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