c3499ad6b8
* gnu/packages/patches/icecat-CVE-2015-4477.patch, gnu/packages/patches/icecat-CVE-2015-7207.patch, gnu/packages/patches/icecat-CVE-2016-1952-pt01.patch, gnu/packages/patches/icecat-CVE-2016-1952-pt02.patch, gnu/packages/patches/icecat-CVE-2016-1952-pt03.patch, gnu/packages/patches/icecat-CVE-2016-1952-pt04.patch, gnu/packages/patches/icecat-CVE-2016-1952-pt05.patch, gnu/packages/patches/icecat-CVE-2016-1952-pt06.patch, gnu/packages/patches/icecat-CVE-2016-1954.patch, gnu/packages/patches/icecat-CVE-2016-1960.patch, gnu/packages/patches/icecat-CVE-2016-1961.patch, gnu/packages/patches/icecat-CVE-2016-1962.patch, gnu/packages/patches/icecat-CVE-2016-1964.patch, gnu/packages/patches/icecat-CVE-2016-1965.patch, gnu/packages/patches/icecat-CVE-2016-1966.patch, gnu/packages/patches/icecat-CVE-2016-1974.patch, gnu/packages/patches/icecat-bug-1248851.patch: New files. * gnu-system.am (dist_patch_DATA): Add them. * gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.
37 lines
1.4 KiB
Diff
37 lines
1.4 KiB
Diff
Copied from upstream:
|
|
https://hg.mozilla.org/releases/mozilla-esr38/raw-rev/beae8783b8c2
|
|
|
|
# HG changeset patch
|
|
# User Paul Adenot <paul@paul.cx>
|
|
# Date 1456422965 0
|
|
# Node ID beae8783b8c2c672da12a95c70ae663cbd0d5016
|
|
# Parent 3a606f8182c82480f8f350b622ab55a170ec1eb6
|
|
Bug 1179484. r=roc
|
|
|
|
MozReview-Commit-ID: HNaYLyMe3sM
|
|
|
|
diff --git a/dom/media/webaudio/MediaStreamAudioDestinationNode.cpp b/dom/media/webaudio/MediaStreamAudioDestinationNode.cpp
|
|
--- a/dom/media/webaudio/MediaStreamAudioDestinationNode.cpp
|
|
+++ b/dom/media/webaudio/MediaStreamAudioDestinationNode.cpp
|
|
@@ -69,16 +69,20 @@ MediaStreamAudioDestinationNode::MediaSt
|
|
ChannelInterpretation::Speakers)
|
|
, mDOMStream(DOMAudioNodeMediaStream::CreateTrackUnionStream(GetOwner(),
|
|
this))
|
|
{
|
|
TrackUnionStream* tus = static_cast<TrackUnionStream*>(mDOMStream->GetStream());
|
|
MOZ_ASSERT(tus == mDOMStream->GetStream()->AsProcessedStream());
|
|
tus->SetTrackIDFilter(FilterAudioNodeStreamTrack);
|
|
|
|
+ if (aContext->Graph() != tus->Graph()) {
|
|
+ return;
|
|
+ }
|
|
+
|
|
MediaStreamDestinationEngine* engine = new MediaStreamDestinationEngine(this, tus);
|
|
mStream = aContext->Graph()->CreateAudioNodeStream(engine, MediaStreamGraph::INTERNAL_STREAM);
|
|
mPort = tus->AllocateInputPort(mStream, 0);
|
|
|
|
nsIDocument* doc = aContext->GetParentObject()->GetExtantDoc();
|
|
if (doc) {
|
|
mDOMStream->CombineWithPrincipal(doc->NodePrincipal());
|
|
}
|
|
|