summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/863950.html
blob: 42303a50949c431702f8ccf90110dcdda590b9e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>