Commit Graph

623 Commits

Author SHA1 Message Date
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
Rick Eyre
fecd77a25a Bug 867823 - Implement TextTrack Add/RemoveCue. r=rillian
- Updated RemoveCue to throw NotFoundError if the cue being removed is
not in the cue list.
- Updated AddCue to not add cues that are already in the list. This is
done by reference comparing.
2013-06-28 13:31:43 -04:00
Rick Eyre
fbc47c4a69 Bug 895091 - Part 5: Test for multiple WebVTT files loading at once r=khuey 2013-09-10 07:13:00 -07:00
Rick Eyre
3c52a55dd0 Bug 895091 - Part 4: Turn text track cue tests back on r=rillian 2013-09-05 07:57:00 -07:00
Ed Morley
81c7afbe23 Bug 897108 - Disable test_playback_rate_playpause.html for too many intermittent failures 2013-09-19 14:54:10 +01:00
Ralph Giles
d7df4cd91b Backed out changeset feca3867b395 (bug 895091) 2013-09-18 13:47:04 -07:00
Ralph Giles
301fe72e32 Back out 813a35c5b24a for ASan failure. r=bustage CLOSED TREE
Only one test is failing (so far) and the feature itself is
behind a pref, so this doesn't affect users.
2013-09-18 13:31:40 -07:00
Rick Eyre
750cd25d9b Bug 895091 - Test for multiple WebVTT files loading at once r=khuey 2013-09-10 07:13:00 -07:00
Rick Eyre
37d3fe53c0 Bug 895091 - Turn text track cue tests back on r=rillian 2013-09-05 07:57:00 -07:00
Karl Tomlinson
fac25b8e05 b=910171 register tail references with the AudioContext so they can be removed when the rendering is complete r=ehsan
--HG--
extra : transplant_source : %8C%C3%C2%2B%1B%E9Q%9B%0E%DE%B4%AA%02%B2%D1%A0S%F1%EC%0D
2013-09-17 11:54:52 +12:00
Rick Eyre
ed18423fba Bug 883173 - Part 2: Add insertion sorting for TextTrackCueList::AddCue. r=rillian
- We expect most files to already be sorted, so an insertion sort starting from
the end of the current array should be more efficient than a general sort step
after all cues are loaded
- Added a test for insertion sorting as well.
2013-06-18 13:52:10 -04:00
Paul Adenot
19e5ba9a55 Bug 904617: Part 3 - Log latency, and adds a python script to understand the log r=padenot,jesup,ehugg 2013-01-28 19:22:37 +01:00
Ed Morley
3cf7ed846a Backed out changeset 81cee5ae7973 (bug 904617) 2013-09-16 08:43:47 +01:00
Paul Adenot
09d62fb48e Bug 904617: Part 3 - Log latency, and adds a python script to understand the log r=padenot,jesup 2013-01-28 19:22:37 +01:00
Edwin Flores
8cb8eb6d22 Bug 914479 - AudioToolbox MP3 backend on OSX r=cpearce 2013-09-14 13:14:42 +12:00
Edwin Flores
55463866d0 Bug 899420 - Annotate intermittent test_playback_rate assertion failures on linux64 on a CLOSED TREE r=bustage 2013-09-12 14:57:20 +12:00
Edwin Flores
55853e36f9 Bug 899420 - Annotate assertion failures in test_played on linux64 on a CLOSED TREE r=bustage 2013-09-12 14:42:21 +12:00
Edwin Flores
35cf2c710f Bug 899420 - Re-enable test_seek, test_buffered, test_bug493187, test_playback_rate, test_bug465498, test_played on Linux r=cpearce 2013-09-12 11:23:06 +12:00
Ed Morley
8c3a183572 Merge mozilla-central and b2g-inbound 2013-09-09 13:30:32 +01:00
Chris Pearce
9a6ec47677 Bug 910966 - Use MP3FrameParser in DirectShow's SourceFilter, to more accurately determine the offset of the first MP3 frame. This enables us to only pass the MP3 data into DirectShow, which can't handle large ID3v2 tags. r=padenot 2013-09-09 09:47:54 +12:00
Randy Lin
736e73d31d Bug 910903 - Add logging to test_mediarecorder_avoid_recursion.html to help find out the timeout issue. r=jsmith 2013-09-07 20:41:57 +08:00
Edwin Flores
114ff5ef9e Bug 752796 - Stop MediaDecoderStateMachine::SendStreamData from trying to A/V sync unnecessarily r=roc 2013-09-06 15:14:48 +12:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Karl Tomlinson
21298924c4 crashtests for bug 907986
--HG--
extra : transplant_source : %1A%09%7D%14MM%B2_p%2B%27%C4M%C3%A2%83%F3C%C4%DC
2013-09-04 21:10:32 +12:00
Masatoshi Kimura
e06d8f88fa Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Jason Smith
c2d95da98f Bug 903781 - Mochitest for recording media with timeslice for media recording api. r=roc 2013-08-29 09:56:12 -07:00
Shelly Lin
c03150705d Bug 899935 - Mochitest for stopping the recorder right after starting it. r=jsmith 2013-08-06 22:13:37 -07:00
Ryan VanderMeulen
962c3f8af2 Backed out changeset d5cd8e27cb9c (bug 903781) for Android mochitest-3 failures. 2013-08-29 12:43:54 -04:00
Jason Smith
0eaddf6724 Bug 903781 - Mochitest for recording media with timeslice for Media Recording API. r=roc 2013-08-26 20:24:02 -07:00
Rick Eyre
05991a7cd0 Bug 868509 - Rename TextTrackCue to VTTCue r=rillian
This way we can ensure that JS code written for WebVTT is spec
compliant while at the same time not having to abstract VTTCue
from TextTrackCue.

--HG--
rename : dom/webidl/TextTrackCue.webidl => dom/webidl/VTTCue.webidl
2013-08-27 13:07:00 -07:00
Chris Pearce
25e19fc232 Bug 908862 - Strip ID3 tags before we expose MP3 data to DirectShow, to work around bugs in its MP3 decoder. r=padenot 2013-08-29 10:53:03 +12:00
Ryan VanderMeulen
de0f1ec5d2 Bug 908306 - Disable more Web Audio crashtests on B2G due to frequent timeouts. 2013-08-22 14:04:41 -04:00
Jason Smith
f1ec175ce4 Bug 899878 - Mochitest for recording media with no timeslice for media recording API. r=roc 2013-08-20 23:40:29 -07:00
Rick Eyre
03bbf26171 Bug 905320 - Add regression tests to make sure we don't leak again. r=khuey
Original test comes from bug 895305 which is a duplicate of 905320.
2013-08-15 18:30:13 -04:00
Ryan VanderMeulen
402104a8e2 No bug - Fix busted crashtest manifest. r=stupidme
DONTBUILD CLOSED TREE
2013-08-14 14:54:27 -04:00
Ryan VanderMeulen
145e8df3b8 No bug - Disable timeout-prone B2G crashtests.
CLOSED TREE
2013-08-14 13:40:20 -04:00
Chris Pearce
fe49d87d4b Bug 861693 - DirectShow MP3 decoder HTML5 audio backend for Windows. r=padenot 2013-08-13 16:49:25 +12:00
Ryan VanderMeulen
383032c06a Backed out changeset 635ef1e34417 (bug 899878) for B2G mochitest-3 timeouts. 2013-08-12 16:45:14 -04:00
Jason Smith
b6e1a0540d Bug 899878 - Mochitest for recording media with no timeslice for Media Recording API. r=roc 2013-08-06 22:31:48 -07:00
Randy Lin
d062a6e858 Bug 897776 - Test case for MediaRecorder infinite recursion with requestData() calls in "dataavailable" event. r=jsmith 2013-08-11 11:35:16 +08:00
Thomas Zimmermann
c4c2549d54 Bug 831224: Added mochitest for variable-bitrate MP3s, r=padenot
The test checks the duration of an MP3 file with variable bitrate. The
MP3 file only contains silence. It uses a high bit-rate encoding for its
first half, a low bit-rate encoding for its second half. The correct
duration is 10 seconds, but an incorrect implementation will return a
much shorter value.
2013-08-07 18:54:04 +02:00
Thomas Zimmermann
2a301b9526 Bug 831224: Remove trailing whitespaces, r=padenot 2013-01-24 13:38:32 +01:00
Randy Lin
8fd7c68149 Bug 898952 - Media Recording - Avoid to record a stopped MediaStream. r=roc 2013-08-07 14:20:42 +08:00
Randy Lin
5f1fe27e80 Bug 896353 - Media Recording - Test case for record the MediaStream from audioContext. r=jsmith 2013-07-26 10:47:56 +08:00
Ed Morley
86d33773fb Backed out changeset 303ba353d785 (bug 831224) for turning bug 897108 permaorange 2013-08-08 10:00:26 -07:00
Ed Morley
0f5723167e Backed out changeset 374a8aab2b49 (bug 831224) 2013-08-08 09:59:39 -07:00
Thomas Zimmermann
2f6e9242f7 Bug 831224: List vbr.mp3 in Makefile.in, r=padenot
The MP3 file for testing variable-bitrate MP3's was not listed
in the Makefile; and thus missing from the installation. The
respective Mochitest always failed.
2013-08-08 17:12:32 +02:00
Thomas Zimmermann
ac806b131f Bug 831224: Added mochitest for variable-bitrate MP3s, r=padenot
The test checks the duration of an MP3 file with variable bitrate. The
MP3 file only contains silence. It uses a high bit-rate encoding for its
first half, a low bit-rate encoding for its second half. The correct
duration is 10 seconds, but an incorrect implementation will return a
much shorter value.

--HG--
extra : rebase_source : f62cf69a631a276c4e6e96e827ab615367cad877
2013-08-07 18:54:04 +02:00
Thomas Zimmermann
8458373204 Bug 831224: Remove trailing whitespaces, r=padenot
--HG--
extra : rebase_source : e04ddb59ab953550d988924670c96b73bf7909f2
2013-01-24 13:38:32 +01:00
Robert O'Callahan
8976bb22fd Bug 899863. Ensure resources with a Content-Length (that's not the result of a range request) are treated as bounded. r=cpearce
--HG--
extra : rebase_source : b3741deef952bf31b651c418efa5f168f9881469
2013-08-01 16:02:40 +12:00
Martijn Wargers
d3812c1e93 Bug 898696 - Fix some content/media test files by adding preload=metadata to media element. r=cpearce 2013-07-31 09:35:44 +02:00
Ryan VanderMeulen
4bf6035d55 Backed out changesets f2862e93b710, 4fe81f58dbef, and f8f855f0b7dc (bug 896353) for mochitest-1 asserts. 2013-07-26 14:08:29 -04:00
Martijn Wargers
d60bbc5058 Bug 896582 - Implement a workaround to bug 838726 to get a bunch of content/media mochitests running on B2G. r=jgriffin 2013-07-25 22:32:17 +02:00
Randy Lin
27d25f6c75 Bug 896353 - Media Recording - Test case for record the MediaStream from audioContext. r=jsmith 2013-07-26 10:47:56 +08:00
Matthew Gregan
b12e013aba Bug 895754 - Update VideoPlaybackQuality to current MSE spec (remove playbackJitter, add totalFrameDelay). r=doublec 2013-07-24 11:46:43 +12:00
Boris Zbarsky
276a31d596 Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug 2013-07-22 08:15:43 -04:00
Randy Lin
a2a8d5c78d Bug 894348 - MediaRecorder use-after-free crash [@mozilla::MediaStream::GraphImpl]. Fix the wrong pointer type of ProcessedMediaStream. r=roc 2013-07-21 22:33:01 +08:00
Ralph Giles
a7b8099ec9 Bug 894104 - Part 2: Add testcase to crashtests. r=bz
From d94dd7dde357ccf7f6de53c1fae20a9bdb916a86 Mon Sep 17 00:00:00 2001
2013-07-18 14:28:45 -07:00
Jason Smith
7a1cd60ad4 Bug 896302 - Add a mochitest for creation of a media recorder object. r=roc 2013-07-21 18:37:42 -07:00
Ryan VanderMeulen
d5c67ff5d1 Bug 832768 - Disable test_playback_rate.html and test_seek.html due to frequent timeouts.
CLOSED TREE
2013-07-19 16:07:38 -04:00
Paul Adenot
6dccab695c Bug 886173 - Preserve playbackRate across pause/play. r=cpearce 2013-07-11 16:58:57 +02:00
Ryan VanderMeulen
82264bb057 Bug 832768 - Disable test_buffered.html due to frequent timeouts. 2013-07-15 11:45:10 -04:00
Ryan VanderMeulen
375e70d07d Bug 832768, bug 864682, bug 707777 - Disable flaky media tests until they aren't anymore. 2013-07-12 16:14:58 -04:00
Alexandros Chronopoulos
092e7f3369 Bug 790559 - Part 2: Correct test_framebuffer.html mochitest to expect two channels. r=rillian 2013-06-21 00:31:22 +03:00
Ed Morley
17de8eb070 Backed out changeset ee7d34a58f11 (bug 886173) for mochitest 1 failures in test_playback_rate.html 2013-07-11 15:31:52 +01:00
Paul Adenot
663ccbc871 Bug 886173 - Preserve playbackRate across pause/play. r=cpearce 2013-06-24 14:05:38 +02:00
Matthew Gregan
e757837a5c Bug 889201 - Add tests for VideoPlaybackQuality. r=roc 2013-07-11 15:52:22 +12:00
Ralph Giles
ccaf62a7df Bug 887463 - remove webvtt parser library. r=cpearce. 2013-07-09 17:02:00 -07:00
Olli Pettay
bd1a7c994f backout Bug 533840, since it added a randomly failing test
--HG--
extra : rebase_source : c9f9de9148b5a52bf7013b543035626d959c6e5a
2013-07-09 13:30:38 -04:00
Olli Pettay
76f9c2d68c backout Bug 533840, since it added a randomly failing test 2013-07-09 13:30:18 -04:00
Bastien Scanu
a11663825d Bug 533840 - Don't start playback when removed from a document and autoplaying. r=padenot,cpearce 2013-06-07 13:46:45 +02:00
Léonard Beck
6dcc6a8a61 Bug 654550 - Add a preference to disable media statistics. r = padenot,jaws 2013-06-11 17:23:13 +02:00
Ehsan Akhgari
1396b128e5 Bug 886690 - Make sure that the test case for bug 880202 will pass if Web Audio is disabled 2013-06-25 16:36:14 -04:00
Ehsan Akhgari
cbdefabbd2 Bug 886165 - Hide the alternate names in the spec behind prefs which are turned off by default; r=roc
This patch uses one pref per interface, to allow us finer grain control over
which ones we might need to turn on in the future.
2013-06-23 19:22:10 -04:00
Paul Adenot
a0cab146b1 Bug 884459 - Do not check mCurrentTaskMessageQueue's emptiness needlessly; r=ehsan 2013-06-21 22:07:39 +02:00
Edwin Flores
3d68a6c5a4 Bug 885157 - Kill content/media/test/test_too_many_elements.html r=cpearce 2013-06-22 11:16:53 +12:00
Edwin Flores
43c37e1187 Bug 794282 - Enable gstreamer by default in builds, but pref off r=cpearce,khuey 2013-06-22 11:16:53 +12:00
Rick Eyre
6baa4f1bff Bug 833386 - Tests for HTMLTrackElement and TextTrack* DOM objects r=rillian,cpearce
This patch is primarily the work of Marcus Saad (msaad) and Jordan
Raffoul (jbraffoul) at Seneca College.
2013-06-20 06:55:00 -07:00
Caitlin Potter
2b33993b82 Bug 882549 - Don't rely on mElement to find nsIDocument in TextTrackCue. r=rillian, r=smaug
Find nsIDocument via mGlobal (as nsPIDOMWindow) rather than via pointer to
HTMLTrackElement. (bz from #content has explained how we can access
nsPIDOMWindow and nsIDocument without having to ask the HTMLTrackElement)

For the time being, there are many null-ness checks for both 'window' and
'document', and no mechanism to report errors other than returning nullptr
where possible. This will be addressed in a followup bug.

Also adds a test for mHead nullness in TextTrackCue::ConvertNodeTreeToDOMTree
to prevent SIGSEV.
2013-06-19 14:02:04 -04:00
Martijn Wargers
4adfc0b74c Bug 868439 - Convert some uses of nsIPrefBranch to SpecialPowers. r=jmaher 2013-06-15 00:13:44 +02:00
Shelly Lin
196a0e94e4 Bug 882956 - Fix WebAudio stack-buffer-overflow crash. r=ehsan. 2013-06-14 15:16:41 +08:00
Chris Pearce
c8d412570d Bug 881954 - Generalize test_too_many_elements to run on more than just Ogg audio. r=padenot 2013-06-14 09:07:07 +12:00
Chris Pearce
d9b89bdb0d Bug 880062 - Make WMF video backend call MediaDecoder::SetMediaSeekable(false) when it can't seek like it's supposed to. r=padenot 2013-06-13 10:15:23 +12:00
Rick Eyre
f5e124b831 Bug 880094 - Provide a stable state for HTMLTrackElement asynchronous functions. r=cpearce
- Removed HTMLMediaElement::AsyncAwaitStableState and exposed a new method,
HTMLMediaElement::RunInStableState, that allows any nsIRunnable to run on
the app shell and take advantage of IsCancelled() code in an nsMediaEvent.
- HTMLTrackElement now uses this to call HTMLTrackElement::LoadResource.
- Changed test_texttrackcue.html to listen for MediaElement's "loadedmetadata"
to ensure that we wait until the cues are loaded before testing and set
preload=auto to get it to pass on Android.
2013-06-27 21:05:03 -04:00
Phil Ringnalda
1023514931 Backed out changeset 5ea64b6ba89b (bug 889201) for too-frequent failures 2013-07-05 14:24:50 -07:00
Matthew Gregan
7cb058341e Bug 889201 - Add tests for VideoPlaybackQuality. r=roc 2013-07-05 12:24:55 +12:00
Ehsan Akhgari
8f1fc677be Bug 889042 - Null check the argument to ConvolverNode::SetBuffer; r=padenot
--HG--
extra : rebase_source : e69ed91550603d4477b0b6084e05af971a0b050c
2013-07-02 14:15:32 -04:00
Phil Ringnalda
11055f2033 Bug 888557 - skip content/media/test/crashtests/459439-1.html on b2g, where it times out refusing to unload 2013-06-28 19:14:40 -07:00
Rick Eyre
217a2f65aa Bug 833386 - Tests for TextTrackCue objects r=rillian,cpearce
This patch is primarily the work of Marcus Saad (msaad) and Jordan
Raffoul (jbraffoul) at Seneca College.
2013-06-24 19:23:00 -07:00
Ehsan Akhgari
4abd4eea22 Bug 881775 - Set the correct channel count in DownmixAndInterleave, and avoid unnecessary downmixing; r=roc 2013-06-11 17:50:21 -04:00
Ehsan Akhgari
7b5f64298b Test case for bug 880724 2013-06-07 13:22:40 -04:00
Ehsan Akhgari
51df5a5875 Test case for bug 880404 2013-06-07 11:29:25 -04:00
Ehsan Akhgari
68ba9b6a59 Test case for bug 880384
--HG--
extra : rebase_source : a77b7f0c32555d645c1903164e0a7740ac61ca19
2013-06-07 11:22:46 -04:00
Ehsan Akhgari
66bdc6525b Test case for bug 880342 2013-06-07 11:14:51 -04:00
Ehsan Akhgari
6ded75e2eb Bug 880129 - Correctly handle AnalyserNodes with a buffer size smaller than 128; r=roc 2013-06-07 07:33:00 -04:00
Robert O'Callahan
133ee90547 Bug 865537. Part 2: The Range used to track the source element pointer for a media element should not gravitate outside the media element. r=cpearce
--HG--
extra : rebase_source : 6d4d5de2f0841fe602821013f0a33bb035d1cb76
2013-06-07 16:26:55 +12:00
Ryan VanderMeulen
64d39d24ca Bug 880202 - Skip crashtest on B2G due to failures. 2013-06-06 14:29:52 -04:00
Ehsan Akhgari
1a785621d8 Bug 880202 - Revert bug 878765 because it introduces a buffer overflow 2013-06-06 12:36:57 -04:00
Paul Adenot
f36c77bdd9 Bug 877527. 2013-06-04 15:07:01 +02:00
Robert O'Callahan
aa60d410a4 Bug 877135. Remove HTMLMediaElement::mozLoadFrom since it's nonstandard and no longer needed (setting 'src' to another element's 'currentSrc' works just as well). r=doublec
--HG--
extra : rebase_source : f1e04fe469a1757bfabfcf79bbf0fec29faee1c7
2013-06-04 15:28:23 +12:00
Ehsan Akhgari
2aa2507d7c Bug 878478 - Disable looping of AudioBufferSourceNode when we detect that the loopStart offset is not less than the loopEnd offset; r=roc 2013-06-02 09:26:26 -04:00
Ehsan Akhgari
73b6b78804 Bug 878328 - Sanitize the time argument of AudioParam.setValueCurveAtTime; r=roc 2013-06-02 09:26:06 -04:00
Ehsan Akhgari
20b20b238c Bug 878407 - Allocate a large enough delay buffer when the delay time fraction value is less than 0.5; r=roc 2013-06-02 09:25:46 -04:00
Ehsan Akhgari
9fbc89aa91 Bug 878014 - Use double precision when sampling the delay AudioParam; r=roc 2013-06-01 03:02:46 -04:00
Ehsan Akhgari
58cfbcc35a Crashtest for bug 868504 2013-05-30 20:59:09 -04:00
Ehsan Akhgari
4eb33f438e Bug 877820 - Improve the argument checking for OfflineAudioContext's sampleRate argument; r=roc 2013-05-30 20:54:07 -04:00
Ehsan Akhgari
2942a374d2 Bug 876024 - Sanity check all of the time values passed to Web Audio; r=roc 2013-05-30 20:53:15 -04:00
Ehsan Akhgari
c7959dc839 Bug 876215 - Correctly deal with nodes that require 0 input channels by feeding them a null AudioChunk; r=roc
The assertion here is really not correct, since as this testcase shows,
it's now easy for web content to control the value of outputChannelCount.

--HG--
extra : rebase_source : a6282517673b7c9e73c2114ee0b944fc1022e4ae
2013-05-29 07:40:14 -04:00
Ehsan Akhgari
cc7d5c2b45 Bug 876118 - Impose a unified channel count limit of 10000 channels in Web Audio; r=roc
--HG--
extra : rebase_source : 480cebb99e5dd8673df179b490d11e6c513fa1d1
2013-05-29 07:36:37 -04:00
Ehsan Akhgari
fbb58a2c0f Bug 876834 - Do not accept sampling rates which we won't be able to handle when creating an OfflineAudioContext; r=roc 2013-05-29 00:10:52 -04:00
Ehsan Akhgari
db2f9876bb Test case for bug 876249 2013-05-28 14:43:35 -04:00
Ehsan Akhgari
9baff6c056 Bug 876252 - Stop the AudioBufferSourceNode if the offset is no longer valid after setting a new buffer more effectively; r=roc
Calling Stop() here is not quite enough, because web content might call stop() again
with a non-zero argument, which overrides what we do here.
2013-05-27 20:17:24 -04:00
Ehsan Akhgari
4655043378 Bug 875911 - Clean up OfflineAudioContexts which have never been rendered; r=roc 2013-05-25 09:59:59 -04:00
Ehsan Akhgari
3d0d70af3e Backed out changeset dc96b4762676 (bug 875402) because of crashtest leaks 2013-05-24 15:28:28 -04:00