From fd8d18e66b23ab1d21ebea4b5604311f547f5596 Mon Sep 17 00:00:00 2001 From: Bryce Van Dyk Date: Mon, 15 May 2017 08:56:27 +1200 Subject: [PATCH] Bug 1354457 - Add test to check video is paused and resumed correctly in MediaRecorder. r=pehrsons MozReview-Commit-ID: Gn9LRsVPFhY --HG-- extra : rebase_source : bc5da3aaba9f695a0f4a5f2ac64fa9814047e7e7 --- dom/media/test/mochitest.ini | 3 + ...test_mediarecorder_pause_resume_video.html | 130 ++++++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 dom/media/test/test_mediarecorder_pause_resume_video.html diff --git a/dom/media/test/mochitest.ini b/dom/media/test/mochitest.ini index 152ac07b12e9..291a0ca195a1 100644 --- a/dom/media/test/mochitest.ini +++ b/dom/media/test/mochitest.ini @@ -802,6 +802,9 @@ tags=msg [test_mediarecorder_getencodeddata.html] skip-if = android_version == '17' # android(bug 1232305) tags=msg +[test_mediarecorder_pause_resume_video.html] +skip-if = toolkit == 'android' # android(bug 1232305) +tags=msg [test_mediarecorder_principals.html] skip-if = (os == 'linux' && bits == 64) || toolkit == 'android' # See bug 1266345, android(bug 1232305) tags=msg diff --git a/dom/media/test/test_mediarecorder_pause_resume_video.html b/dom/media/test/test_mediarecorder_pause_resume_video.html new file mode 100644 index 000000000000..bf0ccf79363b --- /dev/null +++ b/dom/media/test/test_mediarecorder_pause_resume_video.html @@ -0,0 +1,130 @@ + + + + Test MediaRecorder Recording doesn't record during pause + + + + + +
+
+ + > +
+ +
+ +