gecko-dev/caps
Ehsan Akhgari b7a58af3de Bug 1527505 - Part 8: Lift the handling of expanded principals out of CommonTestPermissionInternal() into CommonPrepareToTestPermission(); r=nika
This patch in the series ensures that the order of operations in
recursive invocations of CommonTestPermission() remains consistent
compared to before the patch series, even though it is not strictly
needed for the performance improvements that the series focuses on.

The core idea behind CommonPrepareToTestPermission() now is to do the checks
that do not depend on the host name being tested, and for
CommonTestPermissionInternal() itself to focus on the rest of the checks,
that is looking up our hashtable entry based on the host name being tested,
and everything else that's needed from that point on.

Depends on D20235

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

--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:26 +00:00
..
tests Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
BasePrincipal.cpp Bug 1515863, r=ckerschb 2019-01-08 16:59:21 +01:00
BasePrincipal.h Bug 1346759 - Use URI comparison for null principals instead of pointer comparison. r=ckerschb,bholley 2019-02-11 18:03:12 +00:00
ContentPrincipal.cpp Bug 1514050 part 2. Stop recomputing cross-compartment wrappers on document.domain changes. r=bholley 2019-01-30 19:02:34 +00:00
ContentPrincipal.h Bug 1515863, r=ckerschb 2018-12-21 11:56:47 +00:00
DomainPolicy.cpp Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
DomainPolicy.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
ExpandedPrincipal.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ExpandedPrincipal.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
NullPrincipal.cpp Bug 1346759 - Use URI comparison for null principals instead of pointer comparison. r=ckerschb,bholley 2019-02-11 18:03:12 +00:00
NullPrincipal.h Bug 1346759 - Use URI comparison for null principals instead of pointer comparison. r=ckerschb,bholley 2019-02-11 18:03:12 +00:00
NullPrincipalURI.cpp Bug 1346759 - Use URI comparison for null principals instead of pointer comparison. r=ckerschb,bholley 2019-02-11 18:03:12 +00:00
NullPrincipalURI.h Bug 1522596 - Remove nsIIPCSerializableURI and move its only member to nsIURI; r=valentin 2019-01-25 13:32:36 +00:00
OriginAttributes.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
OriginAttributes.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
SystemPrincipal.cpp Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
SystemPrincipal.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
moz.build Bug 1527505 - Part 8: Lift the handling of expanded principals out of CommonTestPermissionInternal() into CommonPrepareToTestPermission(); r=nika 2019-02-21 22:54:26 +00:00
nsIAddonPolicyService.idl Bug 1356334: Part 4 - Add a helper to synchronously get an extension's name from its ID. r=billm 2017-08-11 21:22:18 -07:00
nsIDomainPolicy.idl Bug 1507540 part 1. Use more notxpcom attributes in caps/. r=mrbkap 2018-11-19 20:17:52 -05:00
nsIPrincipal.idl Bug 1518991 - Make nsIPrincipal URI getter infallible; r=bholley 2019-01-10 05:44:33 +00:00
nsIScriptSecurityManager.idl Bug 1515863, r=ckerschb 2018-12-21 11:56:47 +00:00
nsJSPrincipals.cpp Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
nsJSPrincipals.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsScriptSecurityManager.cpp Bug 1528677: Remove nullchecks for loadinfo since we have loadinfo on all channels. r=baku 2019-02-20 13:27:25 +01:00
nsScriptSecurityManager.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00