Bumping manifests a=b2g-bump
[gecko.git] / dom / base / crashtests / 499006-1.html
blobf02720b84797f7658d27d2d776443a6e640be025
1 <html>
2 <head>
3 <script type="text/javascript">
5 function select(start, startOffset, end, endOffset) {
6 var sel = getSelection();
7 sel.removeAllRanges();
8 var range = document.createRange();
9 range.setStart(start, startOffset);
10 range.setEnd(end, endOffset);
11 sel.addRange(range);
14 function boom() {
15 var p = document.body;
16 select(p.childNodes[0],0,p.childNodes[0],1);
17 sel = getSelection();
18 range = sel.getRangeAt(0);
19 range.detach();
20 range.insertNode(p);
23 </script>
24 </head>
25 <body onload="boom()"><span>Hello Kitty</span></body>
26 </html>