1<html>
2<head><style>
3body { overflow: hidden; }
4</style>
5<script>
6window.onresize = function() {
7    var tbody = document.createElement("TBODY")
8
9    var m = (document.getElementsByTagName("TABLE"))[0]
10    if(m.hasChildNodes()) m.removeChild(m.lastChild)
11
12    var tr = tbody.appendChild(document.createElement("TR"))
13
14    m.appendChild(tbody)
15}
16</script>
17</head>
18<body onload="setTimeout('window.resizeTo(500,500)', 0)">
19<table></table>
20<p>
21<b>BUG ID: <a href="http://bugs.webkit.org/show_bug.cgi?id=8739">Bugzilla bug 8739</a></b>
22Crash in RenderTableSection::paint due to manipulating DOM on resize
23</p>
24<p id="success" style="background-color:palegreen; padding:3px;">
25><b>TEST PASS:</b> You got here without crashing, which means test PASS. It is normal for the
26window to have resized.
27</p>
28</body></html>
29