layout/base/crashtests/310267-1.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/310267-1.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" style="white-space: pre;" class="reftest-wait"><script><![CDATA[
     1.5 +
     1.6 +function init() { 
     1.7 +  var docElt = document.documentElement;
     1.8 +  var firstText = docElt.childNodes[1];
     1.9 +  var div = docElt.childNodes[2];
    1.10 +  var bidiText = div.childNodes[0];
    1.11 +
    1.12 +  function first() 
    1.13 +  {
    1.14 +    docElt.insertBefore(div, firstText);
    1.15 +    docElt.insertBefore(bidiText, div);
    1.16 +  }
    1.17 +  
    1.18 +  function second()
    1.19 +  {
    1.20 +    docElt.insertBefore(div, firstText);
    1.21 +    docElt.appendChild(bidiText);
    1.22 +    document.documentElement.removeAttribute("class");
    1.23 +  }
    1.24 +  
    1.25 +  first();
    1.26 +  setTimeout(second, 100);
    1.27 +
    1.28 +}
    1.29 +
    1.30 +window.addEventListener("load", init, false);
    1.31 +
    1.32 +]]></script>
    1.33 +
    1.34 +A<div>׳
    1.35 +Z</div></html>
    1.36 \ No newline at end of file

mercurial