summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/382131-1.html
blob: 82941f2cbaed36b8fef790ce441f132cb6f1162d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html class="reftest-wait">
<head>
<script>

function crash()
{
  try {
    window.getSelection().containsNode([], false);
  } catch(e) { }

  try {
    window.getSelection().containsNode(null, false);
  } catch(e) { }
  
  document.documentElement.removeAttribute("class");
}

</script>
</head>

<body onload="setTimeout(crash, 10);">
Foo
</body>

</html>