summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/1442506.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/base/crashtests/1442506.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/base/crashtests/1442506.html b/layout/base/crashtests/1442506.html
new file mode 100644
index 0000000000..dfcf50d900
--- /dev/null
+++ b/layout/base/crashtests/1442506.html
@@ -0,0 +1,10 @@
+<script>
+function go() {
+ var b = window.getSelection();
+ var c = document.getSelection();
+ b.setBaseAndExtent(document.getElementById("a"), 0, document.body.firstChild, 1);
+ c.deleteFromDocument();
+}
+</script>
+<body onload=go()>
+<p id="a">