summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/863950.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/863950.html')
-rw-r--r--dom/base/crashtests/863950.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/base/crashtests/863950.html b/dom/base/crashtests/863950.html
new file mode 100644
index 0000000000..42303a5094
--- /dev/null
+++ b/dom/base/crashtests/863950.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html style="position: fixed;">
+<head>
+<meta charset="UTF-8">
+<script>
+
+function boom()
+{
+ var cp = document.caretPositionFromPoint(0, 1);
+ document.documentElement.removeChild(document.body);
+ cp.getClientRect();
+}
+
+</script>
+</head>
+
+<body style="margin: 0;" onload="boom();"></body>
+</html>