Ricky Stewart
02a7b4ebdf
Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bryce Seager van Dyk
3b9b491f8b
Bug 1669570 - Rename MediaController thread to MediaSupervisor. r=jya
...
This renames the thread and identifiers derived from the thread's name. This is
to avoid ambiguity over if the thread relates to the MediaController class,
which it does not.
Differential Revision: https://phabricator.services.mozilla.com/D93806
2020-10-26 15:13:37 +00:00
Bogdan Tara
da1098d4aa
Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
...
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Bogdan Tara
6cc4afce47
Backed out 5 changesets (bug 1346880) for browser_ProcessPriorityManager.js failures CLOSED TREE
...
Backed out changeset 5cf07d575830 (bug 1346880)
Backed out changeset 26d44e5e139d (bug 1346880)
Backed out changeset 0d4801868a6c (bug 1346880)
Backed out changeset 5feb52637f9f (bug 1346880)
Backed out changeset 086261148f93 (bug 1346880)
2020-10-24 01:29:42 +03:00
Ricky Stewart
c0cea3b0fa
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Sebastian Hengst
6bfb9413b5
Bug 1672869
- disable dom/media/webaudio/test/mochitest.ini for ThreadSanitizer because new task fails very frequently. DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D94646
2020-10-23 19:42:44 +00:00
Paul Adenot
bafd3c8468
Bug 1346880 - Test that a muted tab that plays audio via the Web Audio API is really muted using PulseAudio monitoring devices. r=pehrsons,alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D93653
2020-10-22 23:30:51 +00:00
alwu
61bc7c4fd3
Bug 1346880 - part2 : consider output volume for engine when it determines the audible state. r=padenot
...
Currently we didn't consider the engine's output volume when we determine the audible state for the destination node, doing that would help us to more correctly deide the actual audible state for users.
Differential Revision: https://phabricator.services.mozilla.com/D94182
2020-10-22 23:30:49 +00:00
Paul Adenot
d9dafde29f
Bug 1346880 - part1 : keep AudioChannelAgent alive all the time for not offline context. r=padenot
...
The main purposes of this patch is to
- changes the way the destination node holding the audio channel agent (holding the agent all the time)
That would help us
- earlier mute the destination node in order to prevent sound leaking
- request wakelock based on the actual audible state (considering more factors)
- improve the readability of handling audible state (the old way contains some weird workaround, eg. setting the node as audible in the beginning)
Differential Revision: https://phabricator.services.mozilla.com/D94181
2020-10-22 23:30:41 +00:00
Csoregi Natalia
61cc94a7f6
Backed out 5 changesets (bug 1346880) for failures on browser_ProcessPriorityManager.js. CLOSED TREE
...
Backed out changeset 17088afb6337 (bug 1346880)
Backed out changeset 21632db91729 (bug 1346880)
Backed out changeset 784fd3ab527d (bug 1346880)
Backed out changeset c5234d9f7e94 (bug 1346880)
Backed out changeset 60a7c181809b (bug 1346880)
2020-10-23 02:26:15 +03:00
Karl Tomlinson
11b7301934
Bug 1671538 return rejected promise from promise-returning methods when not fully active r=padenot
...
Depends on D94218
Differential Revision: https://phabricator.services.mozilla.com/D94219
2020-10-22 12:06:54 +00:00
alwu
f47bb106c3
Bug 1670841 - part3 : add a test to check tab's suspend state. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D93607
2020-10-20 13:21:17 +00:00
Paul Adenot
2e01d0a8fd
Bug 1346880 - Test that a muted tab that plays audio via the Web Audio API is really muted using PulseAudio monitoring devices. r=pehrsons,alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D93653
2020-10-20 20:44:45 +00:00
alwu
87a5ca1c3a
Bug 1346880 - part2 : consider output volume for engine when it determines the audible state. r=padenot
...
Currently we didn't consider the engine's output volume when we determine the audible state for the destination node, doing that would help us to more correctly deide the actual audible state for users.
Differential Revision: https://phabricator.services.mozilla.com/D94182
2020-10-22 12:26:51 +00:00
Paul Adenot
9f13a42a9f
Bug 1346880 - part1 : keep AudioChannelAgent alive all the time for not offline context. r=padenot
...
The main purposes of this patch is to
- changes the way the destination node holding the audio channel agent (holding the agent all the time)
That would help us
- earlier mute the destination node in order to prevent sound leaking
- request wakelock based on the actual audible state (considering more factors)
- improve the readability of handling audible state (the old way contains some weird workaround, eg. setting the node as audible in the beginning)
Differential Revision: https://phabricator.services.mozilla.com/D94181
2020-10-22 16:58:19 +00:00
Dorel Luca
1ff59cb7a3
Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE
2020-10-22 03:51:06 +03:00
Ricky Stewart
50762dacab
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Jean-Yves Avenard
f86cc19337
Bug 1595994 - P20. Skip empty audio packet. r=padenot
...
Following bug 1566389, an AudioBuffer can be created only to be then truncated if we need to trim it back to a size of 0.
When the resulting AudioBuffer is transferred over IPC it will be rebuilt, and be null then making EnsureAudioBuffer fail.
Depends on D92345
Differential Revision: https://phabricator.services.mozilla.com/D92714
2020-10-20 23:30:34 +00:00
smolnar
eba1c00fcf
Backed out 2 changesets (bug 1346880) for causing audio failures. CLOSED TREE
...
Backed out changeset 7c0018c583b5 (bug 1346880)
Backed out changeset 4e7a614b30f8 (bug 1346880)
2020-10-19 13:07:51 +03:00
Paul Adenot
307c6e1733
Bug 1346880 - Test that a muted tab that plays audio via the Web Audio API is really muted using PulseAudio monitoring devices. r=pehrsons,alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D93653
2020-10-19 08:45:04 +00:00
Paul Adenot
fb3387d796
Bug 1346880 - Always initialize an AudioChannelAgent when initializing an AudioContext. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D92644
2020-10-19 08:45:04 +00:00
Paul Adenot
c8239595d2
Bug 1566389 - Test that various mp3 files have exactly the correct duration. r=jya
...
Depends on D91773
Differential Revision: https://phabricator.services.mozilla.com/D91774
2020-10-05 15:43:50 +00:00
Noemi Erli
d5e42c4c4e
Backed out 7 changesets (bug 1566389) for causing bustages in FFmpegAudioDecoder.cpp
...
Backed out changeset 748e0d854d86 (bug 1566389)
Backed out changeset dd68ca2ed329 (bug 1566389)
Backed out changeset 820744dbc7d1 (bug 1566389)
Backed out changeset 89378e240d00 (bug 1566389)
Backed out changeset 6d36dae2ca8f (bug 1566389)
Backed out changeset ec4e0024ab8d (bug 1566389)
Backed out changeset 0fe64b836e24 (bug 1566389)
2020-10-05 18:23:37 +03:00
Paul Adenot
efda27b066
Bug 1566389 - Test that various mp3 files have exactly the correct duration. r=jya
...
Depends on D91773
Differential Revision: https://phabricator.services.mozilla.com/D91774
2020-10-05 13:12:35 +00:00
Michael Froman
98d5678d09
Bug 1665713 - pt1 - move dom/media/tests/mochitest to dom/media/webrtc/tests/mochitests. r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D90614
2020-10-02 16:30:58 +00:00
Butkovits Atila
4f41db1dfa
Backed out 7 changesets (bug 1566389) for bustage at FFmpegAudioDecoder.cpp. CLOSED TREE
...
Backed out changeset 116644341a76 (bug 1566389)
Backed out changeset a3bedd49288d (bug 1566389)
Backed out changeset 8db398c91c5a (bug 1566389)
Backed out changeset 498a7c9cbc5f (bug 1566389)
Backed out changeset 19a04bdb5344 (bug 1566389)
Backed out changeset 8390ea4677a1 (bug 1566389)
Backed out changeset 085b748cfbaf (bug 1566389)
2020-10-01 22:43:04 +03:00
Paul Adenot
c019efba43
Bug 1566389 - Test that various mp3 files have exactly the correct duration. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D91774
2020-10-01 13:58:18 +00:00
Razvan Maries
887634a649
Backed out 3 changesets (bug 1665713) for perma failures on test_peerConnection_capturedVideo.html. CLOSED TREE
...
Backed out changeset 296d5facd7bd (bug 1665713)
Backed out changeset 770d63754715 (bug 1665713)
Backed out changeset 433d8f92b482 (bug 1665713)
2020-09-25 02:58:57 +03:00
Michael Froman
8bece4651b
Bug 1665713 - pt1 - move dom/media/tests/mochitest to dom/media/webrtc/tests/mochitests. r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D90614
2020-09-24 21:10:07 +00:00
Razvan Maries
717d9a23ba
Backed out 2 changesets (bug 1665713) for Lint failure on NetworkPreparationChromeScript.js. CLOSED TREE
...
Backed out changeset e926364f5d4f (bug 1665713)
Backed out changeset ad03f6f54321 (bug 1665713)
2020-09-24 22:59:53 +03:00
Michael Froman
a1fe394b53
Bug 1665713 - pt1 - move dom/media/tests/mochitest to dom/media/webrtc/tests/mochitests. r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D90614
2020-09-24 19:12:30 +00:00
Paul Adenot
a90b35f858
Bug 1666490 - Fix channelCount of AnalyserNode. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D91008
2020-09-23 16:58:52 +00:00
Narcis Beleuzu
7cf295e2e9
Backed out changeset 4574fadace05 (bug 1666490) for mda failure on test_analyserNode.html . CLOSED TREE
2020-09-23 19:36:36 +03:00
Simon Giesecke
de7bab0f06
Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Paul Adenot
4683820c98
Bug 1666490 - Fix channelCount of AnalyserNode. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D91008
2020-09-22 16:11:59 +00:00
Paul Adenot
a2a4d98d3b
Bug 1659244 - Fix two static analysis warnings in AudioDestinationNode.cpp. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D90447
2020-09-23 11:47:05 +00:00
Daniel Le
2ef2841669
Bug 1659244 - Drop the audio wakelock when the AudioDestinationNode is notified that it is not audible. r=pehrsons,alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D90434
2020-09-23 11:46:59 +00:00
Paul Adenot
7efebc769e
Bug 1659244 - Use the AudibilityMonitor in AudioDestinationNode. r=pehrsons,alwu
...
In particular, this removes the code that was limiting the audibility
notifications spam, because this is handled by the AudibilityMonitor.
Differential Revision: https://phabricator.services.mozilla.com/D90433
2020-09-23 11:46:56 +00:00
Paul Adenot
718b5288e8
Bug 1659244 - Remove audibility code from AudioSegment and AudioBlock. r=pehrsons
...
Same rationale as for AudioData, the audibility is best computed externally.
Differential Revision: https://phabricator.services.mozilla.com/D90432
2020-09-23 11:46:54 +00:00
Razvan Maries
655ae40b05
Backed out 7 changesets (bug 1659244) for DestinationNodeEngine related crashes. CLOSED TREE
...
Backed out changeset 50d7aabc075e (bug 1659244)
Backed out changeset da3af45b9195 (bug 1659244)
Backed out changeset 9e748be643e7 (bug 1659244)
Backed out changeset 47a5552dece7 (bug 1659244)
Backed out changeset 9c362f616f93 (bug 1659244)
Backed out changeset 4f1c72021ec9 (bug 1659244)
Backed out changeset 90f3b8edbd8b (bug 1659244)
2020-09-22 18:54:47 +03:00
Paul Adenot
97350e1d07
Bug 1659244 - Fix two static analysis warnings in AudioDestinationNode.cpp. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D90447
2020-09-21 17:41:50 +00:00
Daniel Le
781fef9c92
Bug 1659244 - Drop the audio wakelock when the AudioDestinationNode is notified that it is not audible. r=pehrsons,alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D90434
2020-09-21 17:41:26 +00:00
Paul Adenot
f7b99a5399
Bug 1659244 - Use the AudibilityMonitor in AudioDestinationNode. r=pehrsons,alwu
...
In particular, this removes the code that was limiting the audibility
notifications spam, because this is handled by the AudibilityMonitor.
Differential Revision: https://phabricator.services.mozilla.com/D90433
2020-09-21 17:41:12 +00:00
Paul Adenot
9fcb6a67ad
Bug 1659244 - Remove audibility code from AudioSegment and AudioBlock. r=pehrsons
...
Same rationale as for AudioData, the audibility is best computed externally.
Differential Revision: https://phabricator.services.mozilla.com/D90432
2020-09-21 17:40:58 +00:00
Karl Tomlinson
8b05beadc1
Bug 1646601 throw InvalidStateError on (Offline)AudioContext construction when not fully active r=padenot
...
https://github.com/WebAudio/web-audio-api/pull/1425/files#diff-eacf331f0ffc35d4b482f1d15a887d3bR2245
Differential Revision: https://phabricator.services.mozilla.com/D84302
2020-09-15 22:13:22 +00:00
Corentin Arnould
5ebce138c9
Bug 1614009 - Updated mochitest. r=padenot
...
Depends on D84321
Differential Revision: https://phabricator.services.mozilla.com/D84322
2020-09-01 15:09:57 +00:00
Corentin Arnould
27494fab83
Bug 1614009 - Removed non-spec exception throwing on CopyToChannel. r=padenot,webidl,smaug
...
Also removed those in CopyFromChannel and changed parameters' name to fit the spec.
Differential Revision: https://phabricator.services.mozilla.com/D84321
2020-09-01 15:09:47 +00:00
Bogdan Tara
bce6a28762
Backed out 2 changesets (bug 1614009) for webaudio related bustage CLOSED TREE
...
Backed out changeset e05106d5d786 (bug 1614009)
Backed out changeset c3832cde86d2 (bug 1614009)
2020-09-01 17:40:17 +03:00
Corentin Arnould
cefe440352
Bug 1614009 - Updated mochitest. r=padenot
...
Depends on D84321
Differential Revision: https://phabricator.services.mozilla.com/D84322
2020-07-31 14:21:43 +00:00
Corentin Arnould
199e56325a
Bug 1614009 - Removed non-spec exception throwing on CopyToChannel. r=padenot,webidl,smaug
...
Also removed those in CopyFromChannel and changed parameters' name to fit the spec.
Differential Revision: https://phabricator.services.mozilla.com/D84321
2020-09-01 13:37:12 +00:00
Jan-Ivar Bruaroey
c27b3d3a89
Bug 1652884 - Rename MediaTrack::SetEnabled to SetDisabledTrackMode. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D86070
2020-08-19 22:18:04 +00:00
Bogdan Tara
30eb420e4a
Backed out 14 changesets (bug 1652884) for test_peerConnection_trackDisabling.html failures CLOSED TREE
...
Backed out changeset f83951453e94 (bug 1652884)
Backed out changeset fc697986d538 (bug 1652884)
Backed out changeset 20a10128b5e1 (bug 1652884)
Backed out changeset c99c32323c76 (bug 1652884)
Backed out changeset 991e8975f03d (bug 1652884)
Backed out changeset 9e9511e32cdd (bug 1652884)
Backed out changeset 605c1ac3081a (bug 1652884)
Backed out changeset dd6edf636659 (bug 1652884)
Backed out changeset 74a2f5a9eea2 (bug 1652884)
Backed out changeset b9f419aed12d (bug 1652884)
Backed out changeset 84e82e25929f (bug 1652884)
Backed out changeset 876dbad27af5 (bug 1652884)
Backed out changeset 8f60e3af2a19 (bug 1652884)
Backed out changeset de7537bda499 (bug 1652884)
2020-08-20 01:13:29 +03:00
Jan-Ivar Bruaroey
9aec15aa0d
Bug 1652884 - Rename MediaTrack::SetEnabled to SetDisabledTrackMode. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D86070
2020-08-19 19:30:50 +00:00
Bogdan Tara
fd6c09249f
Backed out 14 changesets (bug 1652884) for VideoFrameConverter related failures CLOSED TREE
...
Backed out changeset 28c4e8c373f0 (bug 1652884)
Backed out changeset 658ba8f39abe (bug 1652884)
Backed out changeset 8e67fe040e4a (bug 1652884)
Backed out changeset 6f5833203763 (bug 1652884)
Backed out changeset 569ff85dfc2e (bug 1652884)
Backed out changeset eaa171643447 (bug 1652884)
Backed out changeset 6b37b60b6662 (bug 1652884)
Backed out changeset 438cce7456fb (bug 1652884)
Backed out changeset e6ed13952b67 (bug 1652884)
Backed out changeset e0b1266231bf (bug 1652884)
Backed out changeset 32f4aae2b5fe (bug 1652884)
Backed out changeset 76b4abccd61b (bug 1652884)
Backed out changeset 9010365ffa66 (bug 1652884)
Backed out changeset 763f39eb5c13 (bug 1652884)
2020-08-19 22:21:31 +03:00
Jan-Ivar Bruaroey
f5e002a857
Bug 1652884 - Rename MediaTrack::SetEnabled to SetDisabledTrackMode. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D86070
2020-08-19 14:03:32 +00:00
Karl Tomlinson
856bfb0426
Bug 1659201 create AudioParamMap on demand for AudioWorkletNode#parameters r=pehrsons
...
When constructing a JS object derived from AudioWorkletNode, the reflector
should be created using the prototype for the derived class.
https://searchfox.org/mozilla-central/rev/2f9eacd9d3d995c937b4251a5557d95d494c9be1/dom/bindings/BindingUtils.h#3078-3081
The reflector is typically created with the correct prototype after
AudioWorkletNode::Constructor() returns.
AudioParamMap_Binding::MaplikeHelpers::Set() calls GetOrCreateDOMReflector()
to get the JS reflector for the AudioParamMap, which obtains the associated
global from the reflector on the AudioWorkletNode parent.
https://searchfox.org/mozilla-central/rev/a315a1a0f09550e23e4590a77e74f36543315da3/dom/bindings/BindingUtils.h#1591-1599
While this was done during the AudioWorkletNode::Constructor(), the
AudioWorkletNode reflector did not yet exist and so was created on-demand
without an explicit prototype, which resulted in the base class prototype
being used incorrectly.
https://searchfox.org/mozilla-central/rev/a315a1a0f09550e23e4590a77e74f36543315da3/dom/bindings/BindingUtils.h#1550
Delaying set-up of the AudioParamMap provides that the AudioWorkletNode
construction is complete and has a correct reflector before AudioParamMap
usage attempts to get the parent reflector.
Differential Revision: https://phabricator.services.mozilla.com/D87554
2020-08-19 08:27:01 +00:00
Karl Tomlinson
cf2e7cf2f1
Bug 1659201 move CreateAudioParam() outparam to return value r=pehrsons
...
AudioWorkletNode will soon not need the return value.
Differential Revision: https://phabricator.services.mozilla.com/D87553
2020-08-19 08:20:36 +00:00
Karl Tomlinson
2043b8623a
Bug 1659201 store AudioParam names as nsString r=pehrsons
...
so as to clarify pointer safety and to take advantage of nsString shared
buffer optimizations.
Differential Revision: https://phabricator.services.mozilla.com/D87552
2020-08-19 08:16:39 +00:00
Jean-Yves Avenard
5be22726b0
Bug 1650696 - P4. Remove the expectation for a MediaDataDecoder to work on a specified TaskQueue. r=jolin
...
It will now be up to the caller to determine where the decoder is going to run. This allows to simplify the audio decoders so that they can run synchronously and be wrapped in a Wasm sandbox (which doesn't support multi-threading)
The structure guarantees that all MediaDataDecoder methods are called on the same thread it's been initialised.
To achieve this, wherever a MediaDataDecoder was created, we wrap it in a MediaDataDecoderProxy that ensures that all methods are running on the given thread.
We keep the behaviour of all methods in all MediaDataDecoder to assert that they are running on the expected thread for diagnostic purposes. It could go in the future.
Video decoders that could block excessingly the thread on which they are called are made to run on their own task queue.
The Apple decoder is mostly entirely asynchronous, with the exception of the drain method which could block.
We exclude the android and omx decoders are the framework they use is 100% asynchronous and already operate on another thread.
Differential Revision: https://phabricator.services.mozilla.com/D86929
2020-08-17 23:52:21 +00:00
Simon Giesecke
1e02318b49
Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D83817
2020-08-07 07:49:47 +00:00
Karl Tomlinson
5195905845
Bug 1634200 don't create a new global when the Worklet is finished r=padenot
...
When the worklet has already received the notification to shut down, there
will be no further notfication to release another global.
Differential Revision: https://phabricator.services.mozilla.com/D85975
2020-08-06 01:06:03 +00:00
Karl Tomlinson
c3dd745324
Bug 1655544 use associated AudioWorkletNode for AudioParamMap parent object r=padenot
...
so that the AudioParamMap has the same associated global as its node.
Differential Revision: https://phabricator.services.mozilla.com/D85963
2020-08-05 14:35:33 +00:00
Simon Giesecke
96f3e7e019
Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-04 11:27:07 +00:00
Noemi Erli
381fca9783
Backed out 4 changesets (bug 1654992, bug 1654991) for causing timeous in mask-opacity-1e.html
...
Backed out changeset 11f0f54c6e0a (bug 1654992)
Backed out changeset a353dd5b3f08 (bug 1654991)
Backed out changeset 6a7964ba549f (bug 1654991)
Backed out changeset cf3bfb91d98c (bug 1654991)
2020-08-03 22:09:36 +03:00
Simon Giesecke
032d2ac9d3
Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-03 14:54:18 +00:00
Jean-Yves Avenard
749a1d0d03
Bug 1653638 - P3. Remove no longer necessary workaround. r=mjf,karlt
...
C++17 guarantees that "In a function-call expression, the expression that names the function is sequenced before every argument expression and every default argument."
The order of operations in the expression s now guaranteed, we can remove the comment and the workaround.
Differential Revision: https://phabricator.services.mozilla.com/D85676
2020-08-03 08:01:12 +00:00
Jean-Yves Avenard
f181df10f9
Bug 1653638 - P2. Use a Controller TaskQueue for running webaudio tasks. r=mjf
...
We can't create a media decoder on a decoder taskqueue, as this could lead to deadlocks should a decoder attempt to dispatch a synchronous runnable.
Differential Revision: https://phabricator.services.mozilla.com/D85544
2020-08-03 08:01:09 +00:00
Sylvestre Ledru
843f943758
Bug 1519636 - Reformat recent changes to the Google coding style r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D85678
2020-08-02 15:29:15 +00:00
Paul Adenot
eae12679e7
Bug 1656063 - Only load function pointer in FFTBlock once. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D85389
2020-07-31 12:29:01 +00:00
Paul Adenot
d76eb1b1ab
Bug 1656067 - r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D85390
2020-07-31 12:24:32 +00:00
Jeff Walden
e8f3f74ef6
Bug 1656411
- Move typed array, ArrayBuffer, and dataview-related functions out of jsfriendapi.h to two new headers. r=mgaudet,jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D85524
2020-07-31 16:37:27 +00:00
Paul Adenot
f9ba0d14a5
Bug 1614036 - Remove more error handling code that is now useless, on a CLOSED TREE.
...
Differential Revision: https://phabricator.services.mozilla.com/D85596
2020-07-31 14:52:57 +00:00
Coroiu Cristina
f0445806f4
Backed out 2 changesets (bug 1614009) for build bustage at dom/media/webaudio/AudioBuffer.cpp on a CLOSED TREE
...
Backed out changeset 2bd694126445 (bug 1614009)
Backed out changeset 7c315d9e2030 (bug 1614009)
2020-07-31 17:15:14 +03:00
Corentin Arnould
906d086baa
Bug 1614036 - Added mochitest. r=padenot
...
Added file that returns InvalidContent when decoded.
Differential Revision: https://phabricator.services.mozilla.com/D84490
2020-07-31 13:41:55 +00:00
Corentin Arnould
5b671914ae
Bug 1614036 - Removed console logging and set unlocalized messages r=padenot
...
Changed error message to unlocalized in the callback and in the promise rejection in case an error occurs in audio decoding.
Also deleted localized strings and NoAudio bacause it is not used.
Differential Revision: https://phabricator.services.mozilla.com/D81337
2020-07-30 16:29:08 +00:00
Paul Adenot
8494449709
Bug 1655518 - Make two bool in ReverbConvolver atomic. r=karlt
...
The code structure is strange. This will be enough to make this safe without
fear of changing the behaviour.
Differential Revision: https://phabricator.services.mozilla.com/D85149
2020-07-29 00:05:26 +00:00
Corentin Arnould
a5f9f4b9ce
Bug 1613833 - Updated mochitest. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D84666
2020-07-31 13:36:53 +00:00
Corentin Arnould
00a172df05
Bug 1613833 - Changed length condition to suit the spec. r=padenot
...
Throws are now centralized too.
Differential Revision: https://phabricator.services.mozilla.com/D84665
2020-07-30 16:01:40 +00:00
Corentin Arnould
8cd9d82f7e
Bug 1614009 - Updated mochitest. r=padenot
...
Depends on D84321
Differential Revision: https://phabricator.services.mozilla.com/D84322
2020-07-28 11:45:02 +00:00
Corentin Arnould
23c463b2b7
Bug 1614009 - Removed non-spec exception throwing on CopyToChannel. r=padenot,webidl,smaug
...
Also removed those in CopyFromChannel and changed parameters' name to fit the spec.
Differential Revision: https://phabricator.services.mozilla.com/D84321
2020-07-30 23:27:36 +00:00
Corentin Arnould
31ab26890e
Bug 1614019 - Added mochitest for negative sample rate. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D83925
2020-07-30 15:54:55 +00:00
Corentin Arnould
23717c88b4
Bug 1614019 - Removed negative value from the valid range r=padenot,webidl,smaug
...
The condition in the if is changed because the minus operation could overflow.
The declaration of sampleRate has been moved to its next use because its first value was never used.
Differential Revision: https://phabricator.services.mozilla.com/D81550
2020-07-30 23:28:34 +00:00
Emilio Cobos Álvarez
ff61891772
Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp
...
Having two classes in the inheritance chain inherit from SupportsWeakPtr
now won't compile, but you can use WeakPtr<Derived> when any base class
inherits from SupportsWeakPtr.
Differential Revision: https://phabricator.services.mozilla.com/D83674
2020-07-23 14:51:46 +00:00
Razvan Maries
b34b73644f
Bug 1650930 - Disabled test_bug1027864.html. r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D82880
2020-07-09 11:49:32 +00:00
Dan Minor
d8e1e4a499
Bug 1650945
- Fix error message in IIRFilterNode::Create; r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D82716
2020-07-08 14:05:33 +00:00
Paul Adenot
bea4d42fdf
Bug 1646743 - Don't attempt to get the output latency from the graph after and AudioContext has been shutdown. r=karlt
...
Depends on D80696
Differential Revision: https://phabricator.services.mozilla.com/D80836
2020-06-29 10:37:14 +00:00
Corentin Arnould
a4fc56119e
Bug 1650030 - Revert changes for bug 1618225. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D82197
2020-07-03 14:27:59 +00:00
Simon Giesecke
cd8b8939b9
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Karl Tomlinson
a235906df6
Bug 1647750 error out when AudioWorkletProcessor#process() detaches output Float32Array r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D80804
2020-06-25 02:09:39 +00:00
Karl Tomlinson
7fd5763b3a
Bug 1647750 use MakeScopeExit() to avoid repetition of error paths r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D80803
2020-06-24 09:29:38 +00:00
Corentin Arnould
76419cd0d4
Bug 1618225 - Added wpt test for loop with duration r=padenot
...
Silenced the mochitest
Differential Revision: https://phabricator.services.mozilla.com/D79875
2020-06-24 12:00:18 +00:00
Corentin Arnould
2ef567c825
Bug 1618225 - Updated mochitest for loop with duration r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D79874
2020-06-24 12:00:11 +00:00
Corentin Arnould
d3cc80aa8c
Bug 1618225 - Set stop time when using loop with duration. r=padenot
...
The AudioBufferSourceNode can now be looping and stop after duration.
Differential Revision: https://phabricator.services.mozilla.com/D79873
2020-06-24 11:59:53 +00:00
Jean-Yves Avenard
87438519f0
Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj
...
Before P1, GetCurrentThreadSerialEventTarget would have always returned the same data as NS_GetCurrentThread, making the comment incorrect Now it will properly return the running TaskQueue if any.
This change of name more clearly exposes what they are doing, as we aren't always dealing with threads directly; but a nsISerialEventTarget
Differential Revision: https://phabricator.services.mozilla.com/D80354
2020-06-23 05:05:36 +00:00
Corentin Arnould
5d8eb750cd
Bug 1615130 - Fix uninitialized data. r=padenot
...
Values are set to 0 by default rather than uninitialized. It is useful when JSContext is null.
Differential Revision: https://phabricator.services.mozilla.com/D79986
2020-06-22 10:21:40 +00:00
Karl Tomlinson
209a34c2b7
Bug 1642849 shut down MediaTrackGraph from AudioContext when window will be destroyed r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D74814
2020-06-12 03:53:34 +00:00
Karl Tomlinson
f426576017
Bug 1644647 reject promises for Close AudioContextOperations run after forced graph shutdown r=padenot
...
and re-enable OnStateChanged() transition assertions.
Rejecting the promise avoids having AudioContextOperation promises resolve out
of order when AudioContextOperationControlMessage::RunDuringShutdown()
resolves a Close operation shortly after Run() for a previous operation has
queued its update via mUpdateRunnables. mUpdateRunnables are run after
controlMessagesToRunDuringShutdown.
https://searchfox.org/mozilla-central/rev/ea7f70dac1c5fd18400f6d2a92679777d4b21492/dom/media/MediaTrackGraph.cpp#1793,1803
AudioContext::Shutdown() takes care of rejecting JS Promises when the window
is being destroyed.
Differential Revision: https://phabricator.services.mozilla.com/D79055
2020-06-12 02:38:35 +00:00
Karl Tomlinson
632dfeb6cc
Bug 1638243 reject promises for Resume AudioContextOperations that have not run by graph shutdown r=padenot
...
The promises are rejected before shutting down threads so that they don't need
to wait for nested event loops to exit.
Differential Revision: https://phabricator.services.mozilla.com/D76807
2020-06-12 01:12:56 +00:00
Karl Tomlinson
9f36b6849d
Bug 1644647 use AudioContextOperation::Resume to start realtime AudioNodeTracks r=padenot
...
This provides that a new track does not start processing before existing
tracks in the AudioContext, which may not be resumed until an
AudioCallbackDriver is running.
Depends on D79048
Differential Revision: https://phabricator.services.mozilla.com/D79049
2020-06-12 00:50:34 +00:00
Karl Tomlinson
8ebfa90f03
Bug 1644647 use the same mechanism for the first suspended->running transition as for others r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D79048
2020-06-11 08:51:17 +00:00
Karl Tomlinson
32c6cac7db
Bug 1644647 - Bug 1285290 use strong pointers for tracks in ApplyAudioContextOperation() r=padenot
...
This will be helpful when delaying resumption of tracks until there is an AudioCallbackDriver.
The memory for the array is also transferred to the callee to save an allocation.
Differential Revision: https://phabricator.services.mozilla.com/D76801
2020-06-12 01:02:18 +00:00
Simon Giesecke
82dc9b2271
Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D78027
2020-06-10 10:46:14 +00:00
Butkovits Atila
e3dce68834
Backed out 3 changesets (bug 1643289, bug 1642949) for causing failure at test_headless_screenshot.html. CLOSED TREE
...
Backed out changeset 98c420f73380 (bug 1643289)
Backed out changeset 9447ea8910aa (bug 1643289)
Backed out changeset 0c827da9d847 (bug 1642949)
2020-06-10 10:07:23 +03:00
Simon Giesecke
d419f0ff08
Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D78027
2020-06-10 05:49:28 +00:00
Simon Giesecke
ca2d0aaa68
Bug 1644403 - Fix inconsistent uses of CopyableAutoTArray and Clone. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D78893
2020-06-09 14:27:20 +00:00
Simon Giesecke
ebbc7ae838
Bug 1642989 - Use RemoveLastElements instead of RemoveElementsAt where possible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D78049
2020-06-08 08:50:15 +00:00
Karl Tomlinson
4e78ffdefb
Bug 1641161 - Bug 1285290 alias move() to std::move() in MediaTrackGraph.cpp and AudioContext.cpp r=padenot
...
Depends on D76799
Differential Revision: https://phabricator.services.mozilla.com/D76800
2020-05-27 08:36:18 +00:00
Karl Tomlinson
cd4aaf8433
Bug 1641161 - Bug 1285290 don't add destroyed tracks to graph from Increment/DecrementSuspendCount r=padenot
...
Tracks remove themselves from the graph after DestroyImpl() and so should not
be added again after this.
These methods are now invoked only on the MediaTrack removing the possibility
of calling the wrong method.
Depends on D76797
Differential Revision: https://phabricator.services.mozilla.com/D76798
2020-05-27 08:34:13 +00:00
Masatoshi Kimura
9c7a29b17e
Bug 1531851 - Make WebAudio GC tests more reliable. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D76590
2020-05-25 18:04:58 +00:00
Paul Adenot
781a32b68c
Bug 1607781 - Consistently use a fixed sample-rate when resisting fingerprinting. r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D75937
2020-05-19 12:50:30 +00:00
Karl Tomlinson
dc85ea650c
Bug 1625372 permit ForceShutDown() on a realtime graph r=padenot
...
Depends on D74812
Differential Revision: https://phabricator.services.mozilla.com/D74813
2020-05-15 08:22:31 +00:00
Karl Tomlinson
e8ab6c7193
Bug 1625372 remove unnecessary DestroyNonRealtimeInstance() call from AudioDestinationNode::DestroyMediaTrack() r=padenot
...
DestroyMediaTrack() is called only on Unlink or destruction of the AudioDestinationNode.
If there are no references to the AudioDestinationNode, then the graph's last stream
will be destroyed and the graph will shut down itself.
Differential Revision: https://phabricator.services.mozilla.com/D74812
2020-05-13 10:13:19 +00:00
Karl Tomlinson
0a1151e126
Bug 1625372 request interrupt of AudioWorklet JS on force shutdown r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D71915
2020-05-15 08:24:06 +00:00
alwu
3581879481
Bug 1509933 - part3 : use the new pref in tests. r=padenot
...
This patch will do :
- replace the old pref with the new pref
The advantage of doing so :
- to ensure those tests can still use the correct blocking autoplay policy
Differential Revision: https://phabricator.services.mozilla.com/D73973
2020-05-15 02:51:18 +00:00
Dorel Luca
68c900462b
Backed out 3 changesets (bug 1509933) for Linting failure in gecko/mobile/android/app/mobile.js. CLOSED TREE
...
Backed out changeset c15ecdcd5d13 (bug 1509933)
Backed out changeset 951ea1d0f42a (bug 1509933)
Backed out changeset 3abb24d6dfc9 (bug 1509933)
2020-05-15 05:02:07 +03:00
alwu
1c6be41aa9
Bug 1509933 - part3 : use the new pref in tests. r=padenot
...
This patch will do :
- replace the old pref with the new pref
The advantage of doing so :
- to ensure those tests can still use the correct blocking autoplay policy
Differential Revision: https://phabricator.services.mozilla.com/D73973
2020-05-07 13:05:22 +00:00
Karl Tomlinson
62c2076a1b
Bug 1637159 remove now-unused public DOMEventTargetHelper::BindToOwner() rebind methods r=smaug
...
The virtual is no longer required since
https://hg.mozilla.org/mozilla-central/rev/a01586b62cf5#l1.92
Differential Revision: https://phabricator.services.mozilla.com/D75042
2020-05-14 05:29:49 +00:00
Philip Chimento
f93330de3e
Bug 1629293 - Expose js::ErrorReport in public API. r=evilpie
...
Renames it to JS::ErrorReportBuilder, since it is used to 'build' a
JSErrorReport object.
Differential Revision: https://phabricator.services.mozilla.com/D73521
2020-05-14 04:44:15 +00:00
Narcis Beleuzu
a12e8bbd08
Backed out 5 changesets (bug 1505129, bug 1506323, bug 1629293) for bustages on testPrintError.cpp . CLOSED TREE
...
Backed out changeset ad1ccad76686 (bug 1629293)
Backed out changeset 452e9ab721bd (bug 1629293)
Backed out changeset 72a63e290177 (bug 1629293)
Backed out changeset faeed99f813e (bug 1505129)
Backed out changeset 7bd84a644d2b (bug 1506323)
2020-05-13 21:23:59 +03:00
Philip Chimento
5606c63575
Bug 1629293 - Expose js::ErrorReport in public API. r=evilpie
...
Renames it to JS::ErrorReportBuilder, since it is used to 'build' a
JSErrorReport object.
Differential Revision: https://phabricator.services.mozilla.com/D73521
2020-05-13 16:10:39 +00:00
Csoregi Natalia
0da2867bf2
Backed out 5 changesets (bug 1625372) for assertion failures on GraphDriver.cpp. CLOSED TREE
...
Backed out changeset b9feee4f447c (bug 1625372)
Backed out changeset d86f066bd68b (bug 1625372)
Backed out changeset 7a38398623f8 (bug 1625372)
Backed out changeset 6e9928fb37d1 (bug 1625372)
Backed out changeset ca93e9921c05 (bug 1625372)
2020-05-13 13:09:22 +03:00
Karl Tomlinson
ef208899b1
Bug 1625372 shut down MediaTrackGraph from AudioContext when window will be destroyed r=padenot
...
Depends on D74813
Differential Revision: https://phabricator.services.mozilla.com/D74814
2020-05-12 08:44:46 +00:00
Karl Tomlinson
989d1fc6db
Bug 1625372 permit ForceShutDown() on a realtime graph r=padenot
...
Depends on D74812
Differential Revision: https://phabricator.services.mozilla.com/D74813
2020-05-12 08:43:11 +00:00
Karl Tomlinson
3e139c32e0
Bug 1625372 remove unnecessary DestroyNonRealtimeInstance() call from AudioDestinationNode::DestroyMediaTrack() r=padenot
...
DestroyMediaTrack() is called only on Unlink or destruction of the AudioDestinationNode.
If there are no references to the AudioDestinationNode, then the graph's last stream
will be destroyed and the graph will shut down itself.
Differential Revision: https://phabricator.services.mozilla.com/D74812
2020-05-12 08:42:38 +00:00
Karl Tomlinson
53bf89e445
Bug 1625372 request interrupt of AudioWorklet JS on force shutdown r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D71915
2020-05-12 07:10:51 +00:00
Hiroyuki Ikezoe
34c6fd1e8c
Bug 1636838 - Undef CurrentTime and define X11CurrentTime instead. r=boris
...
Differential Revision: https://phabricator.services.mozilla.com/D74585
2020-05-11 19:34:02 +00:00
Benoît Chauvet
1854f52b7c
Bug 1626753 - WaveShaperNode.cpp : removed else after return. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D74741
2020-05-11 21:17:24 +00:00
Simon Giesecke
f7f5462a4b
Bug 1626570 - Improve handling of copying arrays in dom/media/. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D73627
2020-05-05 11:38:10 +00:00
Paul Adenot
052b46021c
Bug 1633747 - Flush NaNs to zeros before handing back the audio output buffer to the OS. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D72927
2020-05-01 23:57:30 +00:00
Tom Tung
684a5d3947
Bug 1624266 - Use IsSharedMemoryAllowed to decide whether should the CTOR SharedArrayBuffer be defined for Worklets; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D71536
2020-05-01 11:36:08 +00:00
Paul Adenot
3f634118d6
Bug 1634098 - Fix a few clang-tidy warnings in AudioNodeEngine.cpp and vector sibling files. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D73087
2020-04-29 22:39:15 +00:00
Chris Peterson
d8873bd7de
Bug 1594529 - Replace MOZ_MUST_USE with [[nodiscard]] in dom/media/webaudio. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D72565
2020-04-27 11:46:32 +00:00
Sylvestre Ledru
34acbb653a
Bug 1619165 - Reformat recent changes to the Google coding style r=andi
...
First reformat with clang-format 10
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D68802
2020-04-25 09:40:08 +00:00
Paul Adenot
68f59c15f7
Bug 1626382 - r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D72144
2020-04-24 01:57:47 +00:00
Paul Adenot
bbddb266a3
Bug 1611622 - Add a decode test for an OGG Vorbis file with a nil packet at EOS. r=bryce
...
The test file was created using VLC, that has a muxer that does this.
Differential Revision: https://phabricator.services.mozilla.com/D71351
2020-04-21 09:30:57 +00:00
Paul Adenot
2ff258c252
Bug 1611622 - Allow testing for a decode success without checking the file. r=bryce
...
Useful to test the demuxer in the web audio case.
Differential Revision: https://phabricator.services.mozilla.com/D71350
2020-04-21 09:30:40 +00:00
Paul Adenot
22429adf2a
Bug 1611622 - Add some logging to MediaBufferDecoder.cpp. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D70894
2020-04-21 09:30:00 +00:00
Noemi Erli
0e5b704353
Backed out 5 changesets (bug 1611622) for causing failures in test_mediaDecoding.html CLOSED TREE
...
Backed out changeset f4a83f3ac965 (bug 1611622)
Backed out changeset 87254fc7b777 (bug 1611622)
Backed out changeset 1177ae3a0ef3 (bug 1611622)
Backed out changeset daf821043996 (bug 1611622)
Backed out changeset adab60e7e9c5 (bug 1611622)
2020-04-20 22:50:35 +03:00
Paul Adenot
ea156f7bf4
Bug 1611622 - Add a decode test for an OGG Vorbis file with a nil packet at EOS. r=bryce
...
The test file was created using VLC, that has a muxer that does this.
Differential Revision: https://phabricator.services.mozilla.com/D71351
2020-04-20 18:36:48 +00:00
Paul Adenot
571e9f80af
Bug 1611622 - Allow testing for a decode success without checking the file. r=bryce
...
Useful to test the demuxer in the web audio case.
Differential Revision: https://phabricator.services.mozilla.com/D71350
2020-04-20 18:36:41 +00:00
Paul Adenot
010795c79b
Bug 1611622 - Add some logging to MediaBufferDecoder.cpp. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D70894
2020-04-20 18:36:20 +00:00
Mihai Alexandru Michis
1ad47078f4
Backed out 5 changesets (bug 1611622) for causing bustages.
...
CLOSED TREE
Backed out changeset 8be308a0ff7d (bug 1611622)
Backed out changeset e6286802e8b5 (bug 1611622)
Backed out changeset ca1198a5d65c (bug 1611622)
Backed out changeset 7f14a871f69e (bug 1611622)
Backed out changeset 1db1f7da1215 (bug 1611622)
2020-04-17 21:17:37 +03:00
Paul Adenot
88b9f51e9b
Bug 1611622 - Add a decode test for an OGG Vorbis file with a nil packet at EOS. r=bryce
...
The test file was created using VLC, that has a muxer that does this.
Differential Revision: https://phabricator.services.mozilla.com/D71351
2020-04-17 17:56:45 +00:00
Paul Adenot
d4b4cd9dee
Bug 1611622 - Allow testing for a decode success without checking the file. r=bryce
...
Useful to test the demuxer in the web audio case.
Differential Revision: https://phabricator.services.mozilla.com/D71350
2020-04-17 17:56:25 +00:00
Paul Adenot
60a6cea746
Bug 1611622 - Add some logging to MediaBufferDecoder.cpp. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D70894
2020-04-17 17:55:59 +00:00
Jeff Walden
3dddf97e18
Bug 1624266 - Add code to page/worker/worklet code so that the global "SharedArrayBuffer" property can be trivially omitted from their global objects by changing how a single C++ variable for each case is initialized. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D71253
2020-04-17 08:21:02 +00:00
Steve Fink
a19414b831
Bug 1626772 - gcc compatibility hack for __attribute__ and mutable ordering in lambda decl r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D69402
--HG--
extra : moz-landing-system : lando
2020-04-10 01:09:04 +00:00
Mihai Alexandru Michis
f2e4ef7d2a
Backed out 3 changesets (bug 1626772) for causing bustages in DefineEnum.h
...
CLOSED TREE
Backed out changeset f42150bdee2b (bug 1626772)
Backed out changeset ab5b637f714a (bug 1626772)
Backed out changeset fd4026a9f380 (bug 1626772)
2020-04-10 03:49:33 +03:00
Steve Fink
f052f2616d
Bug 1626772 - gcc compatibility hack for __attribute__ and mutable ordering in lambda decl r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D69402
--HG--
extra : moz-landing-system : lando
2020-04-08 08:48:11 +00:00
Tom Schuster
763682c095
Bug 1626100 - Replace SetPendingExceptionAndStack with a ExceptionStack version. r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D69667
--HG--
extra : moz-landing-system : lando
2020-04-09 12:35:59 +00:00