editor/composer/src/crashtests/removing-editable-xslt.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/composer/src/crashtests/removing-editable-xslt.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +<html class="reftest-wait">
     1.5 +<head>
     1.6 +<script>
     1.7 +function boom()
     1.8 +{
     1.9 +  document.getElementById("i").src = "removing-editable-xslt-inner.xhtml";
    1.10 +  setTimeout(function() { 
    1.11 +    document.body.removeChild(document.getElementById("i"));
    1.12 +    document.documentElement.removeAttribute("class");
    1.13 +  }, 0);
    1.14 +}
    1.15 +</script>
    1.16 +</head>
    1.17 +<body onload="boom();">
    1.18 +<iframe id="i"></iframe>
    1.19 +</body>
    1.20 +</html>

mercurial