Граф коммитов

209 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot 6d9a0e3387 Bug 1351456 - Don't assume that window.load will be called after the pref has been flipped. r=pehrsons
MozReview-Commit-ID: 2r6d6a5vIa

--HG--
extra : rebase_source : ed7ba96903fd92e51ccddb320213313e3b368e17
2017-04-03 13:20:33 +02:00
Paul Adenot 26e9175c0d Bug 1351456 - Fix test logging.
MozReview-Commit-ID: KpyHg95FKcv
2017-03-31 18:51:01 +02:00
Paul Adenot 93f23173cb Bug 1351456 - Add some instrumentation to try to understand a test timeout. irc-r=jesup
MozReview-Commit-ID: 935bdFmhwTq

--HG--
extra : rebase_source : 69f29432b714dffbb2eb9c51098d603744e4ceb6
2017-03-31 17:41:31 +02:00
Paul Adenot 863a1ccd9e Bug 1343550 - Mochitest. r=baku
MozReview-Commit-ID: 72V86HrbVCl

--HG--
extra : rebase_source : 8f561de253021c7566e5d3160bb6b8f43ff0319f
extra : intermediate-source : b258ffe9ee50b38cecbd4eb8fb00c02d30f42376
extra : source : 1aa20dad5c31bc1629516af77266266e1074fb26
2017-03-09 14:09:48 +01:00
Dan Minor 62b1eb1bac Bug 1305136 - Disable testAudioContext test in audioContextSuspendResumeClose.html on Linux; r=karlt
This also removes the extra logging I added in loadFile which did not end up
helping anything after all.

MozReview-Commit-ID: FZT5ZShhcG0

--HG--
extra : rebase_source : f5eca9ae169c99dabfbb02dd148b66524325d352
2017-03-03 13:48:45 -05:00
Dan Minor f3d81cd73f Bug 1305136 - Add additional status messages to loadFile function; r=padenot
It seems like adding these extra "todos" decreases the frequency of this
intermittent. I think it makes sense to land these temporarily while we look
for a root cause.

MozReview-Commit-ID: 4RiXtT3yBzG

--HG--
extra : rebase_source : fc107091d0a34943df3bf3ca579d978b97de877f
2017-02-22 10:59:47 -05:00
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 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
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
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
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
Andrea Marchesini 1605ddf333 Bug 1324181 - Better implementation of PeriodicWave constructor, r=padenot 2016-12-22 15:37:33 +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
Andrea Marchesini ad79ef8d0a Bug 1324352 - Implement BaseAudioContext, r=padenot 2016-12-20 20:20:41 +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
Andrea Marchesini ef0b4a0ce6 Bug 1322883 - AudioNode constructors - part 16 - MediaElementAudioSourceNode, r=padenot 2016-12-15 19:24:43 +01:00
Andrea Marchesini be2438d32b Bug 1322883 - AudioNode constructors - part 15 - AudioBuffer, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini 91ff6d8f42 Bug 1322883 - AudioNode constructors - part 13 - OscillatorNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini 28750547b1 Bug 1322883 - AudioNode constructors - part 12 - DynamicsCompressorNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini 5f7e08bcd8 Bug 1322883 - AudioNode constructors - part 11 - ChannelMergerNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini f36c0079c1 Bug 1322883 - AudioNode constructors - part 10 - ChannelSplitterNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini 0c863ebca2 Bug 1322883 - AudioNode constructors - part 9 - ConvolverNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini 892e3c83ca Bug 1322883 - AudioNode constructors - part 8 - StereoPannerNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini beb4c0043b Bug 1322883 - AudioNode constructors - part 7 - PannerNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini ba8652fc67 Bug 1322883 - AudioNode constructors - part 6 - WaveShaperNode, r=padenot 2016-12-15 19:24:42 +01:00
Andrea Marchesini 0432a35b02 Bug 1322883 - AudioNode constructors - part 3 - DelayNode, r=padenot 2016-12-15 19:24:41 +01:00
Andrea Marchesini 9c8c0e312f Bug 1322883 - AudioNode constructors - part 2 - GainNode, r=padenot 2016-12-15 19:24:41 +01:00
Andrea Marchesini c14a015895 Bug 1322883 - AudioNode constructors - part 1 - AudioBufferSourceNode, r=padenot 2016-12-15 19:24:41 +01:00
Andrea Marchesini a71db5b97f Bug 1322883 - AudioNode constructors - part 0 - AnalyserNode, r=padenot 2016-12-15 19:24:41 +01:00
Andrea Marchesini 3200b37b47 Bug 1322982 - DOMException should be passed as argument in DecodeErrorCallback, r=padenot 2016-12-13 07:00:15 +01:00
Andrea Marchesini 2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Sebastian Hengst 7110a88674 Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE 2016-11-17 20:58:38 +01:00
Andrea Marchesini cf2ad8072f Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01:00
Sebastian Hengst 8ee9323cd0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/media. r=RyanVM
MozReview-Commit-ID: JVsnpnBDeCC

--HG--
extra : rebase_source : 5a7ccee10b094808e3ee73de7a226306a9fd55fd
2016-11-05 11:29:16 +01:00
Dan Minor 98715f6438 Bug 1313058 - Fix SetValueCurveAtTime interpolation; r=padenot
This interpolates over aCurveLength - 1 steps rather than over
aCurveLength steps as was done before.

Previously we would reach the final value on the curve before
the end of the specified duration. For example, on the curve
[1.0, 0.0] with duration 1000, we would interpolate from 1.0 to
0.0 by time 500 rather than time 1000. With these changes, we
don't reach 0.0 until time 1000, as expected.

This also updates TestSpecExample in TestAudioEventTimeline.cpp
to match the curve in the latest spec.

MozReview-Commit-ID: Cgs8csbRUMh

--HG--
extra : rebase_source : 1960128558ae9174933cd5be3c1fbfcb79f5ba1d
2016-10-26 10:33:20 -04:00
Andreas Pehrson 75e0ffd718 Bug 1301675 - Test that a track from MediaStreamAudioDestinationNode can be stopped. r=padenot
MozReview-Commit-ID: 5wViWJQmI2H

--HG--
extra : rebase_source : 9792ea4240d830175e8abd3a1901e60bb332fcbd
2016-09-16 11:50:20 +02:00
Dan Minor 50b4412911 Bug 1265401 - Perform linear interpolation when computing the SetValueCurveAtTime events; r=padenot
MozReview-Commit-ID: IOiyq5a4P2A

--HG--
extra : rebase_source : b3d225348d6b8c9dd8b4b20eb11e8ec65413a52e
2016-10-24 13:07:32 -04:00
Dan Minor 4b0ae91ea2 Bug 1308427 - Allow a setTargetAtTime TimeConstant to be 0; r=padenot
MozReview-Commit-ID: 86YSuJDdks8

--HG--
extra : rebase_source : f7bcee3652446e21a7379371e424c5137c3d9391
2016-10-20 11:10:19 -04:00
Paul Adenot 1de5663f4b Bug 1291702 - Remove the aDestination parameter in DisconnectFromOutputIfConnected and IterateOnDestinationInputs. r=karlt
We do this by abstracting away getting the input for AudioNodes and AudioParams
with templates. This prevents removing the wrong connection when disconnecting
nodes with multiple inputs.

MozReview-Commit-ID: 3fzUKthRM1f
2016-10-20 14:34:27 +02:00
Paul Adenot f4851b4599 Bug 1130010 - Add tests for the new {AudioParam,AudioNode}.disconnect() methods. r=dminor
Initial patch by Thomas Escalon <tesc.bugzilla@gmail.com>.

MozReview-Commit-ID: 2cptcTYuzDQ
2016-07-18 18:53:24 +02:00
Dan Minor 397fdefcf6 Bug 957024 - Update PannerNode distance calculations to match the web audio spec; r=karlt
Distances less than refDistance should be treated as refDistance when calculating
the gain.

MozReview-Commit-ID: JASGb7jLp5L

--HG--
extra : rebase_source : 24e0207b7e6482000ec134bbde59ce448eee25f7
2016-08-16 11:07:12 -04:00