Fix intermittent orange by starting test from onload rather than setTimeout. (Bug 566392) r=jruderman
authorMats Palmgren <matspal@gmail.com>
Mon, 17 May 2010 15:09:30 -0700
changeset 42393 61d9c159a7fe552b773fa73f2447ffecbca7d972
parent 42392 24196f2fc09883e7c37c1ef1f88b410ab801219d
child 42394 3c6fe232b7262ccc2f5f0860b85b8412bd89ea4d
push id13314
push userdbaron@mozilla.com
push dateMon, 17 May 2010 22:10:16 +0000
treeherdermozilla-central@9d67ea08c6b5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjruderman
bugs566392
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Fix intermittent orange by starting test from onload rather than setTimeout. (Bug 566392) r=jruderman
layout/base/crashtests/325967-1.html
--- a/layout/base/crashtests/325967-1.html
+++ b/layout/base/crashtests/325967-1.html
@@ -15,17 +15,15 @@ function init()
   function u()
   { 
     document.removeEventListener("DOMNodeInserted", u, false);
     ww.removeChild(inp);
     document.documentElement.removeAttribute("class");
   }
 }
 
-setTimeout(init, 30);
-
 </script>
 
 </head>
 
-<body><div id="ww"><input type="text" value="inputtext" id="inp">moretext</div></body>
+<body onload="init()"><div id="ww"><input type="text" value="inputtext" id="inp">moretext</div></body>
 
-</html>
\ No newline at end of file
+</html>