summaryrefslogtreecommitdiffstats
path: root/dom/security/test/general/mochitest.toml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/security/test/general/mochitest.toml148
1 files changed, 148 insertions, 0 deletions
diff --git a/dom/security/test/general/mochitest.toml b/dom/security/test/general/mochitest.toml
new file mode 100644
index 0000000000..c46b5ecf57
--- /dev/null
+++ b/dom/security/test/general/mochitest.toml
@@ -0,0 +1,148 @@
+[DEFAULT]
+support-files = [
+ "file_contentpolicytype_targeted_link_iframe.sjs",
+ "file_nosniff_testserver.sjs",
+ "file_nosniff_navigation.sjs",
+ "file_block_script_wrong_mime_server.sjs",
+ "file_block_toplevel_data_navigation.html",
+ "file_block_toplevel_data_navigation2.html",
+ "file_block_toplevel_data_navigation3.html",
+ "file_block_toplevel_data_redirect.sjs",
+ "file_block_subresource_redir_to_data.sjs",
+ "file_same_site_cookies_subrequest.sjs",
+ "file_same_site_cookies_toplevel_nav.sjs",
+ "file_same_site_cookies_cross_origin_context.sjs",
+ "file_same_site_cookies_from_script.sjs",
+ "file_same_site_cookies_redirect.sjs",
+ "file_same_site_cookies_toplevel_set_cookie.sjs",
+ "file_same_site_cookies_blob_iframe_navigation.html",
+ "file_same_site_cookies_blob_iframe_inclusion.html",
+ "file_same_site_cookies_iframe.sjs",
+ "file_same_site_cookies_about.sjs",
+ "file_cache_splitting_server.sjs",
+ "file_cache_splitting_isloaded.sjs",
+ "file_cache_splitting_window.html",
+ "window_nosniff_navigation.html",
+]
+
+["test_allow_opening_data_json.html"]
+
+["test_allow_opening_data_pdf.html"]
+skip-if = ["os == 'android'"] # no pdf reader on Android
+
+["test_assert_about_page_no_csp.html"]
+skip-if = ["!debug"]
+
+["test_block_script_wrong_mime.html"]
+
+["test_block_subresource_redir_to_data.html"]
+
+["test_block_toplevel_data_img_navigation.html"]
+
+["test_block_toplevel_data_navigation.html"]
+
+["test_bug1450853.html"]
+skip-if = [
+ "http3",
+ "http2",
+]
+
+["test_bug1660452_http.html"]
+skip-if = [
+ "http3",
+ "http2",
+]
+
+["test_bug1660452_https.html"]
+scheme = "https"
+
+["test_cache_split.html"]
+skip-if = [
+ "http3",
+ "http2",
+]
+
+["test_contentpolicytype_targeted_link_iframe.html"]
+skip-if = [
+ "http3",
+ "http2",
+]
+
+["test_gpc.html"]
+support-files = ["file_gpc_server.sjs"]
+
+["test_meta_referrer.html"]
+support-files = [
+ "file_meta_referrer_in_head.html",
+ "file_meta_referrer_notin_head.html",
+]
+
+["test_nosniff.html"]
+
+["test_nosniff_navigation.html"]
+
+["test_same_site_cookies_about.html"]
+fail-if = ["xorigin"]
+skip-if = [
+ "http3",
+ "http2",
+]
+
+["test_same_site_cookies_cross_origin_context.html"]
+skip-if = [
+ "http3",
+ "http2",
+]
+
+["test_same_site_cookies_from_script.html"]
+fail-if = ["xorigin"]
+skip-if = [
+ "http3",
+ "http2",
+]
+
+["test_same_site_cookies_iframe.html"]
+fail-if = ["xorigin"]
+skip-if = [
+ "http3",
+ "http2",
+]
+
+["test_same_site_cookies_laxByDefault.html"]
+skip-if = ["debug"]
+support-files = ["closeWindow.sjs"]
+
+["test_same_site_cookies_redirect.html"]
+fail-if = ["xorigin"]
+skip-if = [
+ "http3",
+ "http2",
+]
+
+["test_same_site_cookies_subrequest.html"]
+fail-if = ["xorigin"] # Cookies set incorrectly
+skip-if = [
+ "http3",
+ "http2",
+]
+
+["test_same_site_cookies_toplevel_nav.html"]
+fail-if = ["xorigin"]
+skip-if = [
+ "http3",
+ "http2",
+]
+
+["test_same_site_cookies_toplevel_set_cookie.html"]
+fail-if = ["xorigin"] # Cookies not set
+skip-if = [
+ "http3",
+ "http2",
+]
+
+["test_xfo_error_page.html"]
+support-files = ["file_xfo_error_page.sjs"]
+skip-if = [
+ "http3",
+ "http2",
+]