summaryrefslogtreecommitdiff
path: root/dom/base/crashtests/499006-2.html
blob: 86907c5bb6802aaf65e97983bdd99a0363e574e5 (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
26
27
28
29
30
31
32
33
34
35
<html>
<head>
<script>
function extractc(j) {
var sel = window.getSelection();


var b=document.getElementById('b');

var range =document.createRange();
range.setStart(document.documentElement, 0);
range.setEnd(document.documentElement, 0);
sel.addRange(range);
range.extractContents();

range.setStart(b, 0);
range.setEnd(b, 0);
sel.addRange(range);
range.extractContents();


range.setStart(b, 0);
range.setEnd(b, 0);
sel.addRange(range);
range.extractContents();


}
setTimeout(extractc,200,0);
</script>
<title id="b"></title>
</head>
<body>
</body>
</html>