Skip to content

Commit

Permalink
Backed out 2 changesets (bug 1324548) for Mochitest failures in dom/t…
Browse files Browse the repository at this point in the history
…ests/mochitest/general/test_interfaces.html. CLOSED TREE

Backed out changeset fda93e03e469 (bug 1324548)
Backed out changeset 8e6135544e33 (bug 1324548)
  • Loading branch information
dgluca committed Apr 3, 2019
1 parent e7f0391 commit 47b5923
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 538 deletions.
2 changes: 0 additions & 2 deletions dom/locales/en-US/chrome/dom/dom.properties
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ MediaDecodeAudioDataNoAudio=The buffer passed to decodeAudioData does not contai
MediaElementAudioSourceNodeCrossOrigin=The HTMLMediaElement passed to createMediaElementSource has a cross-origin resource, the node will output silence.
# LOCALIZATION NOTE: Do not translate MediaStream and createMediaStreamSource.
MediaStreamAudioSourceNodeCrossOrigin=The MediaStream passed to createMediaStreamSource has a cross-origin resource, the node will output silence.
# LOCALIZATION NOTE : Do not translate MediaStreamTrack and createMediaStreamTrackSource.
MediaStreamTrackAudioSourceNodeCrossOrigin=The MediaStreamTrack passed to createMediaStreamTrackSource is a cross-origin resource, the node will output silence.
# LOCALIZATION NOTE: Do not translate HTMLMediaElement and MediaStream.
MediaElementAudioCaptureOfMediaStreamError=The captured HTMLMediaElement is playing a MediaStream. Applying volume or mute status is not currently supported.
MediaLoadExhaustedCandidates=All candidate resources failed to load. Media load paused.
Expand Down
4 changes: 0 additions & 4 deletions dom/media/MediaStreamTrack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ class MediaStreamTrack::MSGListener : public MediaStreamTrackListener {
mGraph->DispatchToMainThreadStableState(
NS_NewRunnableFunction("MediaStreamTrack::MSGListener::mTrackReleaser",
[self = RefPtr<MSGListener>(this)]() {}));

mGraph->Dispatch(NS_NewRunnableFunction(
"MediaStreamTrack::MSGListener::DoNotifyEnded",
[self = RefPtr<MSGListener>(this)]() { self->DoNotifyEnded(); }));
}

void DoNotifyEnded() {
Expand Down
11 changes: 0 additions & 11 deletions dom/media/webaudio/AudioContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include "mozilla/dom/HTMLMediaElement.h"
#include "mozilla/dom/MediaElementAudioSourceNodeBinding.h"
#include "mozilla/dom/MediaStreamAudioSourceNodeBinding.h"
#include "mozilla/dom/MediaStreamTrackAudioSourceNodeBinding.h"
#include "mozilla/dom/OfflineAudioContextBinding.h"
#include "mozilla/dom/OscillatorNodeBinding.h"
#include "mozilla/dom/PannerNodeBinding.h"
Expand Down Expand Up @@ -63,7 +62,6 @@
#include "MediaElementAudioSourceNode.h"
#include "MediaStreamAudioDestinationNode.h"
#include "MediaStreamAudioSourceNode.h"
#include "MediaStreamTrackAudioSourceNode.h"
#include "MediaStreamGraph.h"
#include "nsContentUtils.h"
#include "nsIScriptError.h"
Expand Down Expand Up @@ -426,15 +424,6 @@ AudioContext::CreateMediaStreamSource(DOMMediaStream& aMediaStream,
return MediaStreamAudioSourceNode::Create(*this, options, aRv);
}

already_AddRefed<MediaStreamTrackAudioSourceNode>
AudioContext::CreateMediaStreamTrackSource(MediaStreamTrack& aMediaStreamTrack,
ErrorResult& aRv) {
MediaStreamTrackAudioSourceOptions options;
options.mMediaStreamTrack = aMediaStreamTrack;

return MediaStreamTrackAudioSourceNode::Create(*this, options, aRv);
}

already_AddRefed<GainNode> AudioContext::CreateGain(ErrorResult& aRv) {
return GainNode::Create(*this, GainOptions(), aRv);
}
Expand Down
5 changes: 0 additions & 5 deletions dom/media/webaudio/AudioContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ class IIRFilterNode;
class MediaElementAudioSourceNode;
class MediaStreamAudioDestinationNode;
class MediaStreamAudioSourceNode;
class MediaStreamTrack;
class MediaStreamTrackAudioSourceNode;
class OscillatorNode;
class PannerNode;
class ScriptProcessorNode;
Expand Down Expand Up @@ -248,9 +246,6 @@ class AudioContext final : public DOMEventTargetHelper,
HTMLMediaElement& aMediaElement, ErrorResult& aRv);
already_AddRefed<MediaStreamAudioSourceNode> CreateMediaStreamSource(
DOMMediaStream& aMediaStream, ErrorResult& aRv);
already_AddRefed<MediaStreamTrackAudioSourceNode>
CreateMediaStreamTrackSource(MediaStreamTrack& aMediaStreamTrack,
ErrorResult& aRv);

already_AddRefed<DelayNode> CreateDelay(double aMaxDelayTime,
ErrorResult& aRv);
Expand Down
192 changes: 0 additions & 192 deletions dom/media/webaudio/MediaStreamTrackAudioSourceNode.cpp

This file was deleted.

115 changes: 0 additions & 115 deletions dom/media/webaudio/MediaStreamTrackAudioSourceNode.h

This file was deleted.

2 changes: 0 additions & 2 deletions dom/media/webaudio/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ EXPORTS.mozilla.dom += [
'MediaElementAudioSourceNode.h',
'MediaStreamAudioDestinationNode.h',
'MediaStreamAudioSourceNode.h',
'MediaStreamTrackAudioSourceNode.h',
'OscillatorNode.h',
'PannerNode.h',
'PeriodicWave.h',
Expand Down Expand Up @@ -111,7 +110,6 @@ UNIFIED_SOURCES += [
'MediaElementAudioSourceNode.cpp',
'MediaStreamAudioDestinationNode.cpp',
'MediaStreamAudioSourceNode.cpp',
'MediaStreamTrackAudioSourceNode.cpp',
'OscillatorNode.cpp',
'PannerNode.cpp',
'PeriodicWave.cpp',
Expand Down
Loading

0 comments on commit 47b5923

Please sign in to comment.