Matthew Gregan
be00aa7981
Bug 789075 - Handle odd sized WebM video frames correctly. r=derf
2012-10-16 16:03:43 +13:00
Matthew Gregan
715fb60a85
Bug 795892 - Add crashtest.
2012-10-04 15:48:51 +13:00
Bobby Holley
5af5a73d3d
Bug 792036 - Automated fixups. r=mccr8
...
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components | xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02: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
5bef0f187f
Bug 793315 - Test single tag metadata. r=cpearce
...
Verify that we return metadata tags from streams with only a
single comment by adding a single comment to a file which
previously had none.
This bug went undetected because all our examples had either
multiple tags, or none.
2012-09-21 13:13:41 -07:00
Ralph Giles
28dc7fce2d
Bug 778050 - Support Opus tag metadata. r=derf
...
Remember parsed comments from the OpusTags header in
an array member variable. Add a method to generate
the nsHTMLMediaElement::MetadataTags hash table from
those entries, performing the same validatation we
do for Vorbis.
This feature is tested by adding the existing opus
test file to gMetadataTests.
IsValidVorbisTagName is moved to a static method
on nsOggCodecState so it can be shared among the
subclasses and easily called externally.
MetadataTags generation for Vorbis streams is moved
to the same method name on nsVorbisState to allow
sharing of the parsing and validation code as much
as possible, since both formats use the same scheme.
It's arguable whether contrustuction better belongs to
nsOggReader or to the nsCodecState subclasses, since in
theory the various multiplexed streams interact in
determining the canonical tag list, but it is the
per-codec streams which contain the metadata in Ogg.
2012-09-17 18:42:36 -04: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
f0502d27c7
Bug 789077 - Remove sniffing for mp3 without ID3 because of false positives. r=cpearce
2012-09-07 16:14:05 -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
d4dddbb2a1
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
b5dc014ed6
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
af2a8aba98
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
b1060b89eb
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
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
Matthew Gregan
c8050b8d35
Bug 782876 - Remove unnecessary returns from event handlers in media tests. r=doublec
2012-08-15 16:41:24 +12:00
Matthew Gregan
d3a4cc2185
Bug 770945 - Simple media events shouldn't be cancelable. r=roc
2012-08-14 15:26:43 +12:00
Chris Double
259c04ead2
Bug 759945 - Part 4: MP4 test file - r=cpearce
...
--HG--
extra : rebase_source : 0aa155c4ebc60ddc8afe720161af345c555897a8
2012-08-10 20:15:24 +12: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
Bobby Holley
943789da00
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
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
Paul Adenot
d8b9c5d56b
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
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
7834e2c1f0
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
25a45239b4
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
36e9494fb6
Bug 646331. Specify correct duration for 320x240.ogv. r=cpearce
2012-08-03 15:22:24 +12:00
Matthew Gregan
7825395ee4
Bug 779412 - Iterate over correct test array in test_info_leak. r=cpearce
2012-08-01 17:58:09 +12:00
Ralph Giles
619fdc8bf8
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
5b30baa4c3
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
5dca73c48d
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
02865e954c
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
b9b6ba191f
Bug 759221 - 6/6 - disable failing media tests on Android - r=jmaher
2012-06-08 13:41:45 -04:00
Benoit Jacob
c0d24546d0
Bug 759221 - 2/6 - don't use file URIs in Android mochitests - r=jmaher
2012-06-08 13:41:38 -04:00
Matt Brubeck
c4a437e09c
Back out bug 759221 and bug 761326 because of media test failures
2012-06-08 12:20:14 -07:00
Benoit Jacob
1ae3924f8a
Bug 759221 - 6/6 - disable failing media tests on Android - r=jmaher
2012-06-08 13:41:45 -04:00
Benoit Jacob
644824e9de
Bug 759221 - 2/6 - don't use file URIs in Android mochitests - r=jmaher
2012-06-08 13:41:38 -04:00
Paul Adenot
0f761e6f39
Bug 761708 - Wrong |played| value when seeking back in the media. r=chris.double
2012-06-07 11:43:13 +12:00
Mats Palmgren
0beb1b04bd
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
4b7f75a2b4
Bug 759801 - Remove the 'timeupdate' event listener when the test is done. r=philor
2012-06-01 20:52:37 +02:00
Gervase Markham
638c878b13
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
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Paul Adenot
f814bb5630
Bug 449363 - Support media attribute of <source> elements. r=cpearce,bz
2012-05-15 08:56:51 -04:00
Christopher De Cairos
c484bd36db
Bug 726904: Make nsVideoFrame::GetVideoIntrinsicSize return the video size before the poster size. r=cpearce
2012-05-11 20:32:15 +12:00