gecko-dev/dom/html/crashtests/682058.xhtml

12 строки
278 B
HTML

<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<body onload="test()">
<script>
function test() {
document.body.innerHTML = "Foobar";
}
document.addEventListener("DOMNodeRemoved", function() {});
</script>
</body>
</html>