2009-03-17 03:59:33 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="reftest-wait">
|
|
|
|
<head>
|
|
|
|
<script>
|
2012-08-29 09:48:44 +04:00
|
|
|
function doTest() {
|
2009-03-17 03:59:33 +03:00
|
|
|
window.frames[0].location =
|
|
|
|
'javascript:document.write(""); document.close(); ' +
|
|
|
|
'parent.continueTest();'
|
|
|
|
}
|
|
|
|
|
|
|
|
function continueTest() {
|
|
|
|
// Do this part async just in case
|
|
|
|
setTimeout(function() {
|
|
|
|
window.frames[0].document.body.innerHTML =
|
|
|
|
"<img src='passouter.png' " +
|
2009-06-29 02:44:22 +04:00
|
|
|
"onload='window.parent.document.documentElement.className = ""'>";
|
2009-03-17 03:59:33 +03:00
|
|
|
}, 0);
|
|
|
|
}
|
2012-08-29 09:48:44 +04:00
|
|
|
document.addEventListener("MozReftestInvalidate", doTest, false);
|
2009-03-17 03:59:33 +03:00
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<iframe></iframe>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|