Backed out changeset dc96b4762676 (bug 875402) because of crashtest leaks

This commit is contained in:
Ehsan Akhgari 2013-05-24 15:28:28 -04:00
Родитель f7c9ad2945
Коммит 3d0d70af3e
3 изменённых файлов: 3 добавлений и 29 удалений

Просмотреть файл

@ -1908,6 +1908,9 @@ MediaInputPort::Destroy()
{
Run();
}
// This does not need to be strongly referenced; the graph is holding
// a strong reference to the port, which we will remove. This will be the
// last message for the port.
MediaInputPort* mPort;
};
GraphImpl()->AppendMessage(new Message(this));
@ -1949,10 +1952,6 @@ ProcessedMediaStream::AllocateInputPort(MediaStream* aStream, uint32_t aFlags,
// The graph holds its reference implicitly
mPort.forget();
}
virtual void RunDuringShutdown()
{
Run();
}
nsRefPtr<MediaInputPort> mPort;
};
nsRefPtr<MediaInputPort> port = new MediaInputPort(aStream, this, aFlags,

Просмотреть файл

@ -1,24 +0,0 @@
<script>
try { o1 = new OfflineAudioContext(1, 10, (new AudioContext()).sampleRate); } catch(e) { }
try { o2 = o1.createJavaScriptNode(); } catch(e) { }
try { o4 = new OfflineAudioContext(1, 10, (new AudioContext()).sampleRate); } catch(e) { }
try { o5 = o1.createChannelSplitter(4); } catch(e) { }
try { o7 = o4.createScriptProcessor(1024, 4, 1); } catch(e) { }
fuzzPriv.CC();
fuzzPriv.GC();
try { o1.startRendering(); } catch(e) { }
try { o2.connect(o7); } catch(e) { }
try { o7.connect(o4); } catch(e) { }
try { o9 = o4.createScriptProcessor(1024, 1, 4); } catch(e) { }
try { o2.connect(o7); } catch(e) { }
try { o9.connect(o1); } catch(e) { }
setTimeout("try { o2.connect(o9); } catch(e) { }",1000)
try { o7.connect(o4); } catch(e) { }
setTimeout("try { o5.disconnect() } catch(e) { }",100)
try { o2.connect(o9); } catch(e) { }
try { o4.startRendering(); } catch(e) { }
try { o2.connect(o9); } catch(e) { }
setTimeout("try { o7.connect(o4); } catch(e) { }",50)
try { o13 = o4.createGain(); } catch(e) { }
setTimeout("try { o7.connect(o13, 0, 0) } catch(e) { }",50)
</script>

Просмотреть файл

@ -20,5 +20,4 @@ load 874915.html
load 874934.html
load 874952.html
load 875144.html
load 875402.html
load 875596.html