Bug 1847769 - Clean up warnings from NotifySecondaryKeyPermissionUpdateInContentProcess - r=pbz

Differential Revision: https://phabricator.services.mozilla.com/D185685
This commit is contained in:
Benjamin VanderSloot 2023-08-11 16:46:39 +00:00
parent d663a37749
commit a560a190fb

View file

@ -619,7 +619,7 @@ nsresult NotifySecondaryKeyPermissionUpdateInContentProcess(
}
bool thirdParty;
nsresult rv = aTopPrincipal->IsThirdPartyURI(topURI, &thirdParty);
if (NS_WARN_IF(NS_FAILED(rv))) {
if (NS_FAILED(rv)) {
continue;
}
if (!thirdParty) {