summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/679459.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/679459.html')
-rw-r--r--dom/base/crashtests/679459.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/base/crashtests/679459.html b/dom/base/crashtests/679459.html
new file mode 100644
index 0000000000..c3cbb0c7c6
--- /dev/null
+++ b/dom/base/crashtests/679459.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function boom()
+{
+ var t = document.createTextNode("a");
+ document.body.appendChild(t);
+ var r1 = document.createRange();
+ r1.setEnd(t, 1);
+ var r2 = document.createRange();
+ r2.setEnd(t, 0);
+ r2.deleteContents();
+}
+
+</script>
+</head>
+
+<body onload="boom();"></body>
+</html>