diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /browser/components/enterprisepolicies/tests/xpcshell | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/enterprisepolicies/tests/xpcshell')
-rw-r--r-- | browser/components/enterprisepolicies/tests/xpcshell/test_policy_search_engine.js | 2 | ||||
-rw-r--r-- | browser/components/enterprisepolicies/tests/xpcshell/test_simple_pref_policies.js | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/browser/components/enterprisepolicies/tests/xpcshell/test_policy_search_engine.js b/browser/components/enterprisepolicies/tests/xpcshell/test_policy_search_engine.js index 5c602442f2..c8eb29982d 100644 --- a/browser/components/enterprisepolicies/tests/xpcshell/test_policy_search_engine.js +++ b/browser/components/enterprisepolicies/tests/xpcshell/test_policy_search_engine.js @@ -189,7 +189,7 @@ add_task(async function test_install_and_remove() { Assert.notEqual(engine, null, "Specified search engine should be installed"); Assert.equal( - engine.wrappedJSObject.getIconURL(), + await engine.wrappedJSObject.getIconURL(), iconURL, "Icon should be present" ); diff --git a/browser/components/enterprisepolicies/tests/xpcshell/test_simple_pref_policies.js b/browser/components/enterprisepolicies/tests/xpcshell/test_simple_pref_policies.js index 8ef8b831ef..82caee16a7 100644 --- a/browser/components/enterprisepolicies/tests/xpcshell/test_simple_pref_policies.js +++ b/browser/components/enterprisepolicies/tests/xpcshell/test_simple_pref_policies.js @@ -1032,6 +1032,19 @@ const POLICIES_TESTS = [ "browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features": true, }, }, + + // POLICY: AutofillAddressEnabled, AutofillCreditCardEnabled + + { + policies: { + AutofillAddressEnabled: false, + AutofillCreditCardEnabled: false, + }, + lockedPrefs: { + "extensions.formautofill.addresses.enabled": false, + "extensions.formautofill.creditCards.enabled": false, + }, + }, ]; add_task(async function test_policy_simple_prefs() { |