summaryrefslogtreecommitdiffstats
path: root/toolkit/components/extensions/test/xpcshell/head_legacy_ep.js
blob: 8bb39c04524d08ef1c276757d60302de1d3c3823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"use strict";

// Bug 1646182: Test the legacy ExtensionPermission backend until we fully
// migrate to rkv

{
  const { ExtensionPermissions } = ChromeUtils.importESModule(
    "resource://gre/modules/ExtensionPermissions.sys.mjs"
  );

  ExtensionPermissions._useLegacyStorageBackend = true;
  ExtensionPermissions._uninit();
}