gfx/tests/crashtests/595727-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/tests/crashtests/595727-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +<head>
     1.7 +<script>
     1.8 +
     1.9 +function doTest()
    1.10 +{
    1.11 +  var r = document.documentElement;
    1.12 +  while(r.firstChild) { r.removeChild(r.firstChild); }
    1.13 +  var body = document.createElementNS("http://www.w3.org/1999/xhtml", "body"); 
    1.14 +  r.appendChild(body); 
    1.15 +  body.contentEditable = "true"; 
    1.16 +  document.execCommand("inserthtml", false, "<span style=\"position:relative;left:0.8px\">a<select></select>a</span>"); 
    1.17 +
    1.18 +  document.documentElement.removeAttribute("class");
    1.19 +}
    1.20 +
    1.21 +document.addEventListener("MozReftestInvalidate", doTest, false);
    1.22 +</script>
    1.23 +</head>
    1.24 +
    1.25 +<body></body>
    1.26 +</html>

mercurial