Bug 1818446 - Make caps/tests/gtest buildable outside of a unified build environment r=andi

Depends on D170728

Differential Revision: https://phabricator.services.mozilla.com/D170729
This commit is contained in:
serge-sans-paille 2023-02-27 13:43:01 +00:00
parent 773fe1f2cd
commit f9b7740fc8
2 changed files with 2 additions and 4 deletions

View File

@ -119,7 +119,7 @@ TEST(PrincipalSerialization, ExpandedPrincipal)
BasePrincipal::eContentPrincipal);
allowedDomains[1] = principal2;
OriginAttributes attrs;
mozilla::OriginAttributes attrs;
RefPtr<ExpandedPrincipal> result =
ExpandedPrincipal::Create(allowedDomains, attrs);
ASSERT_EQ(BasePrincipal::Cast(result)->Kind(),
@ -177,7 +177,7 @@ TEST(PrincipalSerialization, ExpandedPrincipalOA)
BasePrincipal::eContentPrincipal);
allowedDomains[1] = principal2;
OriginAttributes attrs;
mozilla::OriginAttributes attrs;
nsAutoCString suffix("^userContextId=1");
bool ok = attrs.PopulateFromSuffix(suffix);
ASSERT_TRUE(ok);

View File

@ -16,5 +16,3 @@ UNIFIED_SOURCES += [
include("/ipc/chromium/chromium-config.mozbuild")
FINAL_LIBRARY = "xul-gtest"
REQUIRES_UNIFIED_BUILD = True