editor/composer/src/crashtests/407062-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/composer/src/crashtests/407062-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +<html contentEditable="true">
     1.5 +<head>
     1.6 +
     1.7 +<script type="text/javascript">
     1.8 +
     1.9 +function boom()
    1.10 +{
    1.11 +  var r = document.documentElement;
    1.12 +  while(r.firstChild)
    1.13 +    r.removeChild(r.firstChild);
    1.14 +
    1.15 +  document.execCommand("contentReadOnly", false, "");
    1.16 +  document.documentElement.focus();
    1.17 +}
    1.18 +
    1.19 +</script>
    1.20 +</head>
    1.21 +
    1.22 +<body onload="boom();"></body>
    1.23 +</html>

mercurial