Commit Graph

262 Commits

Author SHA1 Message Date
Paul Adenot
0836baba74 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
9e5b3951f3 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
6b1e13ca20 Bug 596453 - Fix typo in test_error_on_404.
--HG--
extra : rebase_source : b9d8a71051c06a17d59ba321e2c62c095fa917b8
2012-08-24 11:51:37 +12:00
Robert O'Callahan
967993ede3 Bug 779715. Part 7: Update test_streams_element_capture_reset.html to test new functionality. r=cpearce
test_streams_element_capture_reset.html is updated to test that mozCaptureStreamUntilEnded actually stops
capturing when the stream ends. It also tests that seeking and reloading the media resource keep
feeding a mozCaptureStream stream, and feed the right amount of data.

--HG--
extra : rebase_source : 07faf20b8a99b5e7dcdfb27b3a2096fdfd570f45
2012-08-20 16:57:12 +12:00
Robert O'Callahan
9152e8f482 Backing out parts 6 and 7 of bug 779715 (5a87f1d1807d, 5a87f1d1807d) due to crashtest orange.
--HG--
extra : rebase_source : bb7acb9958452850bd9d36f8e58f956d065d4935
2012-08-21 00:44:32 +12:00
Robert O'Callahan
9c83e95b7a Bug 779715. Part 7: Update test_streams_element_capture_reset.html to test new functionality. r=cpearce
test_streams_element_capture_reset.html is updated to test that mozCaptureStreamUntilEnded actually stops
capturing when the stream ends. It also tests that seeking and reloading the media resource keep
feeding a mozCaptureStream stream, and feed the right amount of data.

--HG--
extra : rebase_source : 6d9e9631516cebbde148d301050c388e0e0019a8
2012-08-20 16:57:12 +12:00
Matthew Gregan
0b62b1a805 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
697d127b71 Bug 608634 - Disable test_error_in_video_document.html for too many intermittent failures; r=philor 2012-08-18 23:59:34 +01:00
Matthew Gregan
42b0bb67aa Bug 782876 - Remove unnecessary returns from event handlers in media tests. r=doublec 2012-08-15 16:41:24 +12:00
Matthew Gregan
7659ff2cc9 Bug 770945 - Simple media events shouldn't be cancelable. r=roc 2012-08-14 15:26:43 +12:00
Chris Double
f73d553698 Bug 759945 - Part 4: MP4 test file - r=cpearce
--HG--
extra : rebase_source : 0aa155c4ebc60ddc8afe720161af345c555897a8
2012-08-10 20:15:24 +12:00
Chris Double
af9559fd5b 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
Bobby Holley
1895527d8c Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
Ed Morley
2c3082317d Backout ec46cfa51bf8, 4a54f06efee8, de811fbd27b0 & 67ea1314c777 (bug 567077) for causing bug 781141 2012-08-08 13:11:34 +01:00
Paul Adenot
886438d841 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
a769fb1ee2 Bug 567077 - Sniff types of media files that are served with no Content-Type r=cpearce 2012-08-07 15:54:30 -07:00
Paul Adenot
8e8a009e3b Bug 778902 - When a video finished playing, "pause" should be fired, and |paused| should be true. r=cpearce
--HG--
extra : rebase_source : 2866707bd6b61d0225952ff49b858011d79e04ed
2012-08-06 10:27:55 -07:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
a86a12d456 Bug 760770 - Mark test_timeupdate_small_files.html's "got unexpected stalled after ended" as todo for seek.webm, for frequent intermittent failures; r=cpearce 2012-08-03 11:28:12 +01:00
Ed Morley
0bd6c4dc3e Bug 620598, Bug 661076 & Bug 687972 - Disable frequently intermittent media tests on Linux; r=cpearce 2012-08-03 11:28:12 +01:00
Robert O'Callahan
cc1037deb4 Bug 646331. Specify correct duration for 320x240.ogv. r=cpearce 2012-08-03 15:22:24 +12:00
Matthew Gregan
b9a449e923 Bug 779412 - Iterate over correct test array in test_info_leak. r=cpearce 2012-08-01 17:58:09 +12:00
Ralph Giles
cc925b4965 Bug 763010 - Add a mochitest for mozGetMetadata(). r=cpearce
Add a few Ogg files which have non-trivial tag metadata in their Vorbis streams, and verify they are returned correctly by the media.mozGetMetadata() extention.

Add a file with no comments to test {} output as well.

Verify that mozGetMetadata() throws an InvalidStateError if called immediately, before the loadedmetadata event fires.
2012-07-30 20:14:29 -04:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Chris Pearce
a9821c5977 Bug 762191 - Make video controls mute/volume widgets do nothing if the video doesn't have audio. r=jaws 2012-06-28 17:31:09 +12:00
Joel Maher
1d18a6bd56 Bug 761125 - change mochitests to run all tests except excludedtests in android.json. r=jgriffin 2012-06-14 09:01:23 -04:00
Benoit Jacob
437b44a8df Bug 759221 - 6/6 - disable failing media tests on Android - r=jmaher 2012-06-08 13:41:45 -04:00
Benoit Jacob
63b249863c Bug 759221 - 2/6 - don't use file URIs in Android mochitests - r=jmaher 2012-06-08 13:41:38 -04:00
Matt Brubeck
9ff37e55e1 Back out bug 759221 and bug 761326 because of media test failures 2012-06-08 12:20:14 -07:00
Benoit Jacob
79ad2d6974 Bug 759221 - 6/6 - disable failing media tests on Android - r=jmaher 2012-06-08 13:41:45 -04:00
Benoit Jacob
b4efaa609d Bug 759221 - 2/6 - don't use file URIs in Android mochitests - r=jmaher 2012-06-08 13:41:38 -04:00
Paul Adenot
54b22ecf27 Bug 761708 - Wrong |played| value when seeking back in the media. r=chris.double 2012-06-07 11:43:13 +12:00
Mats Palmgren
5bfa4e648c Bug 760325 - Report all events after 'ended' as test failures, except when removing the element we ignore timeupdate/pause/stalled events. Use info() for logging, not ok(). r=roc 2012-06-01 20:52:37 +02:00
Mats Palmgren
43d4307d43 Bug 759801 - Remove the 'timeupdate' event listener when the test is done. r=philor 2012-06-01 20:52:37 +02:00
Gervase Markham
68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Paul Adenot
5d2667c343 Bug 449363 - Support media attribute of <source> elements. r=cpearce,bz 2012-05-15 08:56:51 -04:00
Christopher De Cairos
ed660ec50d Bug 726904: Make nsVideoFrame::GetVideoIntrinsicSize return the video size before the poster size. r=cpearce 2012-05-11 20:32:15 +12:00
Robert O'Callahan
a869c9552f Bug 750769. Dump currentTime/paused/ended/readyState on every event. r=cpearce 2012-05-10 15:30:34 +12:00
Robert O'Callahan
e8a9ceb920 Bug 752784. Don't mess with tracks we haven't initialized yet. r=cpearce 2012-05-10 15:30:34 +12:00
Randell Jesup
63dafade33 Bug 752087: Use correct method to check is a jsval is an object r=roc 2012-05-07 18:54:29 -04:00
Robert O'Callahan
11d43656a8 Bug 750769. Add logging code to dump events for diagnosis. r=cpearce 2012-05-04 17:05:42 +12:00
Doug Sherk
49b7c05e20 Bug 751539: fix test to avoid timeout r=cpearce 2012-05-03 14:12:36 -07:00
Ralph Giles
b6f1345f82 Bug 674225 - Add basic mochitests for Opus. r=cpearce
Add a short Ogg Opus file to the content/media/test
directory and add it to the gSeekTests, gSmallTests,
and gPlayTests in manifest.js. This file is crafted
to end on a packet boundary, so trimming to duration
is not verified.
Set the media.opus.enabled pref to true in manifest.js
so the various tests using the opus file succeed.

Add a stanza to can_play_type_ogg.js to test the
behaviour of canPlayType with an opus-specific
media type for both values of the pref.

Add support for the .opus filename extension to
the mochitest http server.
2012-05-01 17:29:42 -07:00
Paul ADENOT
47bc5ed443 Bug 462960 - Add tests for the played member. r=cpearce 2012-04-30 20:29:29 -04:00
Robert O'Callahan
67f781f9fb Bug 664918. Part 12: Finish SourceMediaStreams when the media decoder is destroyed, to avoid late low-audio/low-video notifications and issues when multiple decoders write to the same stream. r=cpearce,rjesup 2012-04-30 15:13:42 +12:00
Robert O'Callahan
25f6dcb4b1 Bug 664918. Part 10: Add test_streams_element_capture.html to test capturing a media element into a stream and playing that stream through another media element.
The test also tests that capturing MediaStream video into a canvas works.
2012-04-30 15:13:01 +12:00
Paul ADENOT
7315f8263d Bug 480376 - Implement mozHasAudio to indicate when there's no audio track available. r=cpearce 2012-04-28 11:01:10 -04:00
Masatoshi Kimura
473d12ee2a Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Robert O'Callahan
1e73b1f546 Bug 646331. Fix duration of big.wav. r=cpearce 2012-03-19 12:36:06 +13:00