Commit Graph

641 Commits

Author SHA1 Message Date
Karl Tomlinson
b8a725fb28 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
39cd241c89 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
b94c627651 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
66a0475d9e 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
dfe0e2b248 Bug 918604 - Remove more enablePrivilege calls. r=jmaher 2013-09-25 19:32:20 +02:00
Rick Eyre
f8467f7947 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
e8228fcef0 Bug 895091 - Part 5: Test for multiple WebVTT files loading at once r=khuey 2013-09-10 07:13:00 -07:00
Rick Eyre
47679c1a5c Bug 895091 - Part 4: Turn text track cue tests back on r=rillian 2013-09-05 07:57:00 -07:00
Ed Morley
e6e697ac09 Bug 897108 - Disable test_playback_rate_playpause.html for too many intermittent failures 2013-09-19 14:54:10 +01:00
Ralph Giles
057477b632 Backed out changeset feca3867b395 (bug 895091) 2013-09-18 13:47:04 -07:00
Ralph Giles
98a46c2b26 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
1c35b391bd Bug 895091 - Test for multiple WebVTT files loading at once r=khuey 2013-09-10 07:13:00 -07:00
Rick Eyre
aea38bd863 Bug 895091 - Turn text track cue tests back on r=rillian 2013-09-05 07:57:00 -07:00
Karl Tomlinson
9a843336e3 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
cc4dfddc6f 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
7a97c91578 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
504f2b3fae Backed out changeset 81cee5ae7973 (bug 904617) 2013-09-16 08:43:47 +01:00
Paul Adenot
ea33beeb7a 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
05d42ab025 Bug 914479 - AudioToolbox MP3 backend on OSX r=cpearce 2013-09-14 13:14:42 +12:00
Edwin Flores
39590db101 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
f02993faff 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
cc215bb11d 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
3f997d4ad6 Merge mozilla-central and b2g-inbound 2013-09-09 13:30:32 +01:00
Chris Pearce
ddd2cfddd7 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
4353dde6ad 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
dd810a473b Bug 752796 - Stop MediaDecoderStateMachine::SendStreamData from trying to A/V sync unnecessarily r=roc 2013-09-06 15:14:48 +12:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Karl Tomlinson
48a1b73523 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
e2bd26bb53 Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Jason Smith
738da5cf84 Bug 903781 - Mochitest for recording media with timeslice for media recording api. r=roc 2013-08-29 09:56:12 -07:00
Shelly Lin
4ef7a06953 Bug 899935 - Mochitest for stopping the recorder right after starting it. r=jsmith 2013-08-06 22:13:37 -07:00
Ryan VanderMeulen
c343a25cc5 Backed out changeset d5cd8e27cb9c (bug 903781) for Android mochitest-3 failures. 2013-08-29 12:43:54 -04:00
Jason Smith
969bed39f7 Bug 903781 - Mochitest for recording media with timeslice for Media Recording API. r=roc 2013-08-26 20:24:02 -07:00
Rick Eyre
73c2f74ef5 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
cf122919c7 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
b6c2717f87 Bug 908306 - Disable more Web Audio crashtests on B2G due to frequent timeouts. 2013-08-22 14:04:41 -04:00
Jason Smith
50688353a8 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
2e34186e12 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
07ff40b56e No bug - Fix busted crashtest manifest. r=stupidme
DONTBUILD CLOSED TREE
2013-08-14 14:54:27 -04:00
Ryan VanderMeulen
1972477f4d No bug - Disable timeout-prone B2G crashtests.
CLOSED TREE
2013-08-14 13:40:20 -04:00
Chris Pearce
b6744d88a6 Bug 861693 - DirectShow MP3 decoder HTML5 audio backend for Windows. r=padenot 2013-08-13 16:49:25 +12:00
Ryan VanderMeulen
d14c842365 Backed out changeset 635ef1e34417 (bug 899878) for B2G mochitest-3 timeouts. 2013-08-12 16:45:14 -04:00
Jason Smith
2aa0a6baa6 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
b44ce21e6a 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
cc9047ec02 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
d184108c32 Bug 831224: Remove trailing whitespaces, r=padenot 2013-01-24 13:38:32 +01:00
Randy Lin
ea7a1b0a14 Bug 898952 - Media Recording - Avoid to record a stopped MediaStream. r=roc 2013-08-07 14:20:42 +08:00
Randy Lin
4b48487cb3 Bug 896353 - Media Recording - Test case for record the MediaStream from audioContext. r=jsmith 2013-07-26 10:47:56 +08:00
Ed Morley
356d0996fb Backed out changeset 303ba353d785 (bug 831224) for turning bug 897108 permaorange 2013-08-08 10:00:26 -07:00
Ed Morley
d07cf9666f Backed out changeset 374a8aab2b49 (bug 831224) 2013-08-08 09:59:39 -07:00
Thomas Zimmermann
67f89c8b21 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
eb53c373e1 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
1573d86782 Bug 831224: Remove trailing whitespaces, r=padenot
--HG--
extra : rebase_source : e04ddb59ab953550d988924670c96b73bf7909f2
2013-01-24 13:38:32 +01:00
Robert O'Callahan
979a3ae072 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
27733c8c8c 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
45725619fb Backed out changesets f2862e93b710, 4fe81f58dbef, and f8f855f0b7dc (bug 896353) for mochitest-1 asserts. 2013-07-26 14:08:29 -04:00
Martijn Wargers
197d05aa66 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
6332de0fa1 Bug 896353 - Media Recording - Test case for record the MediaStream from audioContext. r=jsmith 2013-07-26 10:47:56 +08:00
Matthew Gregan
8912b984d1 Bug 895754 - Update VideoPlaybackQuality to current MSE spec (remove playbackJitter, add totalFrameDelay). r=doublec 2013-07-24 11:46:43 +12:00
Boris Zbarsky
0d417e5c5f 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
c72ae6e277 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
9351dd7188 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
b1f56ecb1f Bug 896302 - Add a mochitest for creation of a media recorder object. r=roc 2013-07-21 18:37:42 -07:00
Ryan VanderMeulen
66c2f17999 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
886696b46e Bug 886173 - Preserve playbackRate across pause/play. r=cpearce 2013-07-11 16:58:57 +02:00
Ryan VanderMeulen
b39f89045b Bug 832768 - Disable test_buffered.html due to frequent timeouts. 2013-07-15 11:45:10 -04:00
Ryan VanderMeulen
db7ca92e0a 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
11863355c2 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
9b47990cb3 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
8ebc289ad7 Bug 886173 - Preserve playbackRate across pause/play. r=cpearce 2013-06-24 14:05:38 +02:00
Matthew Gregan
d597606de0 Bug 889201 - Add tests for VideoPlaybackQuality. r=roc 2013-07-11 15:52:22 +12:00
Ralph Giles
d187fe7323 Bug 887463 - remove webvtt parser library. r=cpearce. 2013-07-09 17:02:00 -07:00
Olli Pettay
16127542ea 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
5d033a4941 backout Bug 533840, since it added a randomly failing test 2013-07-09 13:30:18 -04:00
Bastien Scanu
c7cdb9f7e1 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
3feece5ab1 Bug 654550 - Add a preference to disable media statistics. r = padenot,jaws 2013-06-11 17:23:13 +02:00
Ehsan Akhgari
0cdee0aed0 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
cbebfc17c9 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
6ee09460b3 Bug 884459 - Do not check mCurrentTaskMessageQueue's emptiness needlessly; r=ehsan 2013-06-21 22:07:39 +02:00
Edwin Flores
aed9cc50a0 Bug 885157 - Kill content/media/test/test_too_many_elements.html r=cpearce 2013-06-22 11:16:53 +12:00
Edwin Flores
50e1276b08 Bug 794282 - Enable gstreamer by default in builds, but pref off r=cpearce,khuey 2013-06-22 11:16:53 +12:00
Rick Eyre
9209bc17fb 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
f4ca533bc8 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
0b4b51d26f Bug 868439 - Convert some uses of nsIPrefBranch to SpecialPowers. r=jmaher 2013-06-15 00:13:44 +02:00
Shelly Lin
3fbcac1377 Bug 882956 - Fix WebAudio stack-buffer-overflow crash. r=ehsan. 2013-06-14 15:16:41 +08:00
Chris Pearce
24f7039d0b 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
d04999e520 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
e111055fa9 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
7540524e9d Backed out changeset 5ea64b6ba89b (bug 889201) for too-frequent failures 2013-07-05 14:24:50 -07:00
Matthew Gregan
dbcfe9d22f Bug 889201 - Add tests for VideoPlaybackQuality. r=roc 2013-07-05 12:24:55 +12:00
Ehsan Akhgari
d1d9fbed63 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
a55f9f3efa 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
230a834f45 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
b054aad964 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
69dd040cef Test case for bug 880724 2013-06-07 13:22:40 -04:00
Ehsan Akhgari
b0f5abb2d1 Test case for bug 880404 2013-06-07 11:29:25 -04:00
Ehsan Akhgari
021d3cb4b8 Test case for bug 880384
--HG--
extra : rebase_source : a77b7f0c32555d645c1903164e0a7740ac61ca19
2013-06-07 11:22:46 -04:00
Ehsan Akhgari
0260d850c7 Test case for bug 880342 2013-06-07 11:14:51 -04:00
Ehsan Akhgari
1391c0772c 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
ee22922f7e 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
352fd9b8a9 Bug 880202 - Skip crashtest on B2G due to failures. 2013-06-06 14:29:52 -04:00
Ehsan Akhgari
d675b726e0 Bug 880202 - Revert bug 878765 because it introduces a buffer overflow 2013-06-06 12:36:57 -04:00
Paul Adenot
d9670a9a90 Bug 877527. 2013-06-04 15:07:01 +02:00
Robert O'Callahan
96e4270e65 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
5698703154 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
b319c56bac Bug 878328 - Sanitize the time argument of AudioParam.setValueCurveAtTime; r=roc 2013-06-02 09:26:06 -04:00
Ehsan Akhgari
dc0358066e 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
1e0789da84 Bug 878014 - Use double precision when sampling the delay AudioParam; r=roc 2013-06-01 03:02:46 -04:00
Ehsan Akhgari
286425d4f4 Crashtest for bug 868504 2013-05-30 20:59:09 -04:00
Ehsan Akhgari
72c63d4e5c Bug 877820 - Improve the argument checking for OfflineAudioContext's sampleRate argument; r=roc 2013-05-30 20:54:07 -04:00
Ehsan Akhgari
13fff291bf 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
28c082afaf 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
3b9b54e31a 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
abe35e49ff 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
138d8529b0 Test case for bug 876249 2013-05-28 14:43:35 -04:00
Ehsan Akhgari
59a18c2247 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
3f01774938 Bug 875911 - Clean up OfflineAudioContexts which have never been rendered; r=roc 2013-05-25 09:59:59 -04:00
Ehsan Akhgari
d418ca71a3 Backed out changeset dc96b4762676 (bug 875402) because of crashtest leaks 2013-05-24 15:28:28 -04:00
Ehsan Akhgari
0ab611361f Bug 875596 - Properly handle AudioParam SetCurve automation events with a 0 duration; r=roc
--HG--
rename : content/media/webaudio/test/test_audioParamSetCurveAtTime.html => content/media/webaudio/test/test_audioParamSetCurveAtTimeZeroDuration.html
2013-05-24 13:19:47 -04:00
Ehsan Akhgari
b70a070b62 Bug 875402 - Do the work for initializing a MediaInputPort even if the message is handled during graph shutdown; r=roc 2013-05-24 12:53:41 -04:00
Ehsan Akhgari
3e5b5e657d Bug 875144 - Disallow creating AudioBuffers of 0 length; r=roc 2013-05-23 22:39:36 -04:00
Ehsan Akhgari
03aface63f Bug 874952 - Always create enough last chunks for an engine, even if we don't end up calling into its ProduceAudioBlock function; r=roc 2013-05-23 22:36:20 -04:00
Ehsan Akhgari
c08a3bf04a Bug 874915 - Stop the AudioBufferSourceNode if the offset is no longer valid after setting a new buffer; r=roc
--HG--
extra : rebase_source : 0b179aab5ddb1ffd4ab2aeb8366b36975c949187
2013-05-23 07:50:48 -04:00
Ehsan Akhgari
1bfc965bdc Bug 874869 - Disallow setting AudioNode.channelCount to zero; r=roc
--HG--
extra : rebase_source : 8015dda70e2191820c9482b529a22bdaa67dd79e
2013-05-23 07:46:20 -04:00
Ryan VanderMeulen
4a2c1820e6 Backed out changesets e52c6f7200b3 and 2718954757e1 (bug 874869) for intermittent Windows leaks. 2013-05-22 15:22:26 -04:00
Ehsan Akhgari
34a9786e5f Bug 874869 - Disallow setting AudioNode.channelCount to zero; r=roc 2013-05-22 11:30:31 -04:00
Ryan VanderMeulen
9fad01536a Backed out changeset 4cb1973f06b9 (bug 868439) for Android M2 failures.
CLOSED TREE
2013-05-21 10:48:09 -04:00
Martijn Wargers
b4356d38c0 Bug 868439 - Convert some uses of nsIPrefBranch to SpecialPowers. r=jmaher 2013-05-21 02:14:06 +02:00
Joel Maher
70cf587ace Bug 868152 - disable webaudio crashtests for Android to enable 700 other tests. r=philor 2013-05-07 12:46:48 -04:00
Phil Ringnalda
5c6b885414 Bug 852821 - Skip 691096-1.html on b2g where it frequently times out, so it won't hold an entire hunk of crashtests hostage 2013-05-05 17:56:24 -07:00
Phil Ringnalda
15aa0f03f4 Bug 868152 - The disabling of media crashtest on Android will continue until morale improves 2013-05-03 18:40:43 -07:00
Ryan VanderMeulen
65de50fed4 Bug 868152 - Skip test on Android due to crashtest perma-orange. 2013-05-02 21:28:35 -04:00
Boris Zbarsky
d0cb8316ab Bug 860841. Hook up the proto chain of a WebIDL interface object to the interface object of its nearest ancestor interface that has one, as if these were ES6 classes. r=peterv 2013-05-02 14:38:19 -04:00
Ralph Giles
1fafe574a9 Bug 782091 - Add multichannel Opus test files. r=derf
This doesn't do any verification of the output, just checks
that we load multichannel files and playback completes.

These are public-domain test files created by Tim and Monty
last year. They're not great audio quality, the idea is just
to verify correct speaker mapping.

http://people.xiph.org/~greg/opus_testvectors/opus_multichannel_examples/
2013-05-01 14:15:57 -07:00
Robert O'Callahan
036de11b55 Bug 834835. Part 4: Test basic MediaStreamTrack functionality. r=jesup 2013-04-17 17:18:53 +12:00
Robert O'Callahan
4f5e1036db Bug 786539. Part 3: Reenable test on Windows. r=cpearce 2013-04-24 21:19:08 +12:00
Ms2ger
e9e1fa61d5 Bug 862409 - Add the media.audio_data.enabled pref to all.js; r=bz 2013-04-21 08:41:21 +02:00
Chris Pearce
cdcda30e31 Bug 852915 - Disable MP3 playback using WMF on Win7SP0 to prevent random crashes. r=bbondy 2013-04-19 14:54:26 +12:00
Ryan VanderMeulen
3707b146a1 Backed out 4 changesets (bug 834835) for making bug 786539 nearly perma-orange. 2013-04-18 10:32:26 -04:00
Robert O'Callahan
31c06a0c04 Bug 834835. Part 4: Test basic MediaStreamTrack functionality. r=jesup
--HG--
extra : rebase_source : 5fe7024af9ad4669f6fbdbc8149f8de00a75f13a
2013-04-17 17:18:53 +12:00
Jason Smith
45253e09ed Bug 850587 - Test for autoplay not working with MediaStreams. r=roc 2013-04-02 23:58:48 -07:00
Steve Workman
fc6911c83d Bug 855064 - Remove DASH references in media unit tests r=cpearce 2013-04-02 17:05:00 -07:00
Ryan VanderMeulen
8932ecc1a7 Backed out changeset 8ed978214fdb (bug 850587) for frequent Windows debug failures. 2013-04-02 09:47:53 -04:00
Robert O'Callahan
8bb6e132c9 Bug 850587. Test. r=jsmith 2013-03-25 22:34:28 +13:00
Andrew Quartey
e0936f71a7 Bug 742537 - Remove HTMLMediaElement.initialTime attribute. r=cpearce,doublec 2013-04-01 20:38:54 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Ed Morley
74e160381c Bug 754860 - Line continuation characters aren't overridden by commenting the line (when are we switching to tup again?) 2013-03-23 00:57:17 +00:00
Ed Morley
53771aecf7 Bug 754860 - Disable test_bug726904.html for too many intermittent failures 2013-03-22 23:13:46 +00:00
Ehsan Akhgari
f2a48dfa7e Bug 852838 - Make sure that trying to allocate an AudioBuffer with a very large number of channels does not cause an OOM crash; r=roc 2013-03-20 21:49:13 -04:00
Andrea Marchesini
f31c1bad38 Bug 847370 - HTMLMediaElement - crossOrigin vs crossorigin, r=bz 2013-03-19 16:18:29 +01:00
Andrea Marchesini
cddda5a105 Bug 841493 - Move HTMLMediaElement to WebIDL, r=Ms2ger 2013-03-19 13:25:19 +01:00
Andrea Marchesini
8c4773bbdb Bug 841493 - Rename nsHTMLMediaElement to HTMLMediaElement, r=Ms2ger
--HG--
rename : content/html/content/public/nsHTMLMediaElement.h => content/html/content/public/HTMLMediaElement.h
rename : content/html/content/src/nsHTMLMediaElement.cpp => content/html/content/src/HTMLMediaElement.cpp
2013-03-19 13:23:54 +01:00
Ed Morley
455e3b2b29 Bug 754860 - Disable test_bug726904.html on OS X for too many intermittent failures 2013-03-18 12:07:24 +00:00
Paul Adenot
ccf2d2ab5f Bug 846612 - r=kinetik 2013-03-04 15:48:58 +01:00
Matthew Gregan
2f67cab8ff Bug 849519 - Raise INDEX_SIZE_ERR if media element volume is set to NaN. r=doublec 2013-03-11 11:11:23 +13:00
Ms2ger
7346e6fa49 Bug 821383 - Don't bother with JSAPI magic in nsHTMLMediaElement::{G,S}etMozSrcObject; r=bz+roc 2013-03-10 08:58:18 +01:00
Andrea Marchesini
b57856b7a9 Bug 841014 - Rename nsTimeRanges.h to TimeRanges.h. r=Ms2ger
--HG--
rename : content/html/content/src/nsTimeRanges.cpp => content/html/content/src/TimeRanges.cpp
rename : content/html/content/src/nsTimeRanges.h => content/html/content/src/TimeRanges.h
2013-03-02 14:14:44 -05:00
Ms2ger
ccda7b03ed Bug 846769 - Allow up to five assertions in test_seek.html. 2013-03-02 10:23:39 +01:00
Paul Adenot
51f09d7652 Bug 846769 - The assertion also happens on Linux, pushing on a CLOSED TREE. r=RyanVM 2013-03-01 17:58:12 +01:00
Paul Adenot
50b77d481a Bug 846769 - Another assertion can happen, and is not windows-only, on a CLOSED TREE r=RyanVM 2013-03-01 17:08:54 +01:00
Paul Adenot
2be52b930c Bug 634747 - Expect some assertions on windows on test_seek.html while we investigate. r=edmorley 2013-03-01 15:18:58 +01:00
Paul Adenot
195ddd726f Bug 846320 - Remove SimpleTest.expectAssertions in test_seek.html. r=dbaron 2013-02-28 16:07:58 +01:00
L. David Baron
509b5b78a3 Bug 404077: Adjust annotations of expected assertions. 2013-02-28 17:59:07 -08:00
L. David Baron
a5d7289b7f Bug 404077: Adjust annotations of expected assertions. 2013-02-28 12:44:57 -08:00
Paul Adenot
59be084d8b Bug 845676 - Remove most of the assertion annotations in the content/media mochitests. r=dbaron 2013-02-28 18:33:28 +01:00
Ms2ger
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
89d297a677 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
aa0fed2e03 Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
L. David Baron
239da2d4cf Bug 404077: Adjust annotations of expected assertions. 2013-02-27 10:37:19 -08:00
L. David Baron
b00a9d9c85 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 18:12:17 -08:00
L. David Baron
9b9f1bc887 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 17:58:48 -08:00
L. David Baron
6b7cbbeff9 Bug 404077: Adjust annotations of expected assertions. 2013-02-27 15:50:10 -08:00
L. David Baron
a144cc1c82 Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
Chris Pearce
3c0c6442cc Bug 841239 - Have HTMLMediaElement.canPlayType respond affirmatively to codecs=mp3 and audio/x-m4a. r=padenot 2013-02-27 09:27:43 +13:00
Paul Adenot
c4b8755bcd Bug 844563 - Crash [@ mozilla::MediaDecoder::SetPreservesPitch], add tests. r=kinetik 2013-02-26 09:52:11 +01:00
L. David Baron
57d19fbb86 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Paul Adenot
3c65fa8d38 Bug 804875 - Change the test, because mozFrameDelay can be 0, on a CLOSED TREE. 2013-02-04 17:37:53 +01:00
Matthew Gregan
807e9f0e6e Bug 835075 - Modify the mochitest. r=padenot 2013-02-04 14:08:47 +01:00
Paul Adenot
34b0e94778 Bug 804875 - Test to check that media elements are reset appropriatly on source change. r=kinetik 2012-12-28 22:54:23 +01:00
Steve Workman
0b2877e907 Bug 813562 - Test case for garbled DASH MPD and WebM media r=cpearce 2013-01-31 18:41:26 -08:00
Steve Workman
7096303212 Bug 792935 - Test to detect DASH stream switching r=cpearce 2013-01-31 14:47:22 -08:00
Steve Workman
2d9494c6bf Back out f08e636ecdc4 (bug 792935) for mochitest failures 2013-01-31 10:54:26 -08:00
Steve Workman
fc4bfc6b91 Bug 792935 - Test to detect DASH stream switching r=cpearce 2013-01-31 09:45:45 -08:00
Robert O'Callahan
9f2a4c9275 Bug 806754. Part 2: Fix bogus assertions. r=cpearce
SendStreamAudio gets called by SendStreamData which can be called
on the state machine thread since bug 794426 was fixed.
At the same time PlayFromAudioQueuec can no longer guarantee that
mAudioCaptured is false. It could be true and we're waiting for
the audio thread to shut down. We can just remove that assertion;
the logic in SendStreamData guarantees that we don't try to pass
audio to MediaStreams until the audio thread has actually stopped.

--HG--
extra : rebase_source : 431b4af63710ef13a57f7560aeec553b8aae6139
2013-01-30 17:20:03 +13:00
Randell Jesup
dbcf164ddf bug 804875: backout due to regressions of various uses of .src/mozSrcObject (bugs 836011/835705) rs=kinetik 2013-01-29 18:07:29 -05:00
Steve Workman
ee7bb7cf5d Bug 792935 - Add DASH to gPlayedTests and gPlayTests r=cpearce 2013-01-28 18:34:28 -08:00
Steve Workman
5b6a96852d Bug 792935 - Add DASH to test_info_leak, test_progress and test_standalone r=cpearce 2013-01-28 18:34:28 -08:00
Andrew Halberstadt
a466d10a02 Bug 834382 - Disable failing b2g emulator crashtests, r=jgriffin 2013-01-24 15:07:07 -05:00
Paul Adenot
3ba152d8e6 Bug 804875 - Tests. r=kinetik 2013-01-24 20:28:48 +01:00
Steve Workman
c65cca2192 Bug 792935 - Add DASH to various Media Mochitests r=cpearce 2013-01-23 11:24:41 -08:00
Steve Workman
94fc543ce7 Bug 792935 - Add DASH to gSmallTests and gSeekTests to manifest.js (Media Mochitests) r=cpearce 2013-01-23 11:24:41 -08:00
Steve Workman
66af55cbbb Bug 792935 - Add tests for canPlayType for DASH (Media Mochitests) r=cpearce 2013-01-23 11:24:41 -08:00
Ed Morley
f91b0cbc29 Backout b3a8618f901c (bug 829042), 34a9ef8f929d (bug 822933), 4c1215cefbab (bug 826349), 70bb7f775178 (bug 825325), e9c8447fb197 (bug 828713), eb6ebf01eafe (bug 828901), f1f3ef647920 (bug 825329), f9d7b5722d4f (bug 825329), 5add564d4546 (bug 819377), 55e93d1fa972 (bug 804875), f14639a3461e (bug 804875), 23456fc21052 (bug 814308) for Windows pgo-only mochitest-1 media test timeouts on a CLOSED TREE 2013-01-16 15:16:23 +00:00
Paul Adenot
866ba5a7d9 Bug 825329 - Update tests. r=kinetik 2013-01-15 19:57:03 +01:00
Paul Adenot
9ecc2008bc Bug 804875 - Tests. r=kinetik 2013-01-15 19:57:03 +01:00
Ed Morley
d2cb70aa5c Bug 751539 - Disable test_played.html for too many intermittent failures 2013-01-10 14:59:26 +00:00