layout/forms/crashtests/373586-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/forms/crashtests/373586-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     1.5 +<head>
     1.6 +
     1.7 +<bindings xmlns="http://www.mozilla.org/xbl">
     1.8 +  <binding id="foo">
     1.9 +    <content>
    1.10 +      <children xmlns="http://www.mozilla.org/xbl" />
    1.11 +    </content>
    1.12 +  </binding>
    1.13 +</bindings>
    1.14 +
    1.15 +<script>
    1.16 +function boom()
    1.17 +{
    1.18 +  document.getElementById("div").style.MozBinding = "url('#foo')";
    1.19 +
    1.20 +  var opt1 = document.getElementById("opt1");
    1.21 +  opt1.removeChild(opt1.firstChild);
    1.22 +
    1.23 +  document.getElementById("textarea").value += " ";
    1.24 +  
    1.25 +  document.documentElement.removeAttribute("class")
    1.26 +}
    1.27 +</script>
    1.28 +
    1.29 +</head>
    1.30 +
    1.31 +<body onload="setTimeout(boom, 30);">
    1.32 +
    1.33 +<div id="div">
    1.34 +  <textarea rows="3" cols="5" id="textarea"></textarea>
    1.35 +</div>
    1.36 +
    1.37 +<select>
    1.38 +  <option id="opt1">opt1</option>
    1.39 +</select>
    1.40 +
    1.41 +</body>
    1.42 +</html>
    1.43 +

mercurial