forked from mirrors/gecko-dev
GetURI can succeed, but still return null. In that case, BasePrincipal::IsL10nAllowed will pass null into NS_URIChainHasFlags, causing it to fail, which will produce three separate warnings, and then return NS_OK. A recent change caused this function to be call much more frequently, so this is now the top source of log spam in debug builds. This change should not affect the behavior, aside from the lack of warnings. Original Revision: https://phabricator.services.mozilla.com/D219065 Differential Revision: https://phabricator.services.mozilla.com/D219575 |
||
|---|---|---|
| .. | ||
| tests | ||
| BasePrincipal.cpp | ||
| BasePrincipal.h | ||
| ContentPrincipal.cpp | ||
| ContentPrincipal.h | ||
| ContentPrincipalJSONHandler.h | ||
| DomainPolicy.cpp | ||
| DomainPolicy.h | ||
| ExpandedPrincipal.cpp | ||
| ExpandedPrincipal.h | ||
| ExpandedPrincipalJSONHandler.h | ||
| moz.build | ||
| nsIAddonPolicyService.idl | ||
| nsIDomainPolicy.idl | ||
| nsIPrincipal.idl | ||
| nsIScriptSecurityManager.idl | ||
| nsJSPrincipals.cpp | ||
| nsJSPrincipals.h | ||
| nsScriptSecurityManager.cpp | ||
| nsScriptSecurityManager.h | ||
| NullPrincipal.cpp | ||
| NullPrincipal.h | ||
| NullPrincipalJSONHandler.h | ||
| OriginAttributes.cpp | ||
| OriginAttributes.h | ||
| OriginAttributesHashKey.h | ||
| PrincipalHashKey.h | ||
| PrincipalJSONHandler.h | ||
| SharedJSONHandler.h | ||
| SubsumedPrincipalJSONHandler.h | ||
| SystemPrincipal.cpp | ||
| SystemPrincipal.h | ||