Boris Zbarsky
ad635be417
Bug 980965. Stop using DOM constructors as functions in chrome code. r=bholley
2014-03-10 17:38:14 -04:00
Vaibhav Agarwal
417b7f2e77
Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher
2014-03-06 13:42:47 -05:00
Vaibhav Agarwal
66a7651a97
Bug 971132 - B2G mochitests should use the new manifest format [directories]; r=jmaher
2014-03-06 13:42:45 -05:00
Vaibhav Agarwal
9a59a5c96d
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
2014-03-06 13:42:43 -05:00
JW Wang
6928034996
Bug 969706 - Playback may reach end before pref change is completed thus no more timeupdate events. Set loop to true to keep playing. r=padenot
2014-03-04 11:11:19 +08:00
Chris Pearce
3c9f8cb800
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
87855800ef
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
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
Jan Gerber
e426780824
Bug 949525 - VP9 tests. r=cpearce
...
Remuxed vp9cake.webm to correct CodecDelay values.
2013-12-19 07:02:00 -08:00
Jan Gerber
8fa15c7e8e
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
355defacc8
Bug 921484 - Fix bugs found in TextTrack::GetActiveCues(). r=rillian
2013-12-13 10:09:33 -05:00
Rick Eyre
42f6a15b8f
Bug 882299 - Implement VTTCue::Line. r=smaug, r=rillian
2013-12-16 14:35:01 -05:00
Rick Eyre
47bef1e163
Bug 949642 - Implement VTTCue::LineAlign. r=rillian
2013-12-13 09:29:15 -05:00
Randy Lin
9945b88479
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
be74d9325a
Backed out changeset 689ec26f50e1 (bug 949525) for causing assertions
2013-12-16 17:38:14 -08:00
Jan Gerber
adfe16dd01
Bug 949525 - VP9 tests. r=cpearce
2013-12-16 09:47:38 +01:00
Chris Pearce
409de3cf97
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
d3041f814e
Bug 884275 - Report 'maybe' instead of 'probably' from canPlayType('video/webm'). r=rillian
2013-12-03 08:50:30 -05:00
Edwin Flores
2dcc290033
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
6748566aed
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
49b38b189e
Bug 935774 - "Assertion failure: meta" in mozilla::MediaEncoder::GetEncodedData. r=roc
2013-11-25 12:57:52 +13:00
Chris Double
2b4869da59
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
e27d8478a9
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
daef6f1012
Bug 935343 - Convert content/media/tests to manifest format. r=doublec
2013-11-06 15:49:44 +13:00
Matthew Gregan
bf52a0e2d7
Bug 935349 - Remove remaining disabled DASH code. r=doublec
2013-11-07 17:08:42 +13:00
Carsten "Tomcat" Book
3009e7cb5d
merge mozilla-central to b2g-inbound
2013-11-05 15:55:09 +01:00
Jesse Ruderman
9edb6de6a6
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
96e4e8902c
Bug 920595 - Mochitest for verifying state transitions in Media Recording API. r=roc
2013-10-08 13:15:09 -07:00
Phil Ringnalda
c5e09d361a
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
e07a40f581
Bug 751539 - Disable test_played.html again because surprise surprise it is still failing
2013-10-28 17:45:33 +00:00
Jesse Ruderman
637b876274
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
ddaab5d1c5
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
e6eddf12f8
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
51ba071a99
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
7ec0a8df14
Bug 926665 - Clear mMediaSource when Attach fails. r=doublec.
2013-10-16 15:23:39 +13:00
Wes Kocher
0af0586076
Backed out changeset a31b0fd17a7a (bug 926665) for crashtest bustage
2013-10-21 21:36:45 -04:00
Matthew Gregan
0cbbeb64df
Bug 926665 - Clear mMediaSource when Attach fails. r=doublec.
2013-10-16 15:23:39 +13:00
Andrew Quartey
3a03fec19c
Bug 893309 - Implement TrackEvent. r=cpearce
2013-10-04 14:28:25 -04:00
Karl Tomlinson
2723d7ceb7
test for bug 920987
...
--HG--
extra : rebase_source : 0e049c2e25f60bfff2dd45869a770ed9055c9de2
2013-10-01 09:49:31 +13:00
Ed Morley
f2ee101f41
Bug 897843 - Disable test_media_selection.html on Windows for too many intermittent failures
2013-09-30 17:37:44 +01:00
Wes Kocher
3039134040
Merge b2g-inbound to m-c
2013-09-27 19:35:44 -07:00
Martijn Wargers
a0b7efa9b2
Bug 918604 - Remove more enablePrivilege calls. r=jmaher
2013-09-25 19:32:20 +02:00
Ryan VanderMeulen
605ce41d5a
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
bcc32d6136
Bug 920088 - TextTrackRegion's TextTrack should point at the correct TextTrack. r=rillian
2013-09-24 11:59:17 -04:00
Randy Lin
fb704ff2ef
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
4daff368b0
Merge b2g-inbound to m-c.
2013-09-26 21:32:43 -04:00
CJKu
83ac5c069e
Bug 909670 - Test case for for the MediaRecorder::Session. r=jsmith
2013-09-26 09:40:41 -04:00
Ryan VanderMeulen
4aa7a9776b
Merge the last PGO-green inbound changeset to m-c.
2013-09-25 14:51:55 -04:00
Rick Eyre
f851af8541
Bug 919265 - Part 2: Add ClearOnShutdown() call on the static WebVTTParserWrapper. r=bz
2013-09-24 15:17:15 -04:00
Rick Eyre
0ccec53362
Bug 919265 - Part 1: Fix TextTrackCue() crashtests to use VTTCue(). r=bz
2013-09-23 13:59:49 -04:00
Karl Tomlinson
43ab17cb5c
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