Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / null-chardata-crash.html
blobe1be5a7ad8e2422c35857393fc426cb68fda0a7d
1 <html>
2 <body>
3 <p>To pass, this test should not crash</p>
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpAsText();
8 var o = document.createTextNode('');
9 try {
10 o.data = null;
11 o.splitText(1);
12 } catch (e) {}
13 </script>
14 </body>
15 </html>