[DEFAULT]
support-files = [
  "method.sjs",
  "partial_content.sjs",
  "prefetch_cache.sjs",
  "rel_preconnect.sjs",
  "set_cookie_xhr.sjs",
  "reset_cookie_xhr.sjs",
  "web_packaged_app.sjs",
  "file_documentcookie_maxage_chromescript.js",
  "file_loadinfo_redirectchain.sjs",
  "file_1331680.js",
  "file_1503201.sjs",
  "file_iframe_allow_scripts.html",
  "file_iframe_allow_same_origin.html",
  "redirect_idn.html^headers^",
  "redirect_idn.html",
  "empty.html",
  "redirect.sjs",
  "redirect_to.sjs",
  "origin_header.sjs",
  "origin_header_form_post.html",
  "origin_header_form_post_xorigin.html",
  "origin_header_form_post_redirect.html",
  "subResources.sjs",
  "beltzner.jpg",
  "beltzner.jpg^headers^",
  "file_chromecommon.js",
  "file_domain_hierarchy_inner.html",
  "file_domain_hierarchy_inner.html^headers^",
  "file_domain_hierarchy_inner_inner.html",
  "file_domain_hierarchy_inner_inner.html^headers^",
  "file_domain_hierarchy_inner_inner_inner.html",
  "file_domain_hierarchy_inner_inner_inner.html^headers^",
  "file_domain_inner.html",
  "file_domain_inner.html^headers^",
  "file_domain_inner_inner.html",
  "file_domain_inner_inner.html^headers^",
  "file_image_inner.html",
  "file_image_inner.html^headers^",
  "file_image_inner_inner.html",
  "file_image_inner_inner.html^headers^",
  "file_lnk.lnk",
  "file_loadflags_inner.html",
  "file_loadflags_inner.html^headers^",
  "file_localhost_inner.html",
  "file_localhost_inner.html^headers^",
  "file_loopback_inner.html",
  "file_loopback_inner.html^headers^",
  "file_subdomain_inner.html",
  "file_subdomain_inner.html^headers^",
  "file_testcommon.js",
  "file_testloadflags.js",
  "file_testloadflags_chromescript.js",
  "image1.png",
  "image1.png^headers^",
  "image2.png",
  "image2.png^headers^",
  "test1.css",
  "test1.css^headers^",
  "test2.css",
  "test2.css^headers^",
]
prefs = [ "javascript.options.large_arraybuffers=true" ]

["test_1331680.html"]
skip-if = [
  "xorigin",
]

["test_1331680_iframe.html"]
skip-if = [
  "xorigin",
]

["test_1331680_xhr.html"]
skip-if = [
  "xorigin",
]

["test_1396395.html"]
skip-if = [
  "http2",
  "http3",
]

# test_142* fail with xorigin if 3pc are rejected by default (Bug 1873998).

["test_1421324.html"]
skip-if = [
  "os == 'android' && os_version == '14' && arch == 'x86_64'", # Bug 1981321
  "xorigin",
]

["test_1425031.html"]
skip-if = [
  "xorigin",
]

["test_1502055.html"]
support-files = [
  "sw_1502055.js",
  "file_1502055.sjs",
  "iframe_1502055.html",
]

["test_1503201.html"]

["test_accept_header.html"]
support-files = ["test_accept_header.sjs", "test_import_json_module.mjs"]

["test_anchor_query_encoding.html"]

["test_arraybufferinputstream.html"]

["test_arraybufferinputstream_large.html"]
run-if = [
  "arch != 'x86'", # Large ArrayBuffers not supported on 32-bit.
]
skip-if = [
  "asan",
  "tsan", # TSan shadow memory causes OOMs.
]

["test_different_domain_in_hierarchy.html"]
skip-if = [
  "http2",
  "http3",
]

["test_differentdomain.html"]
skip-if = [
  "http2",
  "http3",
]

["test_documentcookies_maxage.html"]
# Bug 1617611: Fix all the tests broken by "cookies SameSite=lax by default"
skip-if = [
  "xorigin",
]

["test_fetch_lnk.html"]

["test_http_auth_cache.html"]
support-files = ["authenticate.sjs", "../../../toolkit/components/prompts/test/prompt_common.js", "../../../toolkit/components/prompts/test/chromeScript.js"]
skip-if = [
  "os == 'android'", # bug 1267092: auth prompt helpers don't work on android
]

["test_idn_redirect.html"]
skip-if = [
  "http2",
  "http3",
]

["test_image.html"]
skip-if = [
  "http2",
  "http3",
]

["test_loadflags.html"]
# Bug 1617611: Fix all the tests broken by "cookies SameSite=lax by default"
skip-if = [
  "http2",
  "http3",
  "xorigin",
]

["test_loadinfo_redirectchain.html"]
fail-if = [
  "xorigin",
]
skip-if = [
  "http2",
  "http3",
]

["test_origin_header.html"]
skip-if = [
  "http2",
  "http3",
]

["test_origin_header_redirect.html"]
skip-if = [
  "http2",
  "http3",
]

["test_partially_cached_content.html"]

["test_pdf.html"]
support-files = ["file_pdfjs_test.pdf", "file_pdfjs_test.pdf^headers^"]

["test_prefetch_cache.html"]

["test_prefetch_cache_no_headers.html"]

# test_1331680* fail with xorigin if 3pc are rejected by default (Bug 1873998).

["test_redirect_ref.html"]
skip-if = [
  "http2",
  "http3",
]

["test_rel_preconnect.html"]

["test_same_base_domain.html"]
skip-if = [
  "http2",
  "http3",
]

["test_same_base_domain_2.html"]
skip-if = [
  "http2",
  "http3",
]

["test_same_base_domain_3.html"]
skip-if = [
  "http2",
  "http3",
]

["test_same_base_domain_4.html"]
skip-if = [
  "http2",
  "http3",
]

["test_same_base_domain_5.html"]
skip-if = [
  "http2",
  "http3",
]

["test_same_base_domain_6.html"]
skip-if = [
  "http2",
  "http3",
]

["test_samedomain.html"]
skip-if = [
  "http2",
  "http3",
]

["test_uri_scheme.html"]

["test_url_perf.html"]
# test to check the performance of URL parsing.
# No need to run in CI.
skip-if = [
  "true",
]

["test_viewsource_unlinkable.html"]

["test_xhr_method_case.html"]
skip-if = [
  "http2",
]
