mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
76202e8f38
--HG-- extra : rebase_source : 1f5ff1087f4d218bf6e56db7aefda271f8b50f2a
31 lines
694 B
HTML
31 lines
694 B
HTML
<html>
|
|
<body>
|
|
Page 2 has an iframe of its own.
|
|
<iframe id='inner-iframe' onload='innerIframeLoaded()' src='data:text/html,
|
|
<html><body>
|
|
<script>function go() { window.location = "file_bug593174_1.html"; }</script>
|
|
</body></html>'>
|
|
</iframe>
|
|
|
|
<script>
|
|
function innerIframeLoaded() {
|
|
if (parent.iframeLoaded) {
|
|
parent.iframeLoaded('inner');
|
|
}
|
|
else if(opener.iframeLoaded) {
|
|
opener.iframeLoaded('popup/inner');
|
|
}
|
|
}
|
|
|
|
function navigateInnerIframe() {
|
|
document.getElementById('inner-iframe').contentWindow.go();
|
|
}
|
|
|
|
function getInnerIframeReferrer() {
|
|
return document.getElementById('inner-iframe').contentWindow.document.referrer;
|
|
}
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|