mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
e48e6c5e6c
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 |
||
---|---|---|
.. | ||
tests | ||
BasePrincipal.cpp | ||
BasePrincipal.h | ||
DomainPolicy.cpp | ||
DomainPolicy.h | ||
moz.build | ||
nsIAddonPolicyService.idl | ||
nsIDomainPolicy.idl | ||
nsIPrincipal.idl | ||
nsIScriptSecurityManager.idl | ||
nsJSPrincipals.cpp | ||
nsJSPrincipals.h | ||
nsNullPrincipal.cpp | ||
nsNullPrincipal.h | ||
nsNullPrincipalURI.cpp | ||
nsNullPrincipalURI.h | ||
nsPrincipal.cpp | ||
nsPrincipal.h | ||
nsScriptSecurityManager.cpp | ||
nsScriptSecurityManager.h | ||
nsSystemPrincipal.cpp | ||
nsSystemPrincipal.h |