summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/761861.html
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/crashtests/761861.html')
-rw-r--r--editor/libeditor/crashtests/761861.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/761861.html b/editor/libeditor/crashtests/761861.html
new file mode 100644
index 000000000..0c1f3f521
--- /dev/null
+++ b/editor/libeditor/crashtests/761861.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<script>
+function boom() {
+ var r = document.documentElement;
+ while (r.firstChild) {
+ r.removeChild(r.firstChild);
+ }
+
+ document.documentElement.contentEditable = "true";
+ document.documentElement.appendChild(document.createElement("span"));
+ document.documentElement.firstChild.appendChild(document.createTextNode("_"));
+ document.execCommand("forwarddelete");
+}
+</script>
+<body onload="boom()">