[DEFAULT]
head = "head_xpcom.js"
support-files = [
  "data/**",
  "xpcomtest.xpt",
]
generated-files = "xpcomtest.xpt"

["test_KeyedUUIDMapper.js"]

["test_bug121341.js"]

["test_bug325418.js"]

["test_bug332389.js"]

["test_bug333505.js"]

["test_bug364285-1.js"]

["test_bug374754.js"]

["test_bug476919.js"]
# Creating a symlink requires admin or developer mode on Windows.
skip-if = [
  "os == 'win'",
]
# Bug 676998: test fails consistently on Android
fail-if = [
  "os == 'android'",
]

["test_bug478086.js"]

["test_bug745466.js"]
skip-if = [
  "os == 'win'",
]
# Bug 676998: test fails consistently on Android
fail-if = [
  "os == 'android'",
]

["test_bug1434856.js"]

["test_debugger_malloc_size_of.js"]

["test_error_iserror.js"]
prefs = [
  "javascript.options.experimental.error_iserror=true",
]

["test_file_createUnique.js"]

["test_file_equality.js"]

["test_file_renameTo.js"]

["test_getTimers.js"]
skip-if = [
  "os == 'android'",
]

["test_hidden_files.js"]

["test_home.js"]
# Bug 676998: test fails consistently on Android
fail-if = [
  "os == 'android'",
]

["test_iniParser.js"]

["test_invalidGrayBits.js"]

["test_ioutil.js"]

["test_localfile.js"]

["test_logFromPreference.js"]
skip-if = [
  "os == 'android' && release_or_beta", # bug 1841818
]

["test_mac_bundle.js"]

["test_mac_xattrs.js"]
run-if = [
  "os == 'mac'",
]

["test_notxpcom_scriptable.js"]

["test_nsIMutableArray.js"]

["test_nsIProcess.js"]
skip-if = [
  "os == 'android'", # Bug 1631671
  "os == 'linux' && os_version == '22.04' && arch == 'x86_64' && display == 'wayland'", # Bug 676998
  "os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11'", # Bug 676998
  "os == 'win'", # Bug 1325609
]

["test_nsIProcess_stress.js"]
skip-if = [
  "ccov", # bug 1394989
  "os == 'win'", # bug 676412, test isn't needed on windows and runs really slowly
]

["test_pipe.js"]

["test_process_directives.js"]

["test_process_directives_child.js"]
skip-if = [
  "os == 'android'",
]

["test_seek_multiplex.js"]

["test_storagestream.js"]

["test_streams.js"]

["test_stringstream.js"]

["test_symlinks.js"]
# Creating a symlink requires admin or developer mode on Windows.
skip-if = [
  "os == 'win'",
]
# Bug 676998: test fails consistently on Android

["test_systemInfo.js"]

["test_versioncomparator.js"]
skip-if = [
  "os == 'win' && asan", # Bug 1763002
]

["test_windows_cmdline_file.js"]
run-if = [
  "os == 'win'",
]

["test_windows_onedrive_registry.js"]
run-if = [
  "os == 'win'",
]
run-sequentially = ["true"] # Mock Windows registry interferes with normal operations

["test_windows_registry.js"]
run-if = [
  "os == 'win'",
]
run-sequentially = ["true"] # Mock Windows registry interferes with normal operations
