Bug 1031137 - Backout investigation code added in 3904c720efa4.
authorPaul Adenot <paul@paul.cx>
Tue, 08 Jul 2014 13:40:53 +0200
changeset 192859 cd8e323d27c39ab0902d7e626991ea062d5b33ed
parent 192858 d491883232b45d977c74d4dac12684ae338ad7b4
child 192860 a2432accf35c467f24ff7a413096d5ef4a79951b
push id7663
push userkwierso@gmail.com
push dateWed, 09 Jul 2014 03:08:08 +0000
treeherderfx-team@48de6f4f82af [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1031137
milestone33.0a1
Bug 1031137 - Backout investigation code added in 3904c720efa4.
content/media/test/crashtests/1028458.html
--- a/content/media/test/crashtests/1028458.html
+++ b/content/media/test/crashtests/1028458.html
@@ -1,33 +1,21 @@
 <html class="reftest-wait">
 <audio id="testAudio" controls></audio>
 <script type="text/javascript">
 navigator.mozGetUserMedia({audio: true}, function(stream) {
     stream.getAudioTracks()[0].enabled = false;
     var testAudio = document.getElementById('testAudio');
-    // temporary log for bug 1031137.
-    ["abort", "canplay", "canplaythrough", "durationchange", "emptied", "ended",
-    "error", "loadeddata", "loadedmetadata", "loadstart", "pause", "play",
-    "playing", "progress", "ratechange", "seeked", "seeking", "stalled", "suspend",
-    "timeupdate", "volumechange", "waiting"].forEach(function(v) {
-      testAudio.addEventListener(v, function() {
-        dump("event received: " + v + "\n");
-      });
-    });
-
     // Wait some time for good measure
     var eventReceived = 0;
     testAudio.addEventListener("timeupdate", function() {
-      dump("timeupdate received (index:" + eventReceived + ")\n");
       if (++eventReceived == 3) {
         document.querySelector("html").className = "";
       }
-    });
-
+    })
     testAudio.mozSrcObject = stream;
     testAudio.play();
     }, function(err) {
-    dump(err + "\n");
+    console.log(err);
     });
 </script>
 
 </html>