зеркало из https://github.com/mozilla/gecko-dev.git
31 строка
682 B
HTML
31 строка
682 B
HTML
<html>
|
|
<body>
|
|
Page 2 has an iframe of its own.
|
|
<iframe id='inner-iframe' onload='innerIframeLoaded()' srcdoc='
|
|
<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>
|