Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / cloneNode-below-body-attribute-merging.html
blob5a18915c968a1a5e68256fe2f1716dcd2d349cb4
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 document.addEventListener("DOMSubtreeModified", function() {
6 if (document.body)
7 document.body.cloneNode(false);
8 }, false);
9 </script>
10 <meta charset="utf-8">
11 <script src="../../resources/js-test.js"></script>
12 </head>
13 <body id="some_random_id_so_body_creates_attribute_data" class="another_random_attribute_to_increase_crash_surface_area">
14 <script>
16 description("Tests that cloning the body node in response to a DOMSubtreeModified event doesn't crash.");
18 </script>
19 </body>
20 </html>