summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/dom/cloneNode-below-body-attribute-merging.html
blob: 5a18915c968a1a5e68256fe2f1716dcd2d349cb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!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.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>
</body>
</html>