gecko-dev/caps
Timothy Nikkel 6cac46fa3b Bug 1864267. Silence warning in BasePrincipal::GetIsLoopbackHost. r=nchevobbe
Just starting up a debug build you will get 40 copies of this printed.

The uri that we fail to get host of is about:newtab. One stack looks like this

#02: mozilla::BasePrincipal::GetIsLoopbackHost(bool*)
#03: mozilla::net::LoadInfo::LoadInfo(nsIPrincipal*, nsIPrincipal*, nsINode*, unsigned int, nsIContentPolicy::nsContentPolicyType, mozilla::Maybe<mozilla::dom::ClientInfo> const&, mozilla::Maybe<mozilla::dom::ServiceWorkerDescriptor> const&, unsigned int, bool
#04: ShouldLoadCachedImage(imgRequest*, mozilla::dom::Document*, nsIPrincipal*, nsIContentPolicy::nsContentPolicyType, bool)
#05: imgLoader::LoadImage(nsIURI*, nsIURI*, nsIReferrerInfo*, nsIPrincipal*, unsigned long long, nsILoadGroup*, imgINotificationObserver*, nsINode*, mozilla::dom::Document*, unsigned int, nsISupports*, nsIContentPolicy::nsContentPolicyType, nsTSubstring<char16
#06: nsContentUtils::LoadImage(nsIURI*, nsINode*, mozilla::dom::Document*, nsIPrincipal*, unsigned long long, nsIReferrerInfo*, imgINotificationObserver*, int, nsTSubstring<char16_t> const&, imgRequestProxy**, nsIContentPolicy::nsContentPolicyType, bool, bool,
#07: mozilla::css::ImageLoader::LoadImage(mozilla::StyleComputedUrl const&, mozilla::dom::Document&)
#08: mozilla::StyleComputedUrl::ResolveImage(mozilla::dom::Document&, mozilla::StyleComputedUrl const*)
#09: nsStyleImageLayers::ResolveImages(mozilla::dom::Document&, nsStyleImageLayers const*)
#10: mozilla::ComputedStyle::StartImageLoads(mozilla::dom::Document&, mozilla::ComputedStyle const*)

Differential Revision: https://phabricator.services.mozilla.com/D193349
2023-11-15 09:56:43 +00:00
..
tests Bug 1856578 - follow up - Empty Lines at end of file r=nataliaCs 2023-10-03 11:35:36 +00:00
BasePrincipal.cpp Bug 1864267. Silence warning in BasePrincipal::GetIsLoopbackHost. r=nchevobbe 2023-11-15 09:56:43 +00:00
BasePrincipal.h Bug 1839920 - Rename Get{ASCII,UTF}Origin to GetWebExposedOriginSerialization, r=smaug,necko-reviewers,anti-tracking-reviewers,bvandersloot,jesup 2023-06-27 19:59:15 +00:00
ContentPrincipal.cpp Bug 1795312 - Optimize serializing enums as JSON string keys for principals. r=farre 2023-02-14 10:17:17 +00:00
ContentPrincipal.h Bug 1443925 - Part 10: Use AddonPolicyCore rather than AddonPolicy for principals, r=ckerschb,extension-reviewers,kmag 2022-12-02 00:53:53 +00:00
DomainPolicy.cpp
DomainPolicy.h
ExpandedPrincipal.cpp Bug 1776755 - Skip ordering ExpandedPrincipals to speed up creation; r=nika,necko-reviewers 2023-03-13 14:52:04 +00:00
ExpandedPrincipal.h Bug 1795312 - Don't Base64 encode principals when serializing. r=peterv 2023-02-14 10:17:16 +00:00
NullPrincipal.cpp Bug 1795312 - Optimize serializing enums as JSON string keys for principals. r=farre 2023-02-14 10:17:17 +00:00
NullPrincipal.h
OriginAttributes.cpp Bug 1855734 - Use innermost nested URI in `PopulateTopLevelInfoFromURI` r=freddyb,timhuang 2023-11-08 13:44:26 +00:00
OriginAttributes.h Bug 1710232 - remove dead code unused function UseSiteForFirstPartyDomain in OriginAttributes.h. r=timhuang 2023-05-03 13:25:42 +00:00
PrincipalHashKey.h Bug 1798493 - Part 1: Use nsIPrincipal instead of ContentPrincipalInfo for PLockManager r=asuth 2023-06-28 20:48:14 +00:00
SystemPrincipal.cpp Bug 961019 - Remove nsIClassInfo::MAIN_THREAD_ONLY. r=peterv,necko-reviewers 2023-02-01 21:45:44 +00:00
SystemPrincipal.h Bug 1443925 - Part 5: Make it possible to get the system principal from any thread, r=ckerschb 2022-12-02 00:53:51 +00:00
moz.build Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich 2023-10-02 17:18:28 +00:00
nsIAddonPolicyService.idl
nsIDomainPolicy.idl
nsIPrincipal.idl Bug 1839920 - Rename Get{ASCII,UTF}Origin to GetWebExposedOriginSerialization, r=smaug,necko-reviewers,anti-tracking-reviewers,bvandersloot,jesup 2023-06-27 19:59:15 +00:00
nsIScriptSecurityManager.idl
nsJSPrincipals.cpp Bug 1724649 - Followup to remove #include plstr.h r=necko-reviewers,xpcom-reviewers,valentin,nika 2023-05-15 14:53:02 +00:00
nsJSPrincipals.h Bug 1804093 - Part 5: Eliminate WorkerPrincipal and WorkletPrincipals, r=asuth 2022-12-12 22:08:36 +00:00
nsScriptSecurityManager.cpp Bug 1862692 - Part 16: Use 1-origin column number type in JS::DescribeScriptedCaller. r=iain 2023-11-09 11:41:10 +00:00
nsScriptSecurityManager.h Bug 1848694 - Remove/avoid global references to nsIIOService r=mccr8,necko-reviewers,kershaw 2023-09-22 12:49:44 +00:00