summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1505875.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/1505875.html')
-rw-r--r--dom/base/crashtests/1505875.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/dom/base/crashtests/1505875.html b/dom/base/crashtests/1505875.html
new file mode 100644
index 0000000000..24a7d82a09
--- /dev/null
+++ b/dom/base/crashtests/1505875.html
@@ -0,0 +1,10 @@
+<script>
+function go() {
+ var r = document.getSelection().getRangeAt(0).cloneRange();
+ a.type = "";
+ r.insertNode(b);
+}
+</script>
+<body onload=go()>
+<input id="a" autofocus type="date">
+<summary id="b">x</summary>