blob: ae76d090fe696988178aee0e6a5cfbe8a976e036 (
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);
</script>
</head>
<body>
<iframe></iframe>
</body>
</html>
|