mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
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:
parent
773fe1f2cd
commit
f9b7740fc8
@ -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);
|
||||
|
@ -16,5 +16,3 @@ UNIFIED_SOURCES += [
|
||||
include("/ipc/chromium/chromium-config.mozbuild")
|
||||
|
||||
FINAL_LIBRARY = "xul-gtest"
|
||||
|
||||
REQUIRES_UNIFIED_BUILD = True
|
||||
|
Loading…
Reference in New Issue
Block a user