blob: b9dabb758d24a947757e3c9d72d967446fa2530b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
add_setup(async function () {
await setupPolicyEngineWithJson({
policies: {
"3rdparty": {
Extensions: {
"3rdparty-policy@mozilla.com": {
string: "value",
},
},
},
},
});
let extensionPolicy = Services.policies.getExtensionPolicy(
"3rdparty-policy@mozilla.com"
);
deepEqual(extensionPolicy, { string: "value" });
});
|