blob: d4ad92e4008fd344349b0cd4cb0cef1ae766efc5 (
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 src="about:blank"></iframe>
</body>
</html>
|