summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/768344.html
blob: 4830e6674d16561deaff48f106ed7549da53a978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
<script>

function boom()
{
    function f() {
        document.removeEventListener("DOMSubtreeModified", f, true);
        document.documentElement.setAttributeNS(null, "contenteditable", "false");
    }

    document.addEventListener("DOMSubtreeModified", f, true);

    document.documentElement.contentEditable = "true";
}

</script>
</head>

<body onload="boom();"></body>
</html>