Bug 943269 - Minor tweak that might fix the test timeouts. r=mwargers, a=test-only
authorMats Palmgren <mats@mozilla.com>
Sun, 13 Jul 2014 13:01:43 +0000
changeset 209009 0e974612773f1b8f287d8cb4b76c69e4cd4336dd
parent 209008 2662e7c51839dbd88b357ecf1064b7d75034ac1e
child 209010 fe01ba8541157a125e545ea0b7ef6582f8658093
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmwargers, test-only
bugs943269
milestone32.0a2
Bug 943269 - Minor tweak that might fix the test timeouts. r=mwargers, a=test-only
layout/forms/test/test_bug402198.html
--- a/layout/forms/test/test_bug402198.html
+++ b/layout/forms/test/test_bug402198.html
@@ -51,18 +51,17 @@ function doe3() {
   document.body.offsetHeight;
 
   document.getElementById('a').focus();
   document.body.style.display = 'none';
 
   synthesizeKey('VK_TAB', {type: "keypress", shiftKey: true});
 
   is(0, 0, "this is a crash/assertion test, so we're ok if we survived this far");
-  SimpleTest.finish();
-  setTimeout(function() {document.body.style.display = '';}, 400);
+  setTimeout(function() {document.body.style.display = ''; SimpleTest.finish();}, 0);
 }
 
 function do_test() {
   setTimeout(doe3,300);
 }
 
 SimpleTest.waitForExplicitFinish();
 addLoadEvent(do_test);