Wes Kocher
f85117da36
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 1c81Eie63Pe
2017-02-14 14:45:40 -08:00
Jean-Yves Avenard
4ee48a05fa
Bug 1336358: P4. Disable some noisy tests on Android. r=padenot
...
Issue tracked in bug 1339449 and bug 1339448
MozReview-Commit-ID: GmlS56bI4Ki
--HG--
extra : rebase_source : 4b85907a840c9ffa03ee8b757deec3ea5539d28b
2017-02-14 16:10:11 +01:00
Bill McCloskey
225fab4ac5
Bug 1337537 - Avoid SystemGroup assertion during WebAudio test (r=ehsan)
...
MozReview-Commit-ID: 9GbXnkF4fvZ
2017-02-13 17:03:05 -08:00
Paul Adenot
f7e4a455e2
Bug 1339438 - Fix the test that checks that MediaElementAudioSourceNode are working correctly. r=pehrsons
...
MozReview-Commit-ID: Fazp4QsbxHk
2017-02-14 19:28:04 +01:00
Ehsan Akhgari
8a998d9134
Bug 1336484 - Don't throttle timeouts in background tabs that are playing audio; r=baku
...
In websites such as Facebook Live, timeout chains are used to drive the
playback of a video or something similar in JavaScript. Throttling the
minimum timeout values a tab playing a video from such websites in the
background could make the timeout based scheduling of video playback to
not work correctly, and cause audio buffer under-runs that are audible.
In order to address this, other major browsers don't throttle timeouts
in tabs that are playing audio. This brings us to parity to other
browsers (even though we already do this for websites that use Web Audio
since we've had similar bug reports using the Web Audio API.)
The current audio agent setup that drives the tab audio notification
icons is currently tracking whether a Window is playing audio. We use
this setup to decide whether to throttle timeouts when a window goes
into background.
2017-02-10 12:08:25 -05:00
Beekill95
b8a8dc861a
Bug 1308437 - Part 3: Change expected error to TypeError when testing setValueCurveAtTime with non-finite elements in TestAudioEventTimeline.cpp. r=dminor, a=padenot
...
--HG--
extra : rebase_source : b3b2d2d3f5e2c1ac974faf2aa2e57e2f28294826
2017-02-07 22:12:06 +07:00
Beekill95
050a685aa9
Bug 1308437 - Part 2: Add test case to verify TypeError is thrown when calling setValueCurve on non-finite elements. r=dminor r=padenot
...
--HG--
extra : rebase_source : 211c205d53a60647c39723a85da97f02a86909f4
2017-02-06 22:18:04 +07:00
Beekill95
0412139325
Bug 1308437 - Part 1: Change the exception thrown by 'setValueCurve' on non-finite elements to TypeError. r=dminor
...
--HG--
extra : rebase_source : 3fe7493e7d8933365c873ef652946975983427ea
2017-02-06 22:14:58 +07:00
Jean-Yves Avenard
b7844bd5c3
Bug 1319987: P9. More coding style fixes. r=gerald
...
MozReview-Commit-ID: DhFRqkWQZny
--HG--
extra : rebase_source : 03ed44efc83fe9cab7fc975229ac4e5746aff96b
2017-01-27 13:20:37 +01:00
Paul Adenot
b51488fd48
Bug 1320705 - Add a test to check that decoding an Opus file does to produce a long tail. r=jya
...
MozReview-Commit-ID: B4IlW1cWYlX
2017-01-27 15:18:58 +01:00
Paul Adenot
0ac29668f5
Bug 1336098 - When the input is silent, AnalyserNode.getFloatFrequencyData should put -Infinity in the buffer. r=pehrsons
2017-02-02 17:13:13 +01:00
Beekill95
ebd1ad47ba
Bug 1308434 - Add testcase for calling DecodeAudioData on detached buffer. r=padenot,dminor
...
MozReview-Commit-ID: 25zz7RfVHxO
--HG--
extra : rebase_source : 35f8364bf8025a5c440934add359d440c09af9bb
2017-01-26 13:45:51 +07:00
Beekill95
0dc2d443bb
Bug 1308434 - Throw TypeError if calling decodeAudioData on a detached buffer. r=padenot,dminor
...
MozReview-Commit-ID: JxFyFCECTeK
--HG--
extra : rebase_source : c69df64616cfe014684f1049c6e2b2b84b899b64
2017-01-21 13:11:46 +07:00
Bevis Tseng
72d516ef01
Bug 1314833 - Part 2.2: Use AbstractThread::CreateDirectTaskDrainer() to Drain Direct Tasks Dispatched to MediaStreamGraph. f=rjesup,r=padenot,jwwang
...
MozReview-Commit-ID: 1KgE3uKu4CG
--HG--
extra : rebase_source : 2ad950afe84675fb9bc4c449e53e7c0d52270175
2016-12-07 22:00:12 -10:00
Bevis Tseng
f2bdbd8fd1
Bug 1314833 - Part 2.1: Factor out AbstractThread::MainThread() used in Media Playback. r=billm,jwwang
...
MozReview-Commit-ID: 9yJi3iDtVZG
--HG--
extra : rebase_source : 39c720ccc576ed9247b5e8abb70d99d7873b3ad6
2016-11-29 13:03:36 +08:00
Boris Zbarsky
03dbb8c08b
Bug 851892 part 10. Convert CSSNamespaceRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05:00
Sebastian Hengst
e21b4b941f
Backed out changeset 9dee4f98503c (bug 851892)
2017-01-20 19:30:23 +01:00
Boris Zbarsky
1e1b760bf1
Bug 851892 part 10. Convert CSSNamespaceRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05:00
Wes Kocher
54c460dbd6
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: 3cGydlfeaPN
2017-01-18 14:17:10 -08:00
Gerald Squelart
f17dd305d6
Bug 1331289 - Use MediaContainerType in MediaResource, SourceBuffer, TrackBuffersManager, and dependencies - r=jya
...
Continuing the work of replacing MIME strings with MediaContainerType, starting
from MediaResource and following the dependencies.
Most changes are mechanical: Just change ns*String into MediaContainerType, and
MIME string literals into MEDIAMIMETYPE("a/b").
Some checks for empty/invalid strings and lowercase comparisons can go, thanks
to the always-valid always-lowercase-MIME invariants of MediaContainerType.
One special case in is MediaSourceResource, which used to have an empty string
as its type (because its own type is not relevant, but its SourceBuffers carry
types). Because the inherited GetContentType *must* be overridden, and must
return a MediaContainerType, we needed a valid type even though it should not
be seen in the real world. I've chosen "application/x.mediasource" for that.
MozReview-Commit-ID: 1aCH75Kh2e6
--HG--
extra : rebase_source : 0d9cd9b69c264e5dcfc3845f80ee107f4bcbcd9a
2016-12-28 18:59:02 +11:00
Gerald Squelart
5745998021
Bug 1331770 - Rename 'MediaContentType' to 'MediaContainerType' - r=jya
...
MozReview-Commit-ID: F0BWai8vPyo
--HG--
rename : dom/media/MediaContentType.cpp => dom/media/MediaContainerType.cpp
rename : dom/media/MediaContentType.h => dom/media/MediaContainerType.h
extra : rebase_source : 640ada96750b4496055087e80ae3f600c9df31c9
2017-01-18 11:59:03 +11:00
Florian Quèze
85611a7b6d
Bug 1331081
- script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Ehsan Akhgari
b89a8163fa
Bug 1328422 - Make WebAudioDecodeJob not be refcounted, and instead manage its lifetime explicitly; r=padenot
2017-01-16 15:53:45 +08:00
Phil Ringnalda
c4129ca15b
Merge autoland to m-c, a=merge
2017-01-15 12:31:23 -08:00
Phil Ringnalda
686006613e
Backed out 20 changesets (bug 851892) for load failures in Android crashtest-4
...
Backed out changeset b9c4115cdeac (bug 851892)
Backed out changeset 5f491bf49b85 (bug 851892)
Backed out changeset 9bf5bcb3e8c5 (bug 851892)
Backed out changeset a9cab46e8b45 (bug 851892)
Backed out changeset 73858e15c8c0 (bug 851892)
Backed out changeset a25638588b6b (bug 851892)
Backed out changeset d58e0e5069ef (bug 851892)
Backed out changeset d8da2a3d8f10 (bug 851892)
Backed out changeset a8da3c34983f (bug 851892)
Backed out changeset 29cf8acbd21e (bug 851892)
Backed out changeset c53cd7bdf8b3 (bug 851892)
Backed out changeset e841a2796375 (bug 851892)
Backed out changeset 2eab85b00159 (bug 851892)
Backed out changeset ca4b1fb9cae4 (bug 851892)
Backed out changeset 74c0ba66f108 (bug 851892)
Backed out changeset 719bb9f41e5b (bug 851892)
Backed out changeset d6aa4c6192df (bug 851892)
Backed out changeset dc81a167a75d (bug 851892)
Backed out changeset 65422477b3a5 (bug 851892)
Backed out changeset 3089dd379077 (bug 851892)
2017-01-15 11:50:10 -08:00
Boris Zbarsky
72579551f8
Bug 851892 part 10. Convert CSSNamespaceRule to WebIDL. r=peterv,heycam
2017-01-13 10:41:03 -05:00
Gerald Squelart
882af395f0
Bug 1330284 - Use MediaContentType in CreateReader and MediaBufferDecoder - r=jya
...
MozReview-Commit-ID: E9yVaxNdLad
--HG--
extra : rebase_source : 35828ab34adcc2fca6d607459d3dbb3c3c16d5cd
2016-12-22 11:57:48 +11:00
Xidorn Quan
a8e64a94e1
Bug 1298756 - Use uint8_t/uint16_t as underlying type for enums from webidl. r=bz
...
MozReview-Commit-ID: 3uS9s5ZrPFd
--HG--
extra : rebase_source : ff64b4468ee99ba08fd8638298a27711b7fb6393
2017-01-12 12:23:37 +11:00
Andrea Marchesini
2abf88ce1f
Bug 1329744 - AudioBuffer ctor updated, r=padenot
2017-01-10 21:30:28 +00:00
Paul Adenot
01a3eba51c
Bug 1325066 - Use correct exception for `connect` calls between AudioNodes and AudioParams of different contexts. r=baku
...
MozReview-Commit-ID: KrG4ZAya088
--HG--
extra : rebase_source : c6d7c7c4dcc58aacdeb79ff7966050aad6170f83
2016-12-21 14:45:51 +01:00
Markus Stange
4bdc4ca0fb
Bug 1323100 - Register most of the remaining threadfunc threads with the profiler. r=froydnj
...
As far as I can tell, this covers all the remaining threads which we start
using PR_CreateThread, except the ones that are created inside NSPR or NSS,
and except for the Shutdown Watchdog thread in nsTerminator.cpp and the
CacheIO thread. The Shutdown Watchdog thread stays alive past leak detection
during shutdown (by design), so we'd report leaks if we profiled it. The
CacheIO thread seems to stay alive past shutdown leak detection sometimes as
well.
This adds a AutoProfilerRegister stack class for easy registering and
unregistering. There are a few places where we still call
profiler_register_thread() and profiler_unregister_thread() manually, either
because registration happens conditionally, or because there is a variable that
gets put on the stack before the AutoProfilerRegister (e.g. a dynamically
generated thread name). AutoProfilerRegister needs to be the first object on
the stack because it uses its own `this` pointer as the stack top address.
MozReview-Commit-ID: 3vwhS55Yzt
--HG--
extra : rebase_source : 56dd27282e7bd09a7e7dc7ca09ccfe3a0198e7af
2017-01-05 16:34:26 +01:00
Edgar Chen
68253477ee
Bug 1328206 - Do not use binding_detail things in AudioContext, use Sequence instead; r=dminor
2017-01-03 11:54:37 +08:00
Olli Pettay
0364dbc792
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
...
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Andrea Marchesini
1605ddf333
Bug 1324181 - Better implementation of PeriodicWave constructor, r=padenot
2016-12-22 15:37:33 +01:00
Paul Adenot
fd396ecf1d
Bug 1325215 - Fix bustage.
...
MozReview-Commit-ID: 6P9ccLvylG2
2017-01-18 11:04:31 +01:00
Paul Adenot
945d697015
Bug 1325215 - Reject promises in flight when shutting down AudioContexts. r=ehsan
...
Spec bug: https://github.com/WebAudio/web-audio-api/issues/1139
MozReview-Commit-ID: 8aTaoEKDWYd
--HG--
extra : rebase_source : f325defd56d15a716c23d796bf875b183867c6a7
2017-01-18 10:50:14 +01:00
Ehsan Akhgari
1b687dcdfe
Bug 1325215 - Ensure that all AudioContext members that need to participate in cycle collection do so; r=padenot
...
MozReview-Commit-ID: JIL0nFL4lMW
--HG--
extra : rebase_source : 09993abc04db0ec0ceaef808a58a8b4d37e3a8eb
2017-01-18 10:48:40 +01:00
Andrea Marchesini
7d3342df6b
Bug 1324659 - AudioParam.minValue/maxValue, r=padenot
2016-12-21 10:53:38 +01:00
Andrea Marchesini
60364b27c9
Bug 1324568 - Implement AudioScheduledSourceNode, r=padenot
2016-12-21 10:53:17 +01:00
Andrea Marchesini
de7438cf52
Bug 1324352 - Implement BaseAudioContext, r=padenot
2016-12-21 10:52:50 +01:00
Sebastian Hengst
ac153b5903
Backed out changeset 50a74758ee7d (bug 1324352) for failing webaudioeditor devtools tests like test/browser_audionode-actor-bypass.js. r=backout
2016-12-20 23:03:36 +01:00
Sebastian Hengst
d17f05006b
Backed out changeset d70b97db8d9e (bug 1324568)
2016-12-20 23:02:48 +01:00
Sebastian Hengst
2c02931295
Backed out changeset f350bbf9e636 (bug 1324659)
2016-12-20 23:02:44 +01:00
Andrea Marchesini
f9c4996182
Bug 1324659 - AudioParam.minValue/maxValue, r=padenot
2016-12-20 20:20:41 +01:00
Andrea Marchesini
bd93c7bd15
Bug 1324568 - Implement AudioScheduledSourceNode, r=padenot
2016-12-20 20:20:41 +01:00
Andrea Marchesini
ad79ef8d0a
Bug 1324352 - Implement BaseAudioContext, r=padenot
2016-12-20 20:20:41 +01:00
Andrea Marchesini
826ada7c51
Bug 1324537 - Implement the OfflineAudioCompletionEvent constructor - part 2, r=me
2016-12-20 11:02:50 +01:00
Andrea Marchesini
4f29b70d10
Bug 1324537 - Implement the OfflineAudioCompletionEvent constructor, r=smaug
2016-12-20 10:41:30 +01:00
Andrea Marchesini
e217483d1a
Bug 1322883 - AudioNode constructors - part 18 - MediaStreamAudioDestinationNode, r=padenot
2016-12-15 19:24:43 +01:00
Andrea Marchesini
040ca23f4e
Bug 1322883 - AudioNode constructors - part 17 - MediaStreamAudioSourceNode, r=padenot
2016-12-15 19:24:43 +01:00