layout/base/crashtests/401589-1.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/401589-1.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     1.5 +        xmlns:html="http://www.w3.org/1999/xhtml"
     1.6 +        xmlns:math="http://www.w3.org/1998/Math/MathML"
     1.7 +        class="reftest-wait"
     1.8 +        onload="boom();">
     1.9 +        
    1.10 +<html:style type="text/css">
    1.11 +[class="mp"] { display: -moz-popup; }
    1.12 +</html:style>
    1.13 +
    1.14 +<script>
    1.15 +
    1.16 +function boom()
    1.17 +{
    1.18 +  document.getElementById("mtd").setAttribute("class", "mp");
    1.19 +  setTimeout(boom2, 30);
    1.20 +}
    1.21 +
    1.22 +function boom2()
    1.23 +{
    1.24 +  document.getElementById("mtd").setAttribute("class", "");
    1.25 +  document.documentElement.removeAttribute("class");
    1.26 +}
    1.27 +
    1.28 +</script>
    1.29 +
    1.30 +<math:mtd id="mtd" />
    1.31 +
    1.32 +</window>

mercurial