[DEFAULT]
support-files = [
  "subtst_contextmenu_webext.html",
  "test_contextmenu_links.html",
  "subtst_contextmenu.html",
  "subtst_contextmenu_input.html",
  "subtst_contextmenu_add_search_engine.html",
  "subtst_contextmenu_xul.xhtml",
  "ctxmenu-image.png",
  "../general/head.js",
  "../general/audio.ogg",
  "../../../../../toolkit/components/pdfjs/test/file_pdfjs_test.pdf",
  "contextmenu_common.js",
  "file_bug1798178.html",
  "bug1798178.sjs",
]
tags = "os_integration"

["browser_bug1798178.js"]

["browser_contextmenu.js"]
support-files = [ "../general/video.webm"  ]
tags = "fullscreen"
skip-if = ["os == 'linux'"]

["browser_contextmenu_add_search_engine.js"]
support-files = ["subtst_contextmenu_add_search_engine.html"]
skip-if = ["os == 'linux'"] # disabled on Linux due to bug 513558

["browser_contextmenu_badiframe.js"]
https_first_disabled = true
skip-if = [
  "os == 'win'", # Bug 1719856
  "os == 'linux' && socketprocess_networking",
]

["browser_contextmenu_contenteditable.js"]

["browser_contextmenu_cross_boundary_selection.js"]

["browser_contextmenu_iframe.js"]
support-files = ["test_contextmenu_iframe.html"]
skip-if = ["os == 'linux' && socketprocess_networking"]

["browser_contextmenu_input.js"]
skip-if = ["os == 'linux'"]

["browser_contextmenu_inspect.js"]
skip-if = ["os == 'linux' && socketprocess_networking"]

["browser_contextmenu_linkopen.js"]
skip-if = ["os == 'linux' && socketprocess_networking"]

["browser_contextmenu_loadblobinnewtab.js"]
support-files = ["browser_contextmenu_loadblobinnewtab.html"]
skip-if = ["os == 'linux' && socketprocess_networking"]

["browser_contextmenu_save_blocked.js"]
skip-if = ["os == 'linux' && socketprocess_networking"]

["browser_contextmenu_share_linux.js"]
run-if = ["os == 'linux'"]

["browser_contextmenu_share_macosx.js"]
https_first_disabled = true
support-files = ["browser_contextmenu_shareurl.html"]
run-if = ["os == 'mac'"]

["browser_contextmenu_share_win.js"]
https_first_disabled = true
support-files = ["browser_contextmenu_shareurl.html"]
run-if = ["os == 'win'"]

["browser_contextmenu_spellcheck.js"]
https_first_disabled = true
skip-if = [
  "os == 'linux'",
  "debug", # bug 1798233 - this trips assertions that seem harmless in opt and unlikely to occur in practical use.
]

["browser_contextmenu_touch.js"]
skip-if = ["true"] # Bug 1424433, disable due to very high frequency failure rate also on Windows 10

["browser_copy_image_link.js"]
support-files = [
  "doggy.png",
  "firebird.png",
  "firebird.png^headers^",
]
skip-if = ["os == 'linux' && socketprocess_networking"]

["browser_copy_link_to_highlight.js"]

["browser_save_image.js"]

["browser_strip_on_share_link.js"]

["browser_strip_on_share_nested_link.js"]

["browser_utilityOverlay.js"]
https_first_disabled = true
skip-if = ["os == 'linux' && socketprocess_networking"]

["browser_utilityOverlayPrincipal.js"]
https_first_disabled = true

["browser_view_image.js"]
support-files = [
  "test_view_image_revoked_cached_blob.html",
  "test_view_image_inline_svg.html",
]
skip-if = ["os == 'linux' && socketprocess_networking"]
