Bug 1027268 - Remove unnecessary timeout from test_bug391747.html to fix intermittent failures. r=mats, a=test-only
authorMartijn Wargers <mwargers@mozilla.com>
Tue, 01 Jul 2014 16:26:36 +0200
changeset 207627 4312d0a4e00c30cffc9d506f2d5e4c4c6a2c7d9f
parent 207626 525ebf67bd8f031c00e6864be9bc15bd9d9bc1c2
child 207628 5c24299803230be6514947e980a5cd9c36773628
push id3741
push userasasaki@mozilla.com
push dateMon, 21 Jul 2014 20:25:18 +0000
treeherdermozilla-beta@4d6f46f5af68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmats, test-only
bugs1027268, 391747
milestone32.0a2
Bug 1027268 - Remove unnecessary timeout from test_bug391747.html to fix intermittent failures. r=mats, a=test-only
layout/generic/test/test_bug391747.html
--- a/layout/generic/test/test_bug391747.html
+++ b/layout/generic/test/test_bug391747.html
@@ -34,15 +34,15 @@ function select_391747(doc){
 function boom_391747() {
   var target = document.getElementById('iframe_391747')
   select_391747(target.contentDocument)
   ctrlclick_391747(target.contentDocument, 100, 100);
   ok(true, "pass");
   SimpleTest.finish();
 }
 
-setTimeout(boom_391747,400)
+addLoadEvent(boom_391747);
 SimpleTest.waitForExplicitFinish()
 
 </script>
 </pre>
 </body>
 </html>