Commit Graph

167 Commits

Author SHA1 Message Date
Ryan VanderMeulen
88a926596c Backed out changeset 4cb1973f06b9 (bug 868439) for Android M2 failures.
CLOSED TREE
2013-05-21 10:48:09 -04:00
Martijn Wargers
8d347b2743 Bug 868439 - Convert some uses of nsIPrefBranch to SpecialPowers. r=jmaher 2013-05-21 02:14:06 +02:00
Ralph Giles
2dabc01f52 Bug 782091 - Add multichannel Opus test files. r=derf
This doesn't do any verification of the output, just checks
that we load multichannel files and playback completes.

These are public-domain test files created by Tim and Monty
last year. They're not great audio quality, the idea is just
to verify correct speaker mapping.

http://people.xiph.org/~greg/opus_testvectors/opus_multichannel_examples/
2013-05-01 14:15:57 -07:00
Robert O'Callahan
e9333907ac Bug 834835. Part 4: Test basic MediaStreamTrack functionality. r=jesup 2013-04-17 17:18:53 +12:00
Robert O'Callahan
2ed09c899e Bug 786539. Part 3: Reenable test on Windows. r=cpearce 2013-04-24 21:19:08 +12:00
Jason Smith
3ed75db588 Bug 850587 - Test for autoplay not working with MediaStreams. r=roc 2013-04-02 23:58:48 -07:00
Ryan VanderMeulen
3b6e6e2e8a Backed out changeset 8ed978214fdb (bug 850587) for frequent Windows debug failures. 2013-04-02 09:47:53 -04:00
Robert O'Callahan
638906f989 Bug 850587. Test. r=jsmith 2013-03-25 22:34:28 +13:00
Ed Morley
01950ff17f Bug 754860 - Line continuation characters aren't overridden by commenting the line (when are we switching to tup again?) 2013-03-23 00:57:17 +00:00
Ed Morley
fc3032fa57 Bug 754860 - Disable test_bug726904.html for too many intermittent failures 2013-03-22 23:13:46 +00:00
Ed Morley
893fc957b3 Bug 754860 - Disable test_bug726904.html on OS X for too many intermittent failures 2013-03-18 12:07:24 +00:00
Paul Adenot
a6905ccded Bug 804875 - Test to check that media elements are reset appropriatly on source change. r=kinetik 2012-12-28 22:54:23 +01:00
Steve Workman
61a6197e96 Bug 813562 - Test case for garbled DASH MPD and WebM media r=cpearce 2013-01-31 18:41:26 -08:00
Steve Workman
8618e95142 Bug 792935 - Test to detect DASH stream switching r=cpearce 2013-01-31 14:47:22 -08:00
Steve Workman
57f6d520ae Back out f08e636ecdc4 (bug 792935) for mochitest failures 2013-01-31 10:54:26 -08:00
Steve Workman
2871e04fa3 Bug 792935 - Test to detect DASH stream switching r=cpearce 2013-01-31 09:45:45 -08:00
Robert O'Callahan
e22d4a92b6 Bug 806754. Part 2: Fix bogus assertions. r=cpearce
SendStreamAudio gets called by SendStreamData which can be called
on the state machine thread since bug 794426 was fixed.
At the same time PlayFromAudioQueuec can no longer guarantee that
mAudioCaptured is false. It could be true and we're waiting for
the audio thread to shut down. We can just remove that assertion;
the logic in SendStreamData guarantees that we don't try to pass
audio to MediaStreams until the audio thread has actually stopped.

--HG--
extra : rebase_source : 431b4af63710ef13a57f7560aeec553b8aae6139
2013-01-30 17:20:03 +13:00
Randell Jesup
6fd94f18ed bug 804875: backout due to regressions of various uses of .src/mozSrcObject (bugs 836011/835705) rs=kinetik 2013-01-29 18:07:29 -05:00
Paul Adenot
d78778a6db Bug 804875 - Tests. r=kinetik 2013-01-24 20:28:48 +01:00
Steve Workman
bed2acc4c7 Bug 792935 - Add tests for canPlayType for DASH (Media Mochitests) r=cpearce 2013-01-23 11:24:41 -08:00
Ed Morley
3de1bf91c3 Backout b3a8618f901c (bug 829042), 34a9ef8f929d (bug 822933), 4c1215cefbab (bug 826349), 70bb7f775178 (bug 825325), e9c8447fb197 (bug 828713), eb6ebf01eafe (bug 828901), f1f3ef647920 (bug 825329), f9d7b5722d4f (bug 825329), 5add564d4546 (bug 819377), 55e93d1fa972 (bug 804875), f14639a3461e (bug 804875), 23456fc21052 (bug 814308) for Windows pgo-only mochitest-1 media test timeouts on a CLOSED TREE 2013-01-16 15:16:23 +00:00
Paul Adenot
628209bfaf Bug 804875 - Tests. r=kinetik 2013-01-15 19:57:03 +01:00
Ed Morley
200ff788f2 Bug 751539 - Disable test_played.html for too many intermittent failures 2013-01-10 14:59:26 +00:00
Chris Pearce
0c73f333b7 Bug 799315 - Use Windows Media Foundation to play back MP4, MP3 and M4A on Windows 7 and later (preff'd off). r=padenot 2012-12-18 21:49:58 +13:00
Chris Pearce
71d5b283dc Bug 815748 - Add MP3 and M4A audio files to media test framework, use gizmo.mp4 instead of short.mp4 for sniffer test, since short.mp4 contained mpeg4 video rather than h.264. r=padenot 2012-12-18 21:38:37 +13:00
Ed Morley
be1ebedc9c Remove spurious newline to fix bustage (no bug) 2012-12-17 13:36:11 +00:00
Ed Morley
0ae8955b65 Bug 814533 - Disable test_playback_rate.html on Linux for too many intermittent failures 2012-12-17 13:21:18 +00:00
Paul Adenot
f4c449a171 Bug 817403 - Remove the preskip check when playing opus chained file. r=derf 2012-12-03 15:44:26 +01:00
Paul Adenot
3ba1d1e845 Bug 455165 - Tests for ogg chain support. r=cpearce 2012-11-30 14:17:55 +01:00
ChangZhuo Chen
a16bcd834a Bug 778053 - Test case for wave metadata. r=kinetik 2012-10-06 19:32:30 +08:00
Paul Adenot
ba9e783773 Bug 495040 - Implement playbackRate and related bits (Tests) r=kinetik 2012-11-22 11:38:28 +01:00
Seth Fowler
c42d3467d8 Bug 812241 - Remove disabled test warnings. r=khuey 2012-11-20 16:13:04 -08:00
Ralph Giles
0f21dd7253 [PATCH] Bug 812847 - Test Opus channel count validation - r=kinetik
From 49f5e33d79df3713bc510e611a5064858bf24e4a Mon Sep 17 00:00:00 2001
These files have specially crafted headers which should be
rejected by the new checks added to resolve this bug. If any
audio output is produced then this bug has re-occured.

The audio data is the phrase "invalid file", in one or six
channels, to make this more obvious.

The new mochitest test_invalid_reject.html tries to load
and play each of the new invalid files and verifies that
an error event is triggered. Since the invalid data is in
the file headers, this should happen after network load
but before metadata is ready, so the test also asserts
errors if loadedmetadata or a number of subsequent events
are triggered.

The test will time out if no error event is fired at all.

Thanks to Matthew Gregan for assistance writing the mochitest.
---
 content/media/test/Makefile.in              |  11 ++++++
 content/media/test/invalid-cmap-s0c0.opus   | Bin 0 -> 6835 bytes
 content/media/test/invalid-cmap-s0c2.opus   | Bin 0 -> 6834 bytes
 content/media/test/invalid-cmap-s1c2.opus   | Bin 0 -> 6848 bytes
 content/media/test/invalid-cmap-short.opus  | Bin 0 -> 6854 bytes
 content/media/test/invalid-m0c0.opus        | Bin 0 -> 2471 bytes
 content/media/test/invalid-m0c3.opus        | Bin 0 -> 2471 bytes
 content/media/test/invalid-m1c0.opus        | Bin 0 -> 6836 bytes
 content/media/test/invalid-m1c9.opus        | Bin 0 -> 6836 bytes
 content/media/test/invalid-m2c0.opus        | Bin 0 -> 2471 bytes
 content/media/test/invalid-m2c1.opus        | Bin 0 -> 2455 bytes
 content/media/test/manifest.js              |  14 ++++++++
 content/media/test/test_invalid_reject.html |  52 ++++++++++++++++++++++++++++
 13 files changed, 77 insertions(+)
 create mode 100644 content/media/test/invalid-cmap-s0c0.opus
 create mode 100644 content/media/test/invalid-cmap-s0c2.opus
 create mode 100644 content/media/test/invalid-cmap-s1c2.opus
 create mode 100644 content/media/test/invalid-cmap-short.opus
 create mode 100644 content/media/test/invalid-m0c0.opus
 create mode 100644 content/media/test/invalid-m0c3.opus
 create mode 100644 content/media/test/invalid-m1c0.opus
 create mode 100644 content/media/test/invalid-m1c9.opus
 create mode 100644 content/media/test/invalid-m2c0.opus
 create mode 100644 content/media/test/invalid-m2c1.opus
 create mode 100644 content/media/test/test_invalid_reject.html
2012-11-19 15:13:43 -08:00
Robert O'Callahan
a58b731c33 Bug 792675. Part 6: Extend createObjectURL to support MediaStreams. r=sicking
--HG--
extra : rebase_source : ffec7b146552362b576e88c6dea24d612a5860b9
2012-09-25 15:24:45 +12:00
Ed Morley
ad32556a34 Bug 786539 - Disable test_timeupdate_small_files.html on Windows for too many intermittent timeouts 2012-11-06 22:26:03 +00:00
Robert O'Callahan
dabf591389 Bug 792665. Stop allowing HTMLMediaElement.src = mediaStream, and support HTMLMediaElement.mozSrcObject = mediaStream instead. r=cpearce,jesup
--HG--
extra : rebase_source : 1986b88dc293939055b12ec7065c37dae394af8c
2012-09-24 15:47:30 +12:00
Ralph Giles
7c7395ec0b Bug 789617 - Test vorbis comment validation. r=cpearce
Add a new test file with some invalid comments and verify
they are filtered out of the mozGetMetadata() output.
The new file includes the following valid edge cases:

 - empty tag name
 - empty tag value
 - punctuation in the tag name

and the following invalid cases:

 - non-ascii tag name
 - invalid characters in tag name
 - non-utf-8 tag value
 - no tag=value separator

Also updates the mochitest messages to be less confusing.
2012-09-10 15:39:23 -07:00
Paul Adenot
dc91169769 Bug 567077 - Tests for sniffing the types of media files that are served with no Content-Type. r=cpearce 2012-09-04 16:24:34 -07:00
Paul Adenot
b0c64370c2 Bug 567077 - Sniff types of media files that are served with no Content-Type. r=cpearce 2012-09-04 16:22:34 -07:00
Ryan VanderMeulen
514aecd0b0 Backout bug 567077 for bustage. 2012-09-05 18:36:38 -04:00
Paul Adenot
9ccfa62326 Bug 567077 - Tests for sniffing the types of media files that are served with no Content-Type. r=cpearce 2012-09-04 16:24:34 -07:00
Paul Adenot
5a71dd81e5 Bug 567077 - Sniff types of media files that are served with no Content-Type. r=cpearce 2012-09-04 16:22:34 -07:00
Ed Morley
1eaf1fd7e8 Bug 752796 - Disable test_streams_element_capture{,_reset}.html on Windows for too many timeouts. r=kinetik 2012-08-28 12:59:33 +12:00
Matthew Gregan
0c2ee3e831 Bug 780490 - Re-enable test_seek, test_seek_out_of_range, and test_timeupdate_small_files on Linux. (Also bug 780491 and bug 780492). Test only. 2012-08-20 12:10:05 +12:00
Ed Morley
bca60a064f Bug 608634 - Disable test_error_in_video_document.html for too many intermittent failures; r=philor 2012-08-18 23:59:34 +01:00
Chris Double
d74b5f8a1c Bug 759945 - Part 3: Android OS headers and stub files for software decoding using libstagefright on Android - r=cpearce
--HG--
extra : rebase_source : 0f5b9fed7dac3040a98af6dcc324407c4f8a9772
2012-08-10 20:15:20 +12:00
Ed Morley
a9fda23889 Backout ec46cfa51bf8, 4a54f06efee8, de811fbd27b0 & 67ea1314c777 (bug 567077) for causing bug 781141 2012-08-08 13:11:34 +01:00
Paul Adenot
f1f8700189 Bug 567077 - Sniff types of media files that are served with no Content-Type -- Tests r=cpearce 2012-08-07 15:56:25 -07:00
Paul Adenot
5a763d83cf Bug 567077 - Sniff types of media files that are served with no Content-Type r=cpearce 2012-08-07 15:54:30 -07:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00