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 200730 431880a028b6fbfb572347d40c029e412fba8376
parent 200729 af9d52d05f74c2f25852cfd435da8f55b86bb9ca
child 200731 de8176e8f3330d01e6d2e64aa711b6ecec21a4fe
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)
reviewersmats, test-only
bugs1027268, 391747
milestone31.0
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>