Chris Pearce
49c57363fd
Bug 975270 - Fire 'emptied' and 'abort' asynchronously in media load algorithm, as per spec. r=roc
2014-02-28 15:01:47 +13:00
Matthew Gregan
53b33e469e
Bug 962353 - Remove totalFrameDelay from VideoPlaybackQuality. r=chris.double
...
It's not implemented by other vendors and marked as "at risk" in the spec.
Easy to add back if there's real demand/a concrete spec.
2014-03-04 15:31:57 +13:00
Ryan VanderMeulen
a1a491b145
Merge inbound to m-c.
2014-03-03 17:00:34 -05:00
Randy Lin
65e6f8ab22
Bug 973235 - Intermittent test_mediarecorder_getencodeddata.html | should get onError first. r=jsmith
2014-03-03 15:34:14 +08:00
Benjamin Chen
679a21fa8a
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
5f48ec60ad
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
e4a3b34c5f
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
5ae8369536
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
3b0ebc5cf1
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
e9b39b6c36
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
4dea9ead6c
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
d18115bb52
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
0f68038790
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
69ea137fe6
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
dcea739f15
Merge b2g-inbound to m-c.
2014-02-11 14:57:31 -05:00
Randy Lin
5f0064c544
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
d2ef169276
Merge inbound to m-c.
2014-02-10 15:42:58 -05:00
Rick Eyre
0471b003b2
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
194a2b78cb
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
d7d60b44e6
Bug 967157 - Setting TextTrackCue::DisplayState should set TextTrackCue::HasBeenReset to false. r=rillian
2014-02-03 15:27:51 -05:00
Honza Bambas
852124b77e
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
bc8fa5d9c8
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
612a51c419
Merge b2g-inbound to m-c.
2014-02-06 16:28:14 -05:00
JW Wang
e57b03630e
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
95cbd5d2b1
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
ec8e91fe3e
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
159fd268a2
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
7dcc08a270
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
d89db4179d
Bug 806917 - Add support for GStreamer 1.0. r=edwin, r=gps
2014-02-11 09:22:45 -05:00
Rick Eyre
86a0813daf
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
9dbb799408
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
70966ac27f
Bug 957841 - Test case for MediaRecorder crash [@ mozilla::dom::MediaRecorder::Session::AfterTracksAdded]. r=jsmith
2014-01-29 23:09:46 +08:00
Rick Eyre
bb14671576
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
4a45687cda
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
2ab61edf64
Bug 861320 - HTMLMediaElement has no textTracks without a <source>. r=rillian
2014-01-27 12:26:50 -05:00
Shelly Lin
2a6ee9eac2
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
c86bc8bb50
Bug 959861 - Testcase for fragmented mp4 playback. r=cpearce
2014-01-22 10:50:23 -05:00
JW Wang
eab8831c35
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
3c0dfcd792
Bug 957847 - Fix VTTCue crash at TextTrackCue::AddCue. r=rillian
2014-01-15 11:30:58 -05:00
Rick Eyre
194c47dcd0
Bug 882299 - Implement VTTCue::Line r=smaug,rillian,bz
2014-01-15 08:04:00 -08:00
Ed Morley
b340524d2b
Bug 760770 - Disable test_timeupdate_small_files.html on Linux for intermittent failures
2014-01-14 16:38:25 +00:00
Randy Lin
a22a2e998b
Bug 926684 - Test Case for MediaRecorder: Assertion failure: mEncoder (CreateEncoder failed). r=jsmith
2014-01-09 10:52:29 +08:00
Rick Eyre
8cc33972a7
Bug 949643 - Implement VTTCue::PositionAlign. r=rillian
2013-12-13 12:57:48 -05:00
Rick Eyre
3ebd0e3c13
Bug 949642 - Implement VTTCue::LineAlign. r=rillian
2013-12-13 09:29:15 -05:00
Robert O'Callahan
a434bb9999
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
dcd2c4a81d
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
7e614abbe8
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
edf15f09d2
Bug 882703 - Add TextTrackList change event; r=rillian,bz
2013-12-17 23:19:09 -06:00
Wes Kocher
84b5646ffb
Backed out changeset df0855f26e4d (bug 949642) for introducing a new intermittent failure
2013-12-20 18:33:55 -08:00
Wes Kocher
900bc805d5
Backed out changeset 6532bf066bb4 (bug 882299)
2013-12-20 18:33:04 -08:00
Wes Kocher
2f2426fd1c
Backed out changeset 9ca7e64ef0d0 (bug 921484)
2013-12-20 18:32:44 -08:00
Jan Gerber
4ae348020e
Bug 950793 - Loop over all supported codecs in test. r=rillian
2013-12-16 10:50:00 -08:00
Jan Gerber
38bc459378
Bug 949525 - VP9 tests. r=cpearce
...
Remuxed vp9cake.webm to correct CodecDelay values.
2013-12-19 07:02:00 -08:00
Jan Gerber
c63b0c9fe8
Bug 945513 - Opus-in-WebM tests. r=rillian
...
detodos.webm was remuxed with ffmpeg N-58726-g9695fb2 from detodos.opus
| + Muxing application: Lavf55.22.100
| + Writing application: Lavf55.22.100
2013-12-16 10:48:00 -08:00
Rick Eyre
e98d145e06
Bug 921484 - Fix bugs found in TextTrack::GetActiveCues(). r=rillian
2013-12-13 10:09:33 -05:00
Rick Eyre
6688119fea
Bug 882299 - Implement VTTCue::Line. r=smaug, r=rillian
2013-12-16 14:35:01 -05:00
Rick Eyre
3ba9827001
Bug 949642 - Implement VTTCue::LineAlign. r=rillian
2013-12-13 09:29:15 -05:00
Randy Lin
9f9872ada1
Bug 879669 - Part 4: Stop can cancel the initialization of start method, change to check the blob case by case. r=roc, r=jsmith
2013-12-18 12:14:44 +08:00
Wes Kocher
ac71972680
Backed out changeset 689ec26f50e1 (bug 949525) for causing assertions
2013-12-16 17:38:14 -08:00
Jan Gerber
fde9a25a3a
Bug 949525 - VP9 tests. r=cpearce
2013-12-16 09:47:38 +01:00
Chris Pearce
dfd6a25305
Bug 941314 - Use SpecialPowers.exactGC in media mochitests to hopefully improve their reliability. r=kinetik
2013-12-06 17:15:13 +13:00
Jan Gerber
71a297452d
Bug 884275 - Report 'maybe' instead of 'probably' from canPlayType('video/webm'). r=rillian
2013-12-03 08:50:30 -05:00
Edwin Flores
e5da7543d2
Bug 918135 - More tests for MP3FrameParser r=cpearce
...
This patch introduces two more MP3 test cases to exercise MP3FrameParser:
* vbr-head.mp3: This file contains a Xing header which gives an exact duration
of 10 seconds. However, it only contains 4 MP3 frames total for a real
duration of around 1 second. It is expected that we read the Xing header
and report 10 seconds.
* huge-id3.mp3: This file contains more than 130KB of ID3 tags. When we search
for MP3 frames, we give up after X KB of non-MP3 data. ID3 tags should not
count towards the non-MP3 count, since they can be very large. This test
case makes sure the skipping of ID3 tags works correctly.
2013-12-03 10:25:28 +13:00
Robert O'Callahan
b32400571f
Bug 938022. Part 1: Update mAudioEndTime from SendStreamData. r=cpearce
...
--HG--
extra : rebase_source : 2cbb5dcbe4d97e21f276559c5fb7dac99d919a2b
2013-11-23 00:33:24 +13:00
Randy Lin
88a764f27c
Bug 935774 - "Assertion failure: meta" in mozilla::MediaEncoder::GetEncodedData. r=roc
2013-11-25 12:57:52 +13:00
Chris Double
6c15e6aa6e
Bug 874897 - Mochitest for copying of frames of videos with aspect ratio to canvas - r=kinetik
...
--HG--
extra : rebase_source : c5ff10d61a1ea46b0fdb2a43e926405660493912
2013-11-18 18:26:51 +13:00
Karl Tomlinson
59651bdb5d
crashtest for bug 933156
...
--HG--
extra : transplant_source : %9D/%19%13%80%D3cY%5D%93%FA%17%FB%CFTO%5Ex%82%C9
2013-11-08 12:04:54 +13:00
Matthew Gregan
2b9e4e9e32
Bug 935343 - Convert content/media/tests to manifest format. r=doublec
2013-11-06 15:49:44 +13:00
Matthew Gregan
1e768cc317
Bug 935349 - Remove remaining disabled DASH code. r=doublec
2013-11-07 17:08:42 +13:00
Carsten "Tomcat" Book
1d334f5365
merge mozilla-central to b2g-inbound
2013-11-05 15:55:09 +01:00
Jesse Ruderman
a5817ca003
crashtest for bug 933151
...
--HG--
extra : transplant_source : %E5%D0%FB%18H%E3%7Dl%C8o%10m%BD%B6%E1%A0v8%12%AE
2013-11-05 13:02:55 +13:00
Jason Smith
4ad5944819
Bug 920595 - Mochitest for verifying state transitions in Media Recording API. r=roc
2013-10-08 13:15:09 -07:00
Phil Ringnalda
2a1cf3104a
No bug (or rather, too many), disable test_playback_rate.html for constant timeouts and crashes in random locations across every platform it ever gets enabled on
2013-11-03 16:35:21 -08:00
Ed Morley
eb481bc9e5
Bug 751539 - Disable test_played.html again because surprise surprise it is still failing
2013-10-28 17:45:33 +00:00
Jesse Ruderman
b62a861daa
crashtest for bug 926619
...
--HG--
extra : transplant_source : %1CQ%E6%B7%A6%DB%98%BF%F3Vlc%F1%93Xe%9D8%BAm
2013-10-25 14:05:42 +13:00
Karl Tomlinson
e4e70cf83e
b=914016 always dispatch main thread updates after non-realtime graph finishes r=padenot
...
--HG--
extra : transplant_source : %0B%0C%93%05k%3F%3A%AEfT9%C9u%8D%C5pa%9F%11%0D
2013-10-24 07:21:33 +13:00
Karl Tomlinson
c05507569d
b=925619 truncate TrackTicks differences to uint32_t after limiting to WEBAUDIO_BLOCK_SIZE r=ehsan
...
--HG--
extra : transplant_source : %F6%8B%89C%60%02Hm%11%9FZ%F7I%2BJ%CF%23%8E%CE%D3
2013-10-23 18:36:59 +13:00
Matthew Gregan
50cbffb3ef
Bug 927245 - Preliminary work to enable preffing off the deprecated Audio Data API implementation. r=ehsan
2013-10-18 15:10:56 +13:00
Matthew Gregan
8465bcf506
Bug 926665 - Clear mMediaSource when Attach fails. r=doublec.
2013-10-16 15:23:39 +13:00
Wes Kocher
047acd439f
Backed out changeset a31b0fd17a7a (bug 926665) for crashtest bustage
2013-10-21 21:36:45 -04:00
Matthew Gregan
d1bb9ec24f
Bug 926665 - Clear mMediaSource when Attach fails. r=doublec.
2013-10-16 15:23:39 +13:00
Andrew Quartey
f53cab1745
Bug 893309 - Implement TrackEvent. r=cpearce
2013-10-04 14:28:25 -04:00
Karl Tomlinson
78889ff332
test for bug 920987
...
--HG--
extra : rebase_source : 0e049c2e25f60bfff2dd45869a770ed9055c9de2
2013-10-01 09:49:31 +13:00
Ed Morley
2d8a72b912
Bug 897843 - Disable test_media_selection.html on Windows for too many intermittent failures
2013-09-30 17:37:44 +01:00
Wes Kocher
d970705962
Merge b2g-inbound to m-c
2013-09-27 19:35:44 -07:00
Martijn Wargers
a3d1617473
Bug 918604 - Remove more enablePrivilege calls. r=jmaher
2013-09-25 19:32:20 +02:00
Ryan VanderMeulen
df60bfed7e
Backed out changeset 356ba083bb5f (bug 918604) for frequent OSX test_window_bar.html timeouts.
...
CLOSED TREE
2013-09-27 18:28:43 -04:00
Rick Eyre
37f5ae38bd
Bug 920088 - TextTrackRegion's TextTrack should point at the correct TextTrack. r=rillian
2013-09-24 11:59:17 -04:00
Randy Lin
fc76c58ecb
Bug 919051 - Media Recording - memory leak when record a media stream without any tracks. r=roc, r=jsmith
2013-09-27 17:56:16 +08:00
Ryan VanderMeulen
4ee712cb39
Merge b2g-inbound to m-c.
2013-09-26 21:32:43 -04:00
CJKu
2be715499e
Bug 909670 - Test case for for the MediaRecorder::Session. r=jsmith
2013-09-26 09:40:41 -04:00
Ryan VanderMeulen
d7387842c3
Merge the last PGO-green inbound changeset to m-c.
2013-09-25 14:51:55 -04:00
Rick Eyre
6cadde8ff3
Bug 919265 - Part 2: Add ClearOnShutdown() call on the static WebVTTParserWrapper. r=bz
2013-09-24 15:17:15 -04:00
Rick Eyre
252f804d52
Bug 919265 - Part 1: Fix TextTrackCue() crashtests to use VTTCue(). r=bz
2013-09-23 13:59:49 -04:00
Karl Tomlinson
e442bb5b9f
b=920338 disable oscillator-ended-{1,2} if B2G due to intermittent timeouts DONTBUILD
...
--HG--
extra : rebase_source : fb21d08d27038bb7f7293b92aac1b6fa4b9bba4d
2013-09-25 15:14:29 +12:00
Karl Tomlinson
90b6bec06a
b=908306 revert 9df04b16a655 and 2e7089db4e86 to re-enable some b2g webaudio crashtests
...
--HG--
extra : transplant_source : %F8%7E%F0%9Dr%2AV%09g%D4%2AX%D0iC%81n%22D%A5
2013-08-22 14:04:41 -04:00
Karl Tomlinson
1eaf698496
b=918213 dispatch onended from OscillatorNode even when stop time is before start r=ehsan
...
This makes OscillatorNode consistent with AudioBufferSourceNode
--HG--
extra : transplant_source : %AE8%3B%B4%E5M%60%03%CBN.%21%BD%FF%60%A6%F2a%BDi
2013-09-24 13:48:35 +12:00
Karl Tomlinson
7185723413
b=918212 make OscillatorNode a MainThreadListener for its stream so that ended is dispatched r=ehsan
...
--HG--
extra : transplant_source : %9D%B8%82%B3%B1%99%C6%CE%1C%E1%DDs%D1%40%EA%E3%DD%D2%01%A4
2013-09-24 13:47:30 +12:00
Rick Eyre
b17bace20c
Bug 917945 - Part 3: Add VTTRegions to its TextTrack upon receiving them. r=rillian, r=bz
2013-09-18 12:46:51 -04:00
Martijn Wargers
01fd8c8bbd
Bug 918604 - Remove more enablePrivilege calls. r=jmaher
2013-09-25 19:32:20 +02:00