[DEFAULT]
support-files = ["clipboard_helper.js"]
tags = "os_integration"
prefs = [
  "dom.clipboard.customFormatSupport.enabled=true",
  "clipboard.readCustomFormatsFromClipboard.enabled=true",
]

["test_AltGr_key_events_in_web_content_on_windows.html"]
run-if = [
  "os == 'win'",
]
skip-if = [
  "headless", # bug 1410525
]

["test_actionhint.html"]

["test_assign_event_data.html"]
skip-if = [
  "os == 'mac' && os_version == '10.15' && arch == 'x86_64'", # bug 933303
  "os == 'mac' && os_version == '14.70' && arch == 'x86_64'", # bug 933303
  "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", # bug 933303
  "os == 'win' && headless",
]

["test_autocapitalize.html"]

["test_autocorrect.html"]

["test_clipboard.html"]
skip-if = [
  "headless", # bug 1852983
  "os == 'linux' && os_version == '22.04' && arch == 'x86_64' && display == 'wayland'", # Bug 1857075
]
support-files = ["file_test_clipboard.js"]

["test_clipboard_asyncSetData.html"]
support-files = ["file_test_clipboard_asyncSetData.js"]

["test_clipboard_getDataIfSmallerThan_ca_disabled.html"]
support-files = "file_test_clipboard_getDataIfSmallerThan.js"
subsuite = "clipboard_ca_disabled"

["test_clipboard_getDataIfSmallerThan_ca_enabled.html"]
support-files = "file_test_clipboard_getDataIfSmallerThan.js"
subsuite = "clipboard_ca_enabled"

["test_clipboard_getDataSnapshot.html"]
support-files = ["file_test_clipboard_getDataSnapshot.js"]
skip-if = [
  "os == 'android' && os_version == '14' && arch == 'x86_64' && debug", # Bug 1982951
  "os == 'android' && os_version == '14' && arch == 'x86_64' && opt", # Bug 1982951
  "os == 'linux' && os_version == '22.04' && arch == 'x86_64' && display == 'wayland'", # Bug 1879835
]

["test_clipboard_getDataSnapshotSync.html"]
support-files = "file_test_clipboard_getDataSnapshotSync.js"
skip-if = [
  "os == 'android' && os_version == '14' && arch == 'x86_64' && debug", # Bug 1982951
  "os == 'android' && os_version == '14' && arch == 'x86_64' && opt", # Bug 1982951
  "os == 'linux' && os_version == '22.04' && arch == 'x86_64' && display == 'wayland'", # Bug 1879835
]

["test_clipboard_pngPreservesTransparency.html"]
skip-if = [
  "headless", # Clipboard call to get PNG data fails (bug 1878643)
  "os == 'android'", # Android cannot copy image contents (bug 1299578)
]
support-files = "file_test_clipboard_pngPreservesTransparency.js"
scheme = "https" # ImageDecoder requires secure context

["test_clipboard_read_paste_ignoreNuls.html"]

["test_contextmenu_by_mouse_on_unix.html"]
run-if = [
  "os == 'android'",
  "os == 'linux' && os_version == '22.04' && arch == 'x86_64' && display == 'wayland'",
  "os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11'",
]
skip-if = [
  "headless", # headless widget doesn't dispatch contextmenu event by mouse event.
]

["test_contextmenu_chorded_buttons.html"]
run-if = [
  "os == 'win'", # only Windows updates the mouse button state when enqueuing native mouse down event.
]
skip-if = [
  "headless", # headless widget doesn't dispatch contextmenu event by mouse event.
  "xorigin", # high-frequently intermittent fail
]

["test_dnd_ignoreNuls.html"]
skip-if = [
  "headless", # DND test requires a window!  nsDragService is not available.
  "opt && xorigin && verify-standalone",
  "os == 'android'", #  Fx on android does not currently support DND
]

["test_ime_state_contenteditable_false.html"]

["test_keypress_event_with_alt_on_mac.html"]
run-if = [
  "os == 'mac'",
]

["test_mouse_double_click_on_android.html"]
run-if = [
  "os == 'android'",
]

["test_mouse_event_with_control_on_mac.html"]
run-if = [
  "os == 'mac'",
]
support-files = ["!/gfx/layers/apz/test/mochitest/apz_test_utils.js"]

["test_picker_no_crash.html"]
skip-if = [
  "asan",
  "debug", # bug 1267491
]
support-files = ["window_picker_no_crash_child.html"]

["test_textScaleFactor_system_font.html"]
skip-if = [
  "os == 'linux' && os_version == '22.04' && arch == 'x86_64' && display == 'wayland'", # Bug 1857075
]
