Bug 1660051 [wpt PR 25111] - Origin isolation: expand getter test coverage, a=testonly
[gecko.git] / dom / base / crashtests / 1405771.html
blob120fcaf2946c9bc6c4f99b3dd06e5f11a464890d
1 <html>
2 <head>
3 <script></script>
4 <!-- a -->
5 <script>
6 window.onload=function(){
7 let s=window.getSelection();
8 let r=document.createRange();
9 r.selectNode(document.getElementById('b'));
10 s.addRange(r);
11 try{window.getSelection().modify('extend','forward','word')}catch(e){}
12 let o=document.getElementById('a');
13 o.parentNode.replaceChild(document.createElement('col'), o);
15 </script>
17 <template id='a' contenteditable='true'></template>
18 <header id='b'></header>
19 <!-- a -->
20 </html>