dom/xbl/crashtests/382376-2.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/xbl/crashtests/382376-2.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     1.5 +<head>
     1.6 +<script>
     1.7 +
     1.8 +function boom()
     1.9 +{
    1.10 +  var v = document.getElementById("v");
    1.11 +  v.parentNode.removeChild(v);
    1.12 +  document.documentElement.removeAttribute("class");
    1.13 +}
    1.14 +
    1.15 +</script>
    1.16 +
    1.17 +<bindings xmlns="http://www.mozilla.org/xbl"><binding id="foo">
    1.18 +  <content>x x x x x <children/></content>
    1.19 +</binding></bindings>
    1.20 +
    1.21 +</head>
    1.22 +
    1.23 +<body onload="setTimeout(boom, 30);">
    1.24 +
    1.25 +<div style="background: lightblue; border: 1px solid blue; width: 300px">
    1.26 +  <span style="-moz-binding: url(#foo);" >y y<span id="v">Z<div/></span></span>
    1.27 +</div>
    1.28 +
    1.29 +</body>
    1.30 +</html>

mercurial