dom/xbl/crashtests/368276-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/xbl/crashtests/368276-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml"
     1.5 +      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     1.6 +      class="reftest-wait">
     1.7 +
     1.8 +<head>
     1.9 +<script>
    1.10 +
    1.11 +function boom()
    1.12 +{
    1.13 +  var quote = document.getElementById("quote");
    1.14 +  var para = document.getElementById("para");
    1.15 +  var dialog = document.getElementById("dialog");
    1.16 +  var e = document.getElementById("e");
    1.17 +
    1.18 +  dialog.appendChild(quote);
    1.19 +  e.insertBefore(quote, para);
    1.20 +  
    1.21 +  document.documentElement.removeAttribute("class");
    1.22 +}
    1.23 +
    1.24 +</script>
    1.25 +</head>
    1.26 +
    1.27 +<body onload="setTimeout(boom, 30)">
    1.28 +
    1.29 +<p>He said <q id="quote">J<xul:hbox/></q></p>
    1.30 +
    1.31 +<xul:dialog id="dialog"/>
    1.32 +
    1.33 +<div id="e"><p id="para">Foopy</p></div>
    1.34 +
    1.35 +</body>
    1.36 +</html>

mercurial