diff --git a/dom/media/mediasession/test/file_active_mediasession_within_page_frame.html b/dom/media/mediasession/test/file_active_mediasession_within_page_frame.html
deleted file mode 100644
index 7d9e6b45e738..000000000000
--- a/dom/media/mediasession/test/file_active_mediasession_within_page_frame.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
- Test active media session within a page
-
-
-
-
-
-
diff --git a/dom/media/mediasession/test/file_active_mediasession_within_page_window.html b/dom/media/mediasession/test/file_active_mediasession_within_page_window.html
deleted file mode 100644
index 5d22f1b1fc1f..000000000000
--- a/dom/media/mediasession/test/file_active_mediasession_within_page_window.html
+++ /dev/null
@@ -1,149 +0,0 @@
-
-
-
- Test active media session within a page
-
-
-
-
-
-
-
-
diff --git a/dom/media/mediasession/test/mochitest.ini b/dom/media/mediasession/test/mochitest.ini
index 4690d6343c38..146f1afea8ff 100644
--- a/dom/media/mediasession/test/mochitest.ini
+++ b/dom/media/mediasession/test/mochitest.ini
@@ -4,12 +4,9 @@ tags = mediasession mediacontrol
support-files =
../../test/gizmo.mp4
- file_active_mediasession_within_page_frame.html
- file_active_mediasession_within_page_window.html
file_trigger_actionhanlder_frame.html
file_trigger_actionhanlder_window.html
MediaSessionTestUtils.js
-[test_active_mediasession_within_page.html]
[test_setactionhandler.html]
[test_trigger_actionhanlder.html]
diff --git a/dom/media/mediasession/test/test_active_mediasession_within_page.html b/dom/media/mediasession/test/test_active_mediasession_within_page.html
deleted file mode 100644
index 7936df0e74e1..000000000000
--- a/dom/media/mediasession/test/test_active_mediasession_within_page.html
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
- Test active media session within a page
-
-
-
-
-
-
-
-