tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_import_enterprise_roots.js (420B)


      1 /* Any copyright is dedicated to the Public Domain.
      2 * http://creativecommons.org/publicdomain/zero/1.0/ */
      3 
      4 "use strict";
      5 
      6 add_task(async function test_roots_inactive() {
      7  await setupPolicyEngineWithJson({
      8    policies: {
      9      Certificates: {
     10        ImportEnterpriseRoots: true,
     11      },
     12    },
     13  });
     14 
     15  equal(
     16    Services.policies.status,
     17    Ci.nsIEnterprisePolicies.INACTIVE,
     18    "Engine is not active"
     19  );
     20 });