summaryrefslogtreecommitdiffstats
path: root/toolkit/components/enterprisepolicies/tests/xpcshell/test_empty.js
blob: 7458f959600cd3dbbbc3bb785bb4ad8518cd4524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

add_task(async function test_empty_toplevel() {
  await setupPolicyEngineWithJson({
    policies: {},
  });

  equal(
    Services.policies.status,
    Ci.nsIEnterprisePolicies.INACTIVE,
    "Engine is not active"
  );
});