Index: LayoutTests/fast/table/crash-col-in-anonymous-table.html |
diff --git a/LayoutTests/fast/table/crash-col-in-anonymous-table.html b/LayoutTests/fast/table/crash-col-in-anonymous-table.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fb6a06d186779a48ca0ed709c8dfefd8a609908c |
--- /dev/null |
+++ b/LayoutTests/fast/table/crash-col-in-anonymous-table.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+ function crash() { |
+ var th = document.createElement("th"); |
+ var col = document.createElement("col"); |
+ |
+ document.body.appendChild(th); |
+ document.body.appendChild(col); |
+ } |
+</script> |
+</head> |
+<body onload="crash();"> |
+<div>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=330651">330651</a>: infinite recursion when creating anonymous table structure</div> |
+<div>This test passes if it does not CRASH or HANG.</div> |
+</body> |
+</html> |