blob: ce753a3d9aa8b5b3f3163c04adc1b304cf32e24c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>
function doTest() {
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' " +
"onload='window.parent.document.documentElement.className = ""'>";
}, 0);
}
document.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</head>
<body>
<iframe></iframe>
</body>
</html>
|