gecko-dev/caps
Tim Huang f5dcf5b4b6 Bug 1470156 - Part 2: Fixing the crashing problem when using an invalid character in a firstPartyDomain. r=baku
This patch adds a sanitization of firstPartyDomain when calling the
OriginAttributes::CreateSuffix() and remove the release assert there.
The cookies API for the web extension can use a arbitrary string for the
firstPartyDomain. So, we should sanitize the firstPartyDomain before
we creating a suffix. The release assert is not required anymore since
the firstPartyDomain is sanitized

Depends on D1845.

Differential Revision: https://phabricator.services.mozilla.com/D1856

--HG--
extra : moz-landing-system : lando
2018-07-03 13:47:45 +00:00
..
tests Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
BasePrincipal.cpp Backed out 3 changesets (bug 1470023, bug 1469719, bug 1470965) for | toolkit/components/perfmonitoring/tests/browser/browser_compartments.js on a CLOSED TREE 2018-06-26 22:57:54 +03:00
BasePrincipal.h Bug 1453916 - Allow canvas extraction from webextension content-script even with resistFingerprinting turned on. r=kmag,bz 2018-05-14 20:49:32 +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 Bug 1433958 - Change code that sets nsIURI.host to use nsIURIMutator r=mayhemer 2018-02-26 20:43:47 +01:00
DomainPolicy.h
ExpandedPrincipal.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
ExpandedPrincipal.h Bug 1452666. Implement nsISerializable on expanded principals. r=kmag 2018-05-24 02:43:14 -04:00
NullPrincipal.cpp Bug 1448058 - Remove nsIMutable from URI implementations r=mayhemer 2018-05-09 18:21:24 +02:00
NullPrincipal.h Bug 1378552 - Reduce the liklihood of inadvertently misusing NullPrincipal::Create(). r=ckerschb 2018-03-22 13:36:20 -05:00
NullPrincipalURI.cpp Bug 1448330 - Make nsIURI.clone a private method r=mayhemer 2018-06-14 13:05:43 +02:00
NullPrincipalURI.h Bug 1448330 - Make nsIURI.clone a private method r=mayhemer 2018-06-14 13:05:43 +02:00
OriginAttributes.cpp Bug 1470156 - Part 2: Fixing the crashing problem when using an invalid character in a firstPartyDomain. r=baku 2018-07-03 13:47:45 +00:00
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
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 Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj 2018-02-05 22:46:57 -08:00
nsScriptSecurityManager.cpp Bug 1464374 part 4 - Remove unused nsScriptSecurityManager::doGetObjectPrincipal. r=bz 2018-05-31 11:28:49 +02:00
nsScriptSecurityManager.h Bug 1464374 part 4 - Remove unused nsScriptSecurityManager::doGetObjectPrincipal. r=bz 2018-05-31 11:28:49 +02:00