commit 2fb51791a4c711292a4a356a58da11dbb8ed87e3
parent 2a236c16d8e456c313d4c5da6236f4c3839135fe
Author: Beth Rennie <beth@brennie.ca>
Date: Wed, 5 Nov 2025 19:14:29 +0000
Bug 1969102 - Skip some libpref tests when socketprocess is in use r=gstoll,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D257882
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/extensions/pref/autoconfig/test/unit/xpcshell.toml b/extensions/pref/autoconfig/test/unit/xpcshell.toml
@@ -14,6 +14,7 @@ run-if = ["!msix"] # Does not work in MSIX builds.
["test_autoconfig.js"]
skip-if = [
"os == 'android' && os_version == '14' && processor == 'x86_64' && debug && !fission", # Bug 1982954
+ "socketprocess_networking" # Fails due to Mochia (bug 1982446)
]
["test_autoconfig_custom_path.js"]
@@ -26,10 +27,12 @@ run-if = ["os == 'linux'"]
run-sequentially = ["true"] # fails more than 50% of the time in parallel
skip-if = [
"os == 'android' && os_version == '14' && processor == 'x86_64' && debug && !fission", # Bug 1982954
+ "socketprocess_networking" # Fails due to Mochia (bug 1982446)
]
["test_autoconfig_nonascii.js"]
run-sequentially = ["true"] # fails 70% of the time in parallel
skip-if = [
"os == 'android' && os_version == '14' && processor == 'x86_64' && debug && !fission", # Bug 1982954
+ "socketprocess_networking" # Fails due to Mochia (bug 1982446)
]
diff --git a/modules/libpref/test/unit/xpcshell.toml b/modules/libpref/test/unit/xpcshell.toml
@@ -24,8 +24,10 @@ support-files = [
["test_dirtyPrefs.js"]
["test_libPrefs.js"]
+skip-if = ["socketprocess_networking"] # Fails due to Mochia (bug 1982446)
["test_locked_file_prefs.js"]
+skip-if = ["socketprocess_networking"] # Fails due to Mochia (bug 1982446)
support-files = [
"data/testPrefLocked.js", "data/testPrefLockedUser.js",
]
@@ -37,9 +39,11 @@ support-files = ["data/testPrefUTF8.js"]
head = ""
["test_parser.js"]
+skip-if = ["socketprocess_networking"] # Fails due to Mochia (bug 1982446)
support-files = ["data/testParser.js"]
["test_stickyprefs.js"]
+skip-if = ["socketprocess_networking"] # Fails due to Mochia (bug 1982446)
support-files = [
"data/testPrefSticky.js", "data/testPrefStickyUser.js",
]