summaryrefslogtreecommitdiffstats
path: root/parser/htmlparser/tests/crashtests/151956-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'parser/htmlparser/tests/crashtests/151956-1.html')
-rw-r--r--parser/htmlparser/tests/crashtests/151956-1.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/parser/htmlparser/tests/crashtests/151956-1.html b/parser/htmlparser/tests/crashtests/151956-1.html
new file mode 100644
index 000000000..0ae77f6a6
--- /dev/null
+++ b/parser/htmlparser/tests/crashtests/151956-1.html
@@ -0,0 +1,18 @@
+<html>
+<body>
+<!-- script isn't actually required for the crash of bug 151956 -->
+<table border>
+ <tbody>
+ <form>
+ <script>
+ var foo = 42;
+ </script>
+ </form>
+ <tr>
+ <td> X </td>
+ </tr>
+ </tbody>
+</table>
+</body>
+</html>
+