Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / assertion-on-node-removal.html
blob1bb434e856ac465c1b967e974bc6f5f91ab59a70
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script>
5 // We had an assertion failure in ChildNodeRemovalNotifier::notifyNodeRemovedFromTree.
6 if (window.testRunner)
7 testRunner.dumpAsText();
8 var d = document.createElement('div');
9 var s = document.createElement('script');
10 s.textContent = 'document.currentScript.nextSibling.remove();';
11 d.appendChild(s);
12 d.appendChild(document.createElement('input'));
13 document.body.appendChild(d);
14 document.body.innerHTML = 'PASS';
15 </script>
16 </body>
17 </html>