blob: 0718a11cfc09f3bdb709f90f8354255fdf5af357 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
document.addEventListener("DOMSubtreeModified", function() {
if (document.body)
document.body.cloneNode(false);
}, false);
</script>
<meta charset="utf-8">
<script src="../../resources/js-test-pre.js"></script>
</head>
<body id="some_random_id_so_body_creates_attribute_data" class="another_random_attribute_to_increase_crash_surface_area">
<script>
description("Tests that cloning the body node in response to a DOMSubtreeModified event doesn't crash.");
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>