diff --git a/content/media/mediasource/moz.build b/content/media/mediasource/moz.build index cdfad9b29f7..6b1aec7232c 100644 --- a/content/media/mediasource/moz.build +++ b/content/media/mediasource/moz.build @@ -3,6 +3,10 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. +PARALLEL_DIRS += [ + 'test' +] + MODULE = 'content' EXPORTS += [ diff --git a/content/media/mediasource/test/Makefile.in b/content/media/mediasource/test/Makefile.in new file mode 100644 index 00000000000..cc414808a8f --- /dev/null +++ b/content/media/mediasource/test/Makefile.in @@ -0,0 +1,18 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +DEPTH := @DEPTH@ +topsrcdir := @top_srcdir@ +srcdir := @srcdir@ +VPATH := @srcdir@ +relativesrcdir := @relativesrcdir@ + +include $(DEPTH)/config/autoconf.mk + +MOCHITEST_FILES = \ + test_MediaSource.html \ + seek.webm \ + $(NULL) + +include $(topsrcdir)/config/rules.mk diff --git a/content/media/mediasource/test/moz.build b/content/media/mediasource/test/moz.build new file mode 100644 index 00000000000..89251dc3962 --- /dev/null +++ b/content/media/mediasource/test/moz.build @@ -0,0 +1,4 @@ +# vim: set filetype=python: +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/content/media/mediasource/test/seek.webm b/content/media/mediasource/test/seek.webm new file mode 100644 index 00000000000..72b02972333 Binary files /dev/null and b/content/media/mediasource/test/seek.webm differ diff --git a/content/media/mediasource/test/test_MediaSource.html b/content/media/mediasource/test/test_MediaSource.html new file mode 100644 index 00000000000..8ab0d0919b2 --- /dev/null +++ b/content/media/mediasource/test/test_MediaSource.html @@ -0,0 +1,84 @@ + + + + Test whether we can create an MediaSource interface + + + + +
+
+
+ +