Bug 974160. Robustify reftest. r=cam
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Fri, 21 Feb 2014 13:27:49 -0500
changeset 170400 e6da54a5482461b8c176978e01f070172546cd8f
parent 170399 ef89c710498d56785a8abb9be6c650a12b402738
child 170401 801aadc11572f0313ccdbf322f3cbd3f9079c87b
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewerscam
bugs974160
milestone30.0a1
Bug 974160. Robustify reftest. r=cam This currently seems to fail on b2g aws. I assume because the timeout fires before the function can run and we end up with two exclamation marks.
layout/reftests/svg/text/multiple-x-percentages-3.html
--- a/layout/reftests/svg/text/multiple-x-percentages-3.html
+++ b/layout/reftests/svg/text/multiple-x-percentages-3.html
@@ -17,10 +17,9 @@ function doTest() {
   var text = iframe.contentDocument.querySelectorAll("text");
   text[0].firstChild.nodeValue += "!";
   text[1].firstChild.nodeValue += "!";
 
   document.documentElement.removeAttribute("class");
 }
 
 window.addEventListener("MozReftestInvalidate", doTest, false);
-setTimeout(doTest, 4000); // fallback for running outside reftest
 </script>