summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/gamepad/mochitest.toml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/tests/mochitest/gamepad/mochitest.toml35
1 files changed, 35 insertions, 0 deletions
diff --git a/dom/tests/mochitest/gamepad/mochitest.toml b/dom/tests/mochitest/gamepad/mochitest.toml
new file mode 100644
index 0000000000..c558fb43cd
--- /dev/null
+++ b/dom/tests/mochitest/gamepad/mochitest.toml
@@ -0,0 +1,35 @@
+[DEFAULT]
+scheme = "https"
+prefs = [
+ "dom.gamepad.test.enabled=true",
+]
+support-files = [
+ "gamepad_frame.html",
+ "gamepad_frame_state.html",
+ "mock_gamepad.js",
+]
+
+["test_check_timestamp.html"]
+support-files = ["test_check_timestamp_iframe.html"]
+
+["test_gamepad.html"]
+support-files = ["test_gamepad_iframe.html"]
+
+["test_gamepad_connect_events.html"]
+support-files = ["test_gamepad_connect_events_iframe.html"]
+
+["test_gamepad_extensions.html"]
+support-files = ["test_gamepad_extensions_iframe.html"]
+
+["test_gamepad_frame_state_sync.html"]
+support-files = ["test_gamepad_frame_state_sync_iframe.html"]
+
+["test_gamepad_hidden_frame.html"]
+# Android doesn't switch tabs on window.focus()
+skip-if = ["os == 'android'"]
+
+["test_gamepad_multitouch_crossorigin.html"]
+support-files = ["test_gamepad_multitouch_crossorigin_iframe.html"]
+
+["test_navigator_gamepads.html"]
+support-files = ["test_navigator_gamepads_iframe.html"]