Bug 884459 - Do not check mCurrentTaskMessageQueue's emptiness needlessly; r=ehsan
authorPaul Adenot <paul@paul.cx>
Fri, 21 Jun 2013 22:07:39 +0200
changeset 147541 97ff13b79e53ad33741f598fd0ea606a834a0306
parent 147540 086b4d0b6cc6749ab09d40b534aa03dd436a61ac
child 147542 cbcb8cb1a86859812cd481c7129b5c1bc42724dc
push id2697
push userbbajaj@mozilla.com
push dateMon, 05 Aug 2013 18:49:53 +0000
treeherdermozilla-beta@dfec938c7b63 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs884459
milestone24.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 884459 - Do not check mCurrentTaskMessageQueue's emptiness needlessly; r=ehsan
content/media/MediaStreamGraph.cpp
content/media/test/crashtests/884459.html
content/media/test/crashtests/crashtests.list
--- a/content/media/MediaStreamGraph.cpp
+++ b/content/media/MediaStreamGraph.cpp
@@ -911,17 +911,16 @@ MediaStreamGraphImpl::PrepareUpdatesToMa
   if (!mPendingUpdateRunnables.IsEmpty()) {
     mUpdateRunnables.MoveElementsFrom(mPendingUpdateRunnables);
   }
 
   // Don't send the message to the main thread if it's not going to have
   // any work to do.
   if (aFinalUpdate ||
       !mUpdateRunnables.IsEmpty() ||
-      !mCurrentTaskMessageQueue.IsEmpty() ||
       !mStreamUpdates.IsEmpty()) {
     EnsureStableStateEventPosted();
   }
 }
 
 void
 MediaStreamGraphImpl::EnsureImmediateWakeUpLocked(MonitorAutoLock& aLock)
 {
new file mode 100644
--- /dev/null
+++ b/content/media/test/crashtests/884459.html
@@ -0,0 +1,12 @@
+<script>
+var Context0= new window.OfflineAudioContext(14,191531,44100)
+var BufferSource1=Context0.createBufferSource();
+
+setInterval(function(){
+BufferSource1.playbackRate.setTargetAtTime(0xC8F461D3EE6B2,(Context0.currentTime+0.0677539280615747),0.826130285160616);
+BufferSource1.playbackRate.setValueAtTime(35467.63924283907536607336193,0);
+},1)
+
+Context0.startRendering();
+
+</script>
--- a/content/media/test/crashtests/crashtests.list
+++ b/content/media/test/crashtests/crashtests.list
@@ -43,8 +43,9 @@ skip-if(B2G) load 880202.html # load fai
 load 880342-1.html
 load 880342-2.html
 load 880384.html
 load 880404.html
 load 880724.html
 load 881775.html
 load 882956.html
 test-pref(media.webvtt.enabled,true) load 882549.html
+load 884459.html