Skip to content

Commit 8eccdae

Browse files
committed
Bug 2000929 - ImportEnterpriseRoots should be truthy. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D273077 UltraBlame original commit: a7ab407c4b2f588b662a5f6f0a01ec194ddf0e2a
1 parent d592460 commit 8eccdae

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

toolkit/components/enterprisepolicies/EnterprisePoliciesParent.sys.mjs

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,41 @@ it
907907
via
908908
policy
909909
.
910+
/
911+
/
912+
We
913+
have
914+
to
915+
explicitly
916+
check
917+
for
918+
true
919+
or
920+
1
921+
because
922+
this
923+
happens
924+
before
925+
/
926+
/
927+
policy
928+
is
929+
parsed
930+
against
931+
the
932+
schema
933+
so
934+
the
935+
value
936+
could
937+
be
938+
coming
939+
/
940+
/
941+
from
942+
the
943+
registry
944+
.
910945
if
911946
(
912947
Object
@@ -950,6 +985,7 @@ length
950985
1
951986
&
952987
&
988+
(
953989
provider
954990
.
955991
policies
@@ -961,6 +997,20 @@ ImportEnterpriseRoots
961997
=
962998
=
963999
true
1000+
|
1001+
|
1002+
provider
1003+
.
1004+
policies
1005+
.
1006+
Certificates
1007+
.
1008+
ImportEnterpriseRoots
1009+
=
1010+
=
1011+
=
1012+
1
1013+
)
9641014
)
9651015
{
9661016
this

0 commit comments

Comments
 (0)