[DEFAULT]
# 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 = [
  # Skip migration work in BG__migrateUI for browser_startup.js since it isn't
  # representative of common startup.
  "browser.migration.version=9999999",
  "browser.startup.record=true",
  "gfx.canvas.willReadFrequently.enable=true",
  # The form autofill framescript is only used in certain locales if this
  # pref is set to 'detect', which is the default value on non-Nightly.
  "extensions.formautofill.addresses.available='on'",
  # For perfomance tests do not enable the remote control cue, which gets set
  # when Marionette is enabled, but users normally don't see.
  "browser.chrome.disableRemoteControlCueForTests=true",
]
support-files = ["head.js"]

["browser_appmenu.js"]
skip-if = [
  "asan",
  "debug",
  "os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11' && tsan", # Bug 1969231
  "os == 'mac' && os_version == '10.15' && arch == 'x86_64' && opt", # Bug 1969231
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # Bug 1969231
  "os == 'win'", # Bug 1775626
]

["browser_hidden_browser_vsync.js"]

["browser_hiddenwindow_existence.js"]

["browser_opaque_region.js"]

["browser_panel_vsync.js"]
support-files = ["!/browser/components/downloads/test/browser/head.js"]

["browser_preferences_usage.js"]
https_first_disabled = true
run-if = [
  "debug",
]
skip-if = [
  "socketprocess_networking",
  "os == 'win' && standalone", # Bug 2029498
]

["browser_startup.js"]
# This test should be treated more like a test suite than like an individual test.
# If a specific failure needs to be disabled, there are exception lists inside
# the test that can be adjusted.

["browser_startup_content.js"]
support-files = ["file_empty.html"]

["browser_startup_content_subframe.js"]
run-if = [
  "fission",
]
support-files = [
  "file_empty.html",
  "StartupContentSubframe.sys.mjs",
]

["browser_startup_flicker.js"]
run-if = [
  "debug",
  "nightly_build", # Requires StartupRecorder.sys.mjs, which isn't shipped everywhere by default
]
skip-if = [
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64' && opt", # Bug 1889278
]

["browser_tabclose.js"]
skip-if = [
  "os == 'mac' && os_version == '10.15' && arch == 'x86_64'", # Bug 1531417
  "os == 'win'", # Bug 1488537, Bug 1497713
]

["browser_tabclose_grow.js"]

["browser_tabdetach.js"]

["browser_tabopen.js"]
skip-if = [
  "os == 'mac' && os_version == '10.15' && arch == 'x86_64'", # Bug 1705492
  "os == 'mac' && os_version == '14.70' && arch == 'x86_64' && opt", # Bug 1870476
]

["browser_tabopen_squeeze.js"]

["browser_tabstrip_overflow_underflow.js"]

["browser_tabswitch.js"]
skip-if = [
  "os == 'win'", # Bug 1455054
]

["browser_toolbariconcolor_restyles.js"]

["browser_urlbar_keyed_search.js"]

["browser_urlbar_search.js"]

["browser_vsync_accessibility.js"]

["browser_window_resize.js"]

["browser_windowclose.js"]

["browser_windowopen.js"]
