From 42e1c2a80bab1f9d99eb8facf920d2568f2d94bd Mon Sep 17 00:00:00 2001 From: Alex Chronopoulos Date: Fri, 12 Oct 2018 08:45:17 +0000 Subject: [PATCH] Bug 934425 - Add mochitest for setSinkId. r=jib Differential Revision: https://phabricator.services.mozilla.com/D5875 --HG-- extra : moz-landing-system : lando --- dom/media/tests/mochitest/mochitest.ini | 3 + dom/media/tests/mochitest/test_setSinkId.html | 55 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 dom/media/tests/mochitest/test_setSinkId.html diff --git a/dom/media/tests/mochitest/mochitest.ini b/dom/media/tests/mochitest/mochitest.ini index e6f32ddd8924..2eef730624a2 100644 --- a/dom/media/tests/mochitest/mochitest.ini +++ b/dom/media/tests/mochitest/mochitest.ini @@ -358,3 +358,6 @@ skip-if = (android_version == '18') [test_peerConnection_nonDefaultRate.html] skip-if = android_version == '18' # android(Bug 1189784, timeouts on 4.3 emulator) [test_forceSampleRate.html] + +[test_setSinkId.html] +skip-if = os != 'linux' # the only platform with real devices diff --git a/dom/media/tests/mochitest/test_setSinkId.html b/dom/media/tests/mochitest/test_setSinkId.html new file mode 100644 index 000000000000..35ac24290a1e --- /dev/null +++ b/dom/media/tests/mochitest/test_setSinkId.html @@ -0,0 +1,55 @@ + + + + + + +
+
+
+
+
+
+ +