fune/caps
Andrew McCreight b404263f33 Bug 1912804 - Don't warn in BasePrincipal::IsL10nAllowed if GetURI return null. a=RyanVM
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
2024-08-19 22:38:04 +00:00
..
tests Backed out changeset 25f376fb859f (bug 1873973) for causing various regressions. 2024-05-31 15:08:52 -04:00
BasePrincipal.cpp Bug 1912804 - Don't warn in BasePrincipal::IsL10nAllowed if GetURI return null. a=RyanVM 2024-08-19 22:38:04 +00:00
BasePrincipal.h
ContentPrincipal.cpp
ContentPrincipal.h
ContentPrincipalJSONHandler.h
DomainPolicy.cpp
DomainPolicy.h
ExpandedPrincipal.cpp
ExpandedPrincipal.h
ExpandedPrincipalJSONHandler.h
moz.build
nsIAddonPolicyService.idl
nsIDomainPolicy.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsIPrincipal.idl Bug 1892481 - More consistently enforce noscript and builtinclass in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,mccr8,padenot 2024-04-22 18:19:58 +00:00
nsIScriptSecurityManager.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsJSPrincipals.cpp Bug 1892257 - Move nsStringBuffer to mfbt. r=nika,xpcom-reviewers,glandium 2024-05-14 14:24:26 +00:00
nsJSPrincipals.h
nsScriptSecurityManager.cpp Bug 1883860 - nsDocShell::HandleSameDocumentNavigation() cause crash in SetDocumentURI, r=smaug 2024-03-22 12:27:38 +00:00
nsScriptSecurityManager.h Bug 1883860 - nsDocShell::HandleSameDocumentNavigation() cause crash in SetDocumentURI, r=smaug 2024-03-22 12:27:38 +00:00
NullPrincipal.cpp
NullPrincipal.h
NullPrincipalJSONHandler.h
OriginAttributes.cpp Bug 1887719 - More consistently use UTF8String/nsCString for URLs. r=necko-reviewers,webidl,anti-tracking-reviewers,places-reviewers,jari,kershaw,janv,smaug,hsivonen 2024-04-04 11:49:57 +00:00
OriginAttributes.h Bug 1876574 - Add SameSite bit to partition-key origin attribute for first-party partitioning - r=timhuang 2024-04-02 18:53:25 +00:00
OriginAttributesHashKey.h
PrincipalHashKey.h
PrincipalJSONHandler.h
SharedJSONHandler.h
SubsumedPrincipalJSONHandler.h
SystemPrincipal.cpp
SystemPrincipal.h