[DEFAULT]
support-files = [
  "apz_test_native_event_utils.js",
  "apz_test_utils.js",
  "helper_browser_test_utils.js",
  "!/browser/base/content/test/forms/head.js",
  "!/browser/components/extensions/test/browser/head.js",
  "!/browser/components/extensions/test/browser/head_browserAction.js"
]
prefs = ["sidebar.revamp=false"]

["browser_test_animations_without_apz_sampler.js"]

["browser_test_autoscrolling_in_extension_popup_window.js"]

["browser_test_autoscrolling_in_oop_frame.js"]
support-files = ["helper_test_autoscrolling_in_oop_frame.html"]

["browser_bug2043349-fast-fling.js"]
support-files = ["helper_bug2043349_browser.html"]
skip-if = [
  "os == 'win'", # bug 1495580
]

["browser_bug2044829.js"]
support-files = ["helper_bug2043349_browser.html"]
skip-if = [
  "os == 'win'", # bug 1495580
]

["browser_test_background_tab_load_scroll.js"]
support-files = ["helper_background_tab_load_scroll.html"]

["browser_test_background_tab_scroll.js"]
support-files = ["helper_background_tab_scroll.html"]

["browser_test_content_response_timeout.js"]
support-files = ["helper_content_response_timeout.html"]

["browser_test_contextmenu_in_popup.js"]
run-if = [
  "os != 'mac'", # On Mac popup windows having no remote content doesn't have the compositor
]

["browser_test_displayport_in_popup.js"]
support-files = ["helper_popup_menu_in_parent_process-1.html"]
run-if = [
  "os != 'mac'", # On Mac popup windows having no remote content doesn't have the compositor
]

["browser_test_key_press_in_popup.js"]
support-files = [
  "helper_popup_menu_in_parent_process-2.html"
]

["browser_test_mousemove_optimization.js"]
skip-if = [
  "os == 'linux' && os_version == '22.04' && arch == 'x86_64' && display == 'wayland'", # Bug 1857059
]

["browser_test_paint_skip_in_popup.js"]
support-files = ["helper_paint_skip_in_popup.html"]
run-if = [
  "os != 'mac'", # On Mac popup windows having no remote content doesn't have the compositor
]

["browser_test_popup_menu_in_parent_process.js"]
support-files = [
  "helper_popup_menu_in_parent_process-1.html",
  "helper_popup_menu_in_parent_process-2.html"
]

["browser_test_popup_menu_in_parent_process_content.js"]
support-files = [
  "helper_popup_menu_in_parent_process_content.html"
]
run-if = [
  "os != 'mac'", # On Mac popup windows having no remote content doesn't have the compositor
]

["browser_test_popup_menu_in_position_fixed.js"]
support-files = ["helper_popup_menu_in_parent_process-1.html"]
run-if = [
  "os != 'mac'", # On Mac popup windows having no remote content doesn't have the compositor
]

["browser_test_position_sticky.js"]
support-files = ["helper_position_sticky_flicker.html"]
skip-if = [
  "os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11' && a11y_checks", # bug 1924676
]

["browser_test_reset_scaling_zoom.js"]
support-files = ["helper_test_reset_scaling_zoom.html"]

["browser_test_scroll_thumb_dragging.js"]
support-files = ["helper_scroll_thumb_dragging.html"]

["browser_test_scrollbar_in_extension_popup_window.js"]

["browser_test_scrolling_in_extension_popup_window.js"]

["browser_test_scrolling_on_inactive_scroller_in_extension_popup_window.js"]
run-if = [
  "os == 'mac'", # bug 1700805
]

["browser_test_select_popup_position.js"]
support-files = [
  "helper_test_select_popup_position.html",
  "helper_test_select_popup_position_transformed_in_parent.html",
  "helper_test_select_popup_position_zoomed.html",
  "helper_test_select_popup_position_iframe_zoom.html"
]

["browser_test_select_zoom.js"]
support-files = ["helper_test_select_zoom.html"]
skip-if = [
  "os == 'mac' && os_version == '10.15' && arch == 'x86_64' && opt", # bug 1938737
  "os == 'win' && os_version == '11.26100' && arch == 'x86'", # bug 1495580
  "os == 'win' && os_version == '11.26200' && arch == 'x86'", # bug 1495580
  "os == 'win' && os_version == '11.26100' && arch == 'x86_64'", # bug 1495580
  "os == 'win' && os_version == '11.26200' && arch == 'x86_64'", # bug 1495580
]

["browser_test_tab_drag_event_counts.js"]
support-files = [
  "helper_test_tab_drag_event_counts.html"
]
run-if = [
  "os != 'linux'", # No native key event support on Linux at this time (bug 1770143)
]

["browser_test_tab_drag_zoom.js"]
run-if = [
  "os != 'win'", # Our Windows touch injection test code doesn't support pinch gestures (bug 1495580)
]
support-files = ["helper_test_tab_drag_zoom.html"]

["browser_test_touch_event_in_popup_panel.js"]
support-files = [
  "!/testing/mochitest/tests/SimpleTest/paint_listener.js",
]
run-if = [
  "os != 'mac'", # On Mac popup windows having no remote content doesn't have the compositor
]
