summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/test/mochitest.toml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/serviceworkers/test/mochitest.toml')
-rw-r--r--dom/serviceworkers/test/mochitest.toml56
1 files changed, 56 insertions, 0 deletions
diff --git a/dom/serviceworkers/test/mochitest.toml b/dom/serviceworkers/test/mochitest.toml
new file mode 100644
index 0000000000..13faa300c5
--- /dev/null
+++ b/dom/serviceworkers/test/mochitest.toml
@@ -0,0 +1,56 @@
+[DEFAULT]
+# Mochitests are executed in iframes. Several ServiceWorker tests use iframes
+# too. The result is that we have nested iframes. CookieBehavior 4
+# (BEHAVIOR_REJECT_TRACKER) doesn't grant storage access permission to nested
+# iframes because trackers could use them to follow users across sites. Let's
+# use cookieBehavior 0 (BEHAVIOR_ACCEPT) here.
+prefs = ["network.cookie.cookieBehavior=0"]
+dupe-manifest = true
+tags = "condprof"
+
+# Following tests are not working currently when dFPI is enabled. So, we put
+# these tests here instead of mochitest-common.toml so that these tests won't run
+# when dFPI is enabled.
+
+["include:mochitest-common.toml"]
+
+["test_cookie_fetch.html"]
+
+["test_csp_upgrade-insecure_intercept.html"]
+
+["test_eventsource_intercept.html"]
+skip-if = [
+ "http3",
+ "http2",
+]
+
+["test_https_fetch.html"]
+skip-if = ["condprof"] #: timed out
+
+["test_https_fetch_cloned_response.html"]
+
+["test_https_origin_after_redirect.html"]
+
+["test_https_origin_after_redirect_cached.html"]
+skip-if = ["condprof"] #: timed out
+
+["test_https_synth_fetch_from_cached_sw.html"]
+
+["test_importscript_mixedcontent.html"]
+tags = "mcb"
+
+["test_openWindow.html"]
+skip-if = [
+ "os == 'android'", # Bug 1620052
+ "xorigin", # Bug 1792790
+ "condprof", #: timed out
+ "http3",
+ "http2",
+]
+tags = "openwindow"
+
+["test_sanitize_domain.html"]
+skip-if = [
+ "http3",
+ "http2",
+]