diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
commit | da4c7e7ed675c3bf405668739c3012d140856109 (patch) | |
tree | cdd868dba063fecba609a1d819de271f0d51b23e /toolkit/components/enterprisepolicies/tests | |
parent | Adding upstream version 125.0.3. (diff) | |
download | firefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip |
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/enterprisepolicies/tests')
-rw-r--r-- | toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.sys.mjs | 2 | ||||
-rw-r--r-- | toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.sys.mjs b/toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.sys.mjs index b877c6f738..dd0f5caf89 100644 --- a/toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.sys.mjs +++ b/toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.sys.mjs @@ -83,7 +83,7 @@ export var EnterprisePolicyTesting = { /** * This helper will track prefs that have been changed * by the policy engine through the setAndLockPref and - * setDefaultPref APIs (from Policies.jsm) and make sure + * setDefaultPref APIs (from Policies.sys.mjs) and make sure * that they are restored to their original values when * the test ends or another test case restarts the engine. */ diff --git a/toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js b/toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js index 3da3d250c6..c0fd63870a 100644 --- a/toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js +++ b/toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js @@ -14,13 +14,13 @@ add_task(async function test_enterprise_only_policies() { enterprisePolicyRan = false; Policies.NormalPolicy = { - onProfileAfterChange(manager, param) { + onProfileAfterChange() { normalPolicyRan = true; }, }; Policies.EnterpriseOnlyPolicy = { - onProfileAfterChange(manager, param) { + onProfileAfterChange() { enterprisePolicyRan = true; }, }; |