Bug 606432. Use reftest-wait so crashtest actually tests something. a=test
authorTimothy Nikkel <tnikkel@gmail.com>
Thu, 25 Nov 2010 00:11:43 -0600
changeset 58211 32cd5d95a95f1d34916a49fd7044bb5b106ac098
parent 58210 dde5e4be82c1becb378e8813678d59a7a324d16b
child 58212 36ffe0ce3a0023bac92cf2ed0c9711c45777fb25
push id17204
push usertnikkel@gmail.com
push dateThu, 25 Nov 2010 06:14:00 +0000
treeherdermozilla-central@32cd5d95a95f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest
bugs606432
milestone2.0b8pre
first release with
nightly linux32
32cd5d95a95f / 4.0b8pre / 20101125030318 / files
nightly linux64
32cd5d95a95f / 4.0b8pre / 20101125030318 / files
nightly mac
32cd5d95a95f / 4.0b8pre / 20101125030318 / files
nightly win32
32cd5d95a95f / 4.0b8pre / 20101125030318 / files
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 606432. Use reftest-wait so crashtest actually tests something. a=test
layout/base/crashtests/606432-1.html
--- a/layout/base/crashtests/606432-1.html
+++ b/layout/base/crashtests/606432-1.html
@@ -1,18 +1,24 @@
 <!DOCTYPE html>
-<html>
+<html class="reftest-wait">
 <head>
 <script>
 
 function boom()
 {
   var t = document.getElementById("f").contentDocument.documentElement;
   t.contentEditable = "true";
   t.focus();
   document.body.appendChild(t);
+  setTimeout(finish, 0);
+}
+
+function finish()
+{
+  document.documentElement.className = "";
 }
 
 </script>
 </head>
 
 <body onload="setTimeout(boom, 200);"><iframe id="f" src="data:application/xhtml+xml,<html xmlns='http://www.w3.org/1999/xhtml'></html>"></iframe></body>
 </html>