Bug 943269 - Minor tweak that might fix the test timeouts. r=mwargers, a=test-only FIREFOX_RELEASE_31_BASE
authorMats Palmgren <mats@mozilla.com>
Sun, 13 Jul 2014 13:01:43 +0000
changeset 200802 1772e55568e420f8c7fbf7b9434157e9f419c8f1
parent 200801 606f7891e3c437852c6b29f741d075ad7df65a69
child 200803 6befadcaa68524d24960d8342e00503e4edc1869
child 200822 7bec4c284a58606f723fb98f2f2dc7e7de4ab1cc
child 200824 6687aa1444121c1edd065013ffde5f3f3551245b
child 200826 a18add2e0f379f4434305866e7a3cd0775535117
push id486
push userasasaki@mozilla.com
push dateMon, 14 Jul 2014 18:39:42 +0000
treeherdermozilla-release@d33428174ff1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmwargers, test-only
bugs943269
milestone31.0
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);