482659-1c.html (771B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <head> 4 <script> 5 function doTest() { 6 window.frames[0].location = 7 'javascript:document.write(""); document.close(); ' + 8 'parent.continueTest();' 9 } 10 11 function continueTest() { 12 // Do this part async just in case 13 setTimeout(function() { 14 window.frames[0].document.body.innerHTML = 15 "<img src='passouter.png' " + 16 "onload='window.parent.document.documentElement.className = ""'>"; 17 }, 0); 18 } 19 document.addEventListener("MozReftestInvalidate", doTest); 20 </script> 21 </head> 22 <body> 23 <iframe></iframe> 24 </body> 25 </html> 26