summaryrefslogtreecommitdiff
path: root/editor/libeditor/crashtests/768748.html
diff options
context:
space:
mode:
Diffstat (limited to 'editor/libeditor/crashtests/768748.html')
-rw-r--r--editor/libeditor/crashtests/768748.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/editor/libeditor/crashtests/768748.html b/editor/libeditor/crashtests/768748.html
new file mode 100644
index 0000000000..09206dce3f
--- /dev/null
+++ b/editor/libeditor/crashtests/768748.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html contenteditable="true">
+<head>
+<script>
+
+function boom()
+{
+ var looseText = document.createTextNode("x");
+ window.getSelection().collapse(looseText, 0);
+ document.queryCommandState("insertorderedlist");
+}
+
+</script>
+</head>
+<body onload="setTimeout(boom, 0)"></body>
+</html>