Commit Graph

584 Commits

Author SHA1 Message Date
Ryan VanderMeulen
ea7db637cd Merge inbound to m-c. 2014-03-03 17:00:34 -05:00
Randy Lin
cf2fb9e14f Bug 973235 - Intermittent test_mediarecorder_getencodeddata.html | should get onError first. r=jsmith 2014-03-03 15:34:14 +08:00
Benjamin Chen
54263f59b6 Bug 969289 - Add new test_mediarecorder_record_gum_video_timeslice.html test case. r=jsmith 2014-02-18 11:11:18 +08:00
Chris Pearce
6bb22322fa Bug 977314 - Serve all media mochitest files with 'Cache-Control: no-store' header, so Necko doesn't mess with our byte-range-request detection code. r=kinetik 2014-02-27 16:06:03 +13:00
Chris Pearce
12873b0383 Bug 975933 - Increase precision of bug516323.indexed.ogv index's timestamp denominator to prevent precision mismatch causing test failures. r=rillian 2014-02-26 13:36:54 +13:00
Chris Pearce
f7ea489f0e Bug 975928 - Make test_buffered.html load media using xhr, so it's deterministic. r=kinetik 2014-02-26 13:36:54 +13:00
Ralph Giles
37e5bce776 Bug 976211 - pref off test_framebuffer.html. r=kinetik
This test no longer passes, the failure masked by bug 975640.

Since this feature is deprecated and disabled anyway, just
make the test do nothing if the controlling pref is false.
That way we can re-enable tests, but if the feature is
restored the bitrot in the implementation will be flagged.

Also change the channel count back to 6, since we're reporting
the native value again.
2014-02-24 14:54:00 -08:00
Ralph Giles
75153f950c Bug 964559 - Expect empty string for canPlayType failure. r=doublec
As the mpeg and dash tests already knew, canPlayType() returns an
empty string ("") instead of "no" for unsupported formats. The
can_play_no_foo tests have been broken for some time.
2014-02-21 13:57:00 -08:00
Ralph Giles
6fddc5ffec Bug 964559 - Run ogg mochitests unconditionally. r=doublec
Now that support is always enabled, we can remove the conditionals
on the ogg-dependent tests.

The canplay test previously run only if ogg was disabled is updated
to verify that the runtime pref works when set to a non-default
'false' value.
2014-02-21 13:55:00 -08:00
Chris Pearce
61d66690f5 Bug 634747 - Set MediaQueue's to Finished() when we reach end of stream while decoding after seeking and while finding first frame. r=kinetik 2014-02-25 18:45:03 +13:00
Rick Eyre
47acea1989 Bug 972479 - TextTracks added to a TextTrackList through an HTMLTrackElement should dispatch 'onaddtrack' event. r=rillian
The problem was that the HTMLTrackElement calls a different
AddTextTrack method then the HTMLMediaElement does when
addTextTrack is called on it. This patch has the method
that the HTMLTrackElement calls dispatch the onaddtrackevent
as well.
2014-02-13 13:28:21 -05:00
JW Wang
c82bba451d Bug 969583 - Remove the canplaythrough listener inside the canplaythrough listener, so that the listener only runs once. r=cpearce 2014-02-12 10:44:17 +08:00
Ryan VanderMeulen
c511df94e8 Merge b2g-inbound to m-c. 2014-02-11 14:57:31 -05:00
Randy Lin
c4ae142805 Bug 957452 - Test case for capture use-after-free on MediaRecorder::Session::GetEncodedData. r=jsmith 2014-02-10 16:55:22 +08:00
Ryan VanderMeulen
afbec0e4a9 Merge inbound to m-c. 2014-02-10 15:42:58 -05:00
Rick Eyre
20d779c73f Bug 969506 - TextTrack's ActiveCues should return null of TextTrack's mode is set to 'disabled'. r=rillian 2014-02-07 13:59:26 -05:00
JW Wang
3bae414e05 Bug 951100 - a.setAttribute("autoplay", false) doesn't work as expected as a.autoplay = false. r=cpearce 2014-02-10 10:27:47 +08:00
Rick Eyre
ce8424f247 Bug 967157 - Setting TextTrackCue::DisplayState should set TextTrackCue::HasBeenReset to false. r=rillian 2014-02-03 15:27:51 -05:00
Honza Bambas
c1f6394b57 Bug 962949 - disable v.networkState checks in test_preload_actions.html because those are not reliable, r=roc 2014-02-07 22:15:22 +01:00
Rick Eyre
61f508e510 Bug 881976 - Part 2: Expose TextTrackList's MediaElement to chrome JS. r=rillian, r=bz
Our JS WebVTT implementation (vtt.js) needs access to a TextTrackList's
MediaElement in order to compute a TextTrackCue's line position. Therefore,
we need to expose it to chrome JS.
2014-01-27 14:51:28 -05:00
Ryan VanderMeulen
551fc78a2e Merge b2g-inbound to m-c. 2014-02-06 16:28:14 -05:00
JW Wang
389d16deba Bug 964674 - Use SpecialPowers.pushPrefEnv to ensure "media.video_stats.enabled" is turned on/off before proceeding test. r=padenot 2014-02-06 16:27:35 +08:00
Ehsan Akhgari
f54316ca85 Bug 968479 - Remove the media.webaudio.enabled pref; r=roc
--HG--
extra : rebase_source : 3618cb3097aa99a79a06af016bf6b3a3c6f77208
2014-02-06 08:36:46 -05:00
JW Wang
e7cec1dd24 Bug 962883 - Use SpecialPowers.pushPrefEnv to ensure "media.ogg.enabled" is turned off before testing media recorder. r=jsmith 2014-01-28 12:03:59 +08:00
Karl Tomlinson
eaca594bbb b=967992 test to check for ended event when source buffer is replaced with another shorter than offset
--HG--
extra : transplant_source : -HA%5D%8E%10%1B%14%E8%E2A%9Al%CF%A5d%7D%A3%9B%A1
2014-02-06 08:29:12 +13:00
Atte Kettunen
e88ccc7117 test for bug 952756
--HG--
extra : transplant_source : %7E%B4%3C%8B%F6m%B3%CD%12%F4%93%FB%A1%D3%21%D5%F6Q%AFz
2014-02-06 08:18:39 +13:00
Alessandro Decina
c227f421a5 Bug 806917 - Add support for GStreamer 1.0. r=edwin, r=gps 2014-02-11 09:22:45 -05:00
Rick Eyre
7be4b8fb00 Bug 881976 - Part 1: Expose TextTrack::TextTrackList to Chrome JS. r=rillian, r=bz
Our JS WebVTT implementation (vtt.js) needs access to the Track's
TextTrackList in order to compute the line position of a TextTrackCue.
Therefore, we need to expose it to chrome JS so that vtt.js can have
access to it.
2014-01-27 13:10:06 -05:00
Ralph Giles
c88a2f8c99 Bug 951770 - Reject invalid Opus pre-skip in WebM. r=doublec
The 'pre-skip' value representing encoder delay in the Opus
format is recorded once in the .opus representation, but for
WebM it's in the file both in the CodecDelay element and in
the CodecPrivate data. We now reject files where these two
fields don't match.

Our detodos.webm file was exactly this sort of mismatched
file. It has been renamed and added to the invalid file list
to verify we now reject it. A new detodos.webm replaces it,
remuxed from detodos.opus with a bugfixed mkvmerge.

Based on a patch by Jan Gerber.

--HG--
rename : content/media/test/detodos.webm => content/media/test/invalid-preskip.webm
2014-02-02 19:39:00 -08:00
Randy Lin
ad367e7f44 Bug 957841 - Test case for MediaRecorder crash [@ mozilla::dom::MediaRecorder::Session::AfterTracksAdded]. r=jsmith 2014-01-29 23:09:46 +08:00
Rick Eyre
30d2690f2c Bug 918289 - Remove video sources from MediaElements in TextTrack tests where they are not needed. r=cpearce 2014-01-27 12:13:16 -05:00
JW Wang
a70cddecbb Bug 910903 - Stop requesting data when count >= 30 to prevent the main thread from starving the encoding thread. r=jsmith 2014-01-28 13:41:11 +08:00
Rick Eyre
5e2db9afd6 Bug 861320 - HTMLMediaElement has no textTracks without a <source>. r=rillian 2014-01-27 12:26:50 -05:00
Shelly Lin
c773010da1 Bug 957439 - Do not assert at Pause or Resume on unsupported input stream. r=roc, r=jsmith 2014-01-27 10:33:00 +08:00
Alfredo Yang
76eb8c5636 Bug 959861 - Testcase for fragmented mp4 playback. r=cpearce 2014-01-22 10:50:23 -05:00
JW Wang
95c567d954 Bug 916135 - Part 1: Force releasing codec to prevent timeout in waiting for acquiring h264 codec and set the preload attribute to "auto" to prevent timeout in waiting for loadedmetadata event. r=padenot 2014-01-17 13:58:48 +08:00
Rick Eyre
6800118496 Bug 957847 - Fix VTTCue crash at TextTrackCue::AddCue. r=rillian 2014-01-15 11:30:58 -05:00
Rick Eyre
74638c74c5 Bug 882299 - Implement VTTCue::Line r=smaug,rillian,bz 2014-01-15 08:04:00 -08:00
Ed Morley
10bd0fbeab Bug 760770 - Disable test_timeupdate_small_files.html on Linux for intermittent failures 2014-01-14 16:38:25 +00:00
Randy Lin
ba8c72fc15 Bug 926684 - Test Case for MediaRecorder: Assertion failure: mEncoder (CreateEncoder failed). r=jsmith 2014-01-09 10:52:29 +08:00
Rick Eyre
b83b790cb9 Bug 949643 - Implement VTTCue::PositionAlign. r=rillian 2013-12-13 12:57:48 -05:00
Rick Eyre
ff8e7b94f1 Bug 949642 - Implement VTTCue::LineAlign. r=rillian 2013-12-13 09:29:15 -05:00
Robert O'Callahan
dd86f8941c Bug 943461. Part 16: Fix test_streams_element_capture_reset to make its expected current times be independent of possibly-buggy v.currentTime. r=cpearce
--HG--
extra : rebase_source : ed67ce62701d5386bc4ba1ba98edd8e4d3946748
2013-12-13 01:33:01 +13:00
Robert O'Callahan
4181969117 Bug 943461. Part 6: Fix test to handle automatic stop of MediaRecorder. r=rlin
--HG--
extra : rebase_source : 15e9a2042c4ac940afe9e6d524fab7a4d75e8675
2013-12-06 09:59:00 +13:00
Rick Eyre
2f7161ffe7 Bug 921484 - Fix bugs found in TextTrack::GetActiveCues(); r=rillian
* mDirty needs to be set to false after the list has been recomputed.
* The loop that adds cues to the list doesn't work properly when the
  list has become dirty as we check if endTime < playback time and
  since we start from pos 0 we will never get past the first cue.
2013-12-13 10:09:33 -05:00
Brendan Long
7ea295bd0c Bug 882703 - Add TextTrackList change event; r=rillian,bz 2013-12-17 23:19:09 -06:00
Wes Kocher
7dadb7ffc4 Backed out changeset df0855f26e4d (bug 949642) for introducing a new intermittent failure 2013-12-20 18:33:55 -08:00
Wes Kocher
d578056d58 Backed out changeset 6532bf066bb4 (bug 882299) 2013-12-20 18:33:04 -08:00
Wes Kocher
abcd08557d Backed out changeset 9ca7e64ef0d0 (bug 921484) 2013-12-20 18:32:44 -08:00
Jan Gerber
f75c6f961c Bug 950793 - Loop over all supported codecs in test. r=rillian 2013-12-16 10:50:00 -08:00