gecko-dev/dom/media/webaudio
Paul Adenot 7c2944c9f3 Bug 1538470 - Null-check the global when creating AudioNodes. r=karlt
This is now necessary, because it's possible to effectively create new
AudioNodes on during shutdown, when the global is not available anymore.

It is unnecessary to null-check in the AudioNodeEngine methods, because they
will not run in this scenario.

This also renames the function because it can now return nullptr.

Differential Revision: https://phabricator.services.mozilla.com/D24688

--HG--
extra : moz-landing-system : lando
2019-03-26 12:22:10 +00:00
..
blink Bug 1456962 - Update default channel attributes for DynamicsCompressorNode r=padenot 2019-03-18 14:47:53 +00:00
test Backed out 2 changesets (bug 1335740) for permafailing mda task on Android 8.0 2019-03-25 12:31:48 +01:00
AlignedTArray.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AlignmentUtils.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
AnalyserNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
AnalyserNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioBlock.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioBlock.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioBuffer.cpp Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink 2019-03-04 15:19:16 -08:00
AudioBuffer.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioBufferSourceNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
AudioBufferSourceNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioContext.cpp Bug 1528319 - Don't create a Promise when shutting down an AudioContext. r=karlt 2019-03-25 02:41:50 +00:00
AudioContext.h Bug 1528319 - Don't create a Promise when shutting down an AudioContext. r=karlt 2019-03-25 02:41:50 +00:00
AudioDestinationNode.cpp Bug 1538470 - Null-check the global when creating AudioNodes. r=karlt 2019-03-26 12:22:10 +00:00
AudioDestinationNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioEventTimeline.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioEventTimeline.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioListener.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioListener.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNode.cpp Bug 1538470 - Null-check the global when creating AudioNodes. r=karlt 2019-03-26 12:22:10 +00:00
AudioNode.h Bug 1538470 - Null-check the global when creating AudioNodes. r=karlt 2019-03-26 12:22:10 +00:00
AudioNodeEngine.cpp Bug 1538470 - Null-check the global when creating AudioNodes. r=karlt 2019-03-26 12:22:10 +00:00
AudioNodeEngine.h Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink 2019-03-04 15:19:16 -08:00
AudioNodeEngineNEON.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
AudioNodeEngineNEON.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNodeEngineSSE2.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNodeEngineSSE2.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNodeExternalInputStream.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
AudioNodeExternalInputStream.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNodeStream.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
AudioNodeStream.h Bug 1513722 run AudioWorklet for OfflineAudioContext on MSG thread r=padenot 2018-12-20 07:58:13 +00:00
AudioParam.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-02-15 08:15:57 +00:00
AudioParam.h Bug 1524026 - part 2 : add test. r=padenot,smaug 2019-02-05 22:50:42 +00:00
AudioParamDescriptorMap.h Bug 1501709 - AudioWorkletGlobalScope::RegisterProcessor: check descriptors and convert them to an internal representation. r=karlt,baku,froydnj 2019-01-10 18:45:38 +00:00
AudioParamMap.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioParamMap.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioParamTimeline.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioProcessingEvent.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioProcessingEvent.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioScheduledSourceNode.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioScheduledSourceNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioWorkletGlobalScope.cpp bug 1519562 send AudioParamDescriptors from registerProcessor() to AudioContext r=padenot 2019-02-21 03:12:59 +00:00
AudioWorkletGlobalScope.h Bug 1501709 - AudioWorkletGlobalScope::RegisterProcessor: check descriptors and convert them to an internal representation. r=karlt,baku,froydnj 2019-01-10 18:45:38 +00:00
AudioWorkletImpl.cpp Bug 1535214 run AudioWorklet for realtime AudioContext on GraphRunner thread r=padenot 2019-03-14 13:40:07 +00:00
AudioWorkletImpl.h bug 1519562 send AudioParamDescriptors from registerProcessor() to AudioContext r=padenot 2019-02-21 03:12:59 +00:00
AudioWorkletNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
AudioWorkletNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioWorkletProcessor.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
AudioWorkletProcessor.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
BiquadFilterNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
BiquadFilterNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChannelMergerNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
ChannelMergerNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChannelSplitterNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
ChannelSplitterNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ConstantSourceNode.cpp Bug 1513733 - part1 : rename 'NotifyScheduledSourceNodeStarted()' r=karlt 2019-01-11 20:42:02 +00:00
ConstantSourceNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ConvolverNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
ConvolverNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
DelayBuffer.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
DelayBuffer.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
DelayNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
DelayNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
DynamicsCompressorNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
DynamicsCompressorNode.h Bug 1456962 - Update default channel attributes for DynamicsCompressorNode r=padenot 2019-03-18 14:47:53 +00:00
FFTBlock.cpp Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
FFTBlock.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
GainNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
GainNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
IIRFilterNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
IIRFilterNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaBufferDecoder.cpp Bug 1535384 part 6. Get rid of MOZ_CAN_RUN_SCRIPT_BOUNDARY for webaudio callbacks. r=mccr8 2019-03-19 04:34:42 +00:00
MediaBufferDecoder.h Bug 1535384 part 6. Get rid of MOZ_CAN_RUN_SCRIPT_BOUNDARY for webaudio callbacks. r=mccr8 2019-03-19 04:34:42 +00:00
MediaElementAudioSourceNode.cpp Bug 1538470 - Null-check the global when creating AudioNodes. r=karlt 2019-03-26 12:22:10 +00:00
MediaElementAudioSourceNode.h Bug 1513733 - part2 : try to start AudioContext when media element which is as a source for web audio starts r=cpearce,karlt 2019-01-11 20:43:01 +00:00
MediaStreamAudioDestinationNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
MediaStreamAudioDestinationNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaStreamAudioSourceNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
MediaStreamAudioSourceNode.h Bug 1517324 - part1 : try to start blocked AudioContext with active MediaStreamAudioSourceNode stream r=karlt 2019-02-06 23:14:09 +00:00
moz.build Bug 1518994 - Enable NEON in AudioNodeEngine on aarch64. r=drno 2019-01-11 14:39:51 +00:00
OscillatorNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
OscillatorNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
PannerNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
PannerNode.h Bug 1518352 remove unnecessary WeakPtr support from PannerNode r=padenot 2019-01-08 10:07:15 +00:00
PanningUtils.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
PeriodicWave.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
PeriodicWave.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
PlayingRefChangeHandler.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ReportDecodeResultTask.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ScriptProcessorNode.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ScriptProcessorNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
StereoPannerNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
StereoPannerNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ThreeDPoint.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ThreeDPoint.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
WaveShaperNode.cpp Bug 1477205 - Remove the exception when a node is created after closing the AudioContext. r=padenot 2019-03-22 12:41:53 +00:00
WaveShaperNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
WebAudioUtils.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
WebAudioUtils.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00