summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/407079-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/crashtests/407079-1.html')
-rw-r--r--editor/libeditor/crashtests/407079-1.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/407079-1.html b/editor/libeditor/crashtests/407079-1.html
new file mode 100644
index 000000000..8b0e36cd6
--- /dev/null
+++ b/editor/libeditor/crashtests/407079-1.html
@@ -0,0 +1,15 @@
+<html>
+<head>
+<script type="text/javascript">
+
+function boom()
+{
+ document.execCommand("selectAll", false, null);
+ document.execCommand("inserthtml", false, "<p>");
+}
+
+</script>
+</head>
+
+<body onload="boom();"><textarea contenteditable="true"></textarea></body>
+</html>