[DEFAULT]
# Currently disabled on debug due to debug-only failures, see bug 1549723.
# Disabled on Linux asan due to bug 1549729.
skip-if = [
  "debug",
  "tsan",
  "os == 'linux' && asan",
]
# to avoid overhead when running the browser normally, StartupRecorder.sys.mjs will
# do almost nothing unless browser.startup.record is true.
# gfx.canvas.willReadFrequently.enable is just an optimization, but needs to be
# set during early startup to have an impact as a canvas will be used by
# StartupRecorder.sys.mjs
prefs = [
  "browser.startup.record=true",
  "gfx.canvas.willReadFrequently.enable=true",
]
environment = [
  "GNOME_ACCESSIBILITY=0",
  "MOZ_PROFILER_STARTUP=1",
  "MOZ_PROFILER_STARTUP_PERFORMANCE_TEST=1",
  "MOZ_PROFILER_STARTUP_FEATURES=js,mainthreadio",
  "MOZ_PROFILER_STARTUP_ENTRIES=10000000",
]

["../browser_startup_content_mainthreadio.js"]

["../browser_startup_mainthreadio.js"]
skip-if = [
  "os == 'mac' && os_version == '11.20' && arch == 'aarch64'", # bug 1707724
  "socketprocess_networking",
  "win11_2009 && bits == 32",
  "os == 'win' && msix", # Bug 1833639
]

["../browser_startup_syncIPC.js"]
