Bug 1943514 - Close the RC sidebar panel when users opt out of/turn off Review Checke...
[gecko.git] / dom / media / tests / crashtests / 1505957.html
blobd2ba7a997c9a05c6e795759eb4bdccaf0bd597e5
1 <html id='a' class="reftest-wait">
2 <script>
3 let w;
4 window.addEventListener("MozReftestInvalidate", finish);
5 window.onload=function() {
6 b.src=document.getElementById('c').innerHTML;
7 b.setAttribute('src', 'video-crash.webm');
8 document.documentElement.style.display='none';
9 w = window.top.open('');
10 var o = window.frames[0].document.body.childNodes[0];
11 document.getElementById('d').appendChild(o.parentNode.removeChild(o));
12 o = document.getElementById('a');
13 var p = o.parentNode;
14 o.setAttribute('id', 0)
15 p.removeChild(o);
16 p.appendChild(o);
17 o.setAttribute('style', 0)
18 p.removeChild(o);
19 p.appendChild(o);
21 function finish() {
22 try {
23 w.close();
24 } catch (e) {}
25 document.documentElement.className = "";
27 </script>
28 <iframe id='b'></iframe>
29 <object id='c'>
30 <ruby id='d'>
31 </html>