bug 343087 - crash test by Jesse Ruderman.
authorBob Clary <bclary@bclary.com>
Fri, 24 Apr 2009 10:08:13 -0700
changeset 27745 34a34a0b550ed1f50506d0f112128fa28366260a
parent 27744 2fae448c1311c9e5c61b67f1f87371eecce348d6
child 27746 5c9e24b8e99c1a7d46b75f8849eeabe377bdaae2
push id6720
push userbclary@mozilla.com
push dateFri, 24 Apr 2009 17:10:36 +0000
treeherdermozilla-central@a1e84240b5c9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs343087
milestone1.9.2a1pre
bug 343087 - crash test by Jesse Ruderman.
layout/tables/crashtests/343087-1.html
layout/tables/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/tables/crashtests/343087-1.html
@@ -0,0 +1,40 @@
+<!doctype html public "-//w3c//dtd html 3.2//en">
+
+<html>
+
+<head>
+<title>testcase</title>
+<script>
+
+function doit()
+{
+	var doc = window.document;
+	var t1 = doc.getElementById('table1');
+	var tb =  doc.createElement('tfoot');
+	var tr = doc.createElement('tr');
+	tb.appendChild(tr);
+	t1.appendChild(tb);
+	var tb =  doc.createElement('tfoot');
+	var tr = doc.createElement('tr');
+      tb.appendChild(tr);
+	t1.appendChild(tb);
+	var tb =  doc.createElement('tfoot');
+      var td = doc.createElement('td');
+	tr.appendChild(td); 
+      tb.appendChild(tr);
+ 	t1.insertBefore(tb, doc.getElementById("colg1"));
+	tr.parentNode.removeChild(tr);
+}
+</script>
+
+</head>
+
+<body onload="doit()">
+
+<table id="table1"><tbody id="tbody1"><tr id="tr1"><td id="td1">x</td></tr></tbody><colgroup id ="colg1"></table>
+
+
+
+</body>
+
+</html>
--- a/layout/tables/crashtests/crashtests.list
+++ b/layout/tables/crashtests/crashtests.list
@@ -31,16 +31,17 @@ load 322779-1.xul
 load 323489-1.html
 load 331344-1.html
 load 331446-1.xhtml
 load 331690-1.html
 load 339130-1.html
 load 339246-1.html
 load 339315-1.html
 load 341227-1.xhtml
+load 343087-1.html
 load 343588-1.xhtml
 load 347506-1.xhtml
 load 347506-2.xhtml
 load 347725-1.xhtml
 load 348977-1.xhtml
 load 350524-1.xhtml
 load 351326-1.xhtml
 load 351327-1.xhtml