bug 826584 - Increase event callback timeout for gum tests. r=jesup
authorJason Smith <jsmith@mozilla.com>
Fri, 04 Jan 2013 00:20:57 -0800
changeset 126722 a37a77235f8373474980f8f302bc8b1776aa3c94
parent 126721 0d1a01e16ce73ce3ead6744ce66abdc5ded8f2dd
child 126723 3355493a69642ad095456bb563c5b1954b55b311
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup
bugs826584
milestone20.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 826584 - Increase event callback timeout for gum tests. r=jesup
dom/media/tests/mochitest/test_getUserMedia_basicAudio.html
dom/media/tests/mochitest/test_getUserMedia_basicVideo.html
dom/media/tests/mochitest/test_getUserMedia_basicVideoAudio.html
--- a/dom/media/tests/mochitest/test_getUserMedia_basicAudio.html
+++ b/dom/media/tests/mochitest/test_getUserMedia_basicAudio.html
@@ -25,17 +25,17 @@ https://bugzilla.mozilla.org/show_bug.cg
  * Run a test to verify that we can complete a start and stop media playback
  * cycle for an audio LocalMediaStream on an audio HTMLMediaElement.
  */
 runTest(function () {
   try {
     navigator.mozGetUserMedia({audio: true, fake: true}, function(stream) {
       var testAudio = document.getElementById('testAudio');
       var audioStreamPlayback = new MediaStreamPlayback(testAudio, stream);
-      audioStreamPlayback.playMedia(5000, function() {
+      audioStreamPlayback.playMedia(10000, function() {
 				stream.stop();
 				SimpleTest.finish();
 			}, unexpectedCallbackAndFinish);
     }, unexpectedCallbackAndFinish);
   } catch (err) {
     unexpectedCallbackAndFinish(err);
   }
 }, true);
--- a/dom/media/tests/mochitest/test_getUserMedia_basicVideo.html
+++ b/dom/media/tests/mochitest/test_getUserMedia_basicVideo.html
@@ -25,17 +25,17 @@ https://bugzilla.mozilla.org/show_bug.cg
  * Run a test to verify that we can complete a start and stop media playback
  * cycle for an video LocalMediaStream on a video HTMLMediaElement.
  */
 runTest(function () {
   try {
     navigator.mozGetUserMedia({video: true, fake: true}, function(stream) {
       var testVideo = document.getElementById('testVideo');
       var videoStreamPlayback = new MediaStreamPlayback(testVideo, stream);
-      videoStreamPlayback.playMedia(5000, function() {
+      videoStreamPlayback.playMedia(10000, function() {
 				stream.stop();
 				SimpleTest.finish();
 			}, unexpectedCallbackAndFinish);
     }, unexpectedCallbackAndFinish);
   } catch (err) {
     unexpectedCallbackAndFinish(err);
   }
 }, true);
--- a/dom/media/tests/mochitest/test_getUserMedia_basicVideoAudio.html
+++ b/dom/media/tests/mochitest/test_getUserMedia_basicVideoAudio.html
@@ -27,17 +27,17 @@ https://bugzilla.mozilla.org/show_bug.cg
  */
 runTest(function () {
   try {
     navigator.mozGetUserMedia({video: true, audio: true, fake: true},
       function(stream) {
       var testVideoAudio = document.getElementById('testVideoAudio');
       var videoAudioStreamPlayback = new MediaStreamPlayback(testVideoAudio,
         stream);
-      videoAudioStreamPlayback.playMedia(5000, function() {
+      videoAudioStreamPlayback.playMedia(10000, function() {
 				stream.stop();
 				SimpleTest.finish();
 			}, unexpectedCallbackAndFinish);
     }, unexpectedCallbackAndFinish);
   } catch (err) {
     unexpectedCallbackAndFinish(err);
   }
 }, true);