summaryrefslogtreecommitdiffstats
path: root/remote/shared/test/xpcshell/test_RecommendedPreferences.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /remote/shared/test/xpcshell/test_RecommendedPreferences.js
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz
firefox-adbda400be353e676059e335c3c0aaf99e719475.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'remote/shared/test/xpcshell/test_RecommendedPreferences.js')
-rw-r--r--remote/shared/test/xpcshell/test_RecommendedPreferences.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/remote/shared/test/xpcshell/test_RecommendedPreferences.js b/remote/shared/test/xpcshell/test_RecommendedPreferences.js
index 20de07a528..88dc717be8 100644
--- a/remote/shared/test/xpcshell/test_RecommendedPreferences.js
+++ b/remote/shared/test/xpcshell/test_RecommendedPreferences.js
@@ -76,6 +76,11 @@ add_task(async function test_disabled() {
add_task(async function test_noCustomPreferences() {
info("Applying preferences without any custom preference should not throw");
+
+ // First call invokes setting of default preferences
+ RecommendedPreferences.applyPreferences();
+
+ // Second call does nothing
RecommendedPreferences.applyPreferences();
cleanup();