dom/bindings/crashtests/869038.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/bindings/crashtests/869038.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +<meta charset="UTF-8">
     1.8 +<script>
     1.9 +
    1.10 +function boom()
    1.11 +{
    1.12 +  var frame = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
    1.13 +  document.body.appendChild(frame);
    1.14 +  var frameDoc = frame.contentDocument;
    1.15 +  frameDoc.contentEditable = "true";
    1.16 +  document.body.removeChild(frame);
    1.17 +  SpecialPowers.gc();
    1.18 +  frameDoc.focus();
    1.19 +}
    1.20 +
    1.21 +</script>
    1.22 +</head>
    1.23 +
    1.24 +<body onload="boom();"></body>
    1.25 +</html>

mercurial