2013-03-24 03:01:50 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2020-01-07 22:59:08 +00:00
|
|
|
<script src="../jquery-1.9.1.js"></script>
|
2013-03-24 03:01:50 +00:00
|
|
|
<script>var $j = jQuery.noConflict();</script>
|
2016-04-10 19:42:44 +00:00
|
|
|
<script src="../iframeTest.js"></script>
|
2013-03-24 03:01:50 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2017-08-01 16:52:45 +00:00
|
|
|
<iframe id="dont_return" src="../mock.php?action=wait&wait=30"></iframe>
|
2013-03-24 03:01:50 +00:00
|
|
|
<script>
|
|
|
|
var timeoutId, $,
|
|
|
|
timeoutFired = false;
|
|
|
|
|
|
|
|
setTimeout(function () {
|
|
|
|
// Load another jQuery copy using the first one.
|
|
|
|
$j.getScript( "../../../dist/jquery.js", function () {
|
|
|
|
$j( "#dont_return" ).attr( "src", "about:blank" );
|
|
|
|
|
|
|
|
// document ready handled by the just-loaded jQuery copy.
|
|
|
|
$(function () {
|
|
|
|
clearTimeout( timeoutId );
|
|
|
|
if ( !timeoutFired ) {
|
2016-04-10 19:42:44 +00:00
|
|
|
startIframeTest( true );
|
2013-03-24 03:01:50 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
timeoutId = setTimeout(function () {
|
|
|
|
timeoutFired = true;
|
2016-04-10 19:42:44 +00:00
|
|
|
startIframeTest( false );
|
2014-03-13 02:26:27 +00:00
|
|
|
}, 10000);
|
2013-03-24 03:01:50 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|