diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-08-23 17:46:12 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-08-23 20:28:22 -0400 |
commit | a9c2a9bf61af4c09e8f089b45e8986b9a5416d46 (patch) | |
tree | 344891592c10508eebc2265335c00fd61c08a143 /test/data/event | |
parent | 10901f7d9fa6be01cc6b88cd94d279760b42a069 (diff) | |
download | jquery-a9c2a9bf61af4c09e8f089b45e8986b9a5416d46.tar.gz jquery-a9c2a9bf61af4c09e8f089b45e8986b9a5416d46.zip |
Scorch the earth and retreat on readyState interactive! Close gh-907.
Diffstat (limited to 'test/data/event')
-rw-r--r-- | test/data/event/asyncReady.html | 30 | ||||
-rw-r--r-- | test/data/event/longLoad.php | 6 | ||||
-rw-r--r-- | test/data/event/partialLoadReady.php | 40 | ||||
-rw-r--r-- | test/data/event/syncReadyLongLoad.html | 26 |
4 files changed, 0 insertions, 102 deletions
diff --git a/test/data/event/asyncReady.html b/test/data/event/asyncReady.html deleted file mode 100644 index 48a967a2a..000000000 --- a/test/data/event/asyncReady.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="content-type" content="text/html; charset=utf-8"> -<title>Test case for jQuery ticket #10067</title> -<script type="text/javascript"> -setTimeout(function() { - el = document.createElement("script"); - el.type = "text/javascript"; - el.onload = function() { - jQuery( document ).ready(function() { - window.parent.iframeCallback( jQuery('#container').length === 1 ); - }); - } - document.getElementsByTagName("head")[ 0 ].appendChild( el ); - el.src = "../../../dist/jquery.js"; -}, 1000 ); -</script> -</head> -<body> - -<!-- external resources that come before elements trick -oldIE into thinking the dom is ready, but it's not... --> -<script type="text/javascript" src="longLoadScript.php?sleep=1"></script> -<div id="container" style="height: 300px"></div> - -<!-- long loading iframe --> -<iframe src="longLoad.php?sleep=15&return=false" style="width: 1px; height: 1px"></iframe> -</body> -</html> diff --git a/test/data/event/longLoad.php b/test/data/event/longLoad.php deleted file mode 100644 index ba1d43f82..000000000 --- a/test/data/event/longLoad.php +++ /dev/null @@ -1,6 +0,0 @@ -<?php -sleep((int)$_GET['sleep']); -?> -<script type="text/javascript"> -window.parent.parent.iframeCallback(<?php echo $_GET['return'];?>); -</script>
\ No newline at end of file diff --git a/test/data/event/partialLoadReady.php b/test/data/event/partialLoadReady.php deleted file mode 100644 index 1a93b0b8a..000000000 --- a/test/data/event/partialLoadReady.php +++ /dev/null @@ -1,40 +0,0 @@ -<?php -//try very hard to disable output buffering -//@ini_set("output_buffering", 0); -//@apache_setenv("no-gzip", 1); -//@ini_set("zlib.output_compression", 0); -ob_start(); -?> - -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="content-type" content="text/html; charset=utf-8"> -<title>Test case for jQuery ticket #12282</title> -</head> -<body> - -<h1>TEST</h1> -<script type="text/javascript" src="../../../dist/jquery.js"></script> -<script type="text/javascript"> -jQuery( document ).ready(function() { - window.parent.iframeCallback( jQuery('#container').length === 1 ); -}); -</script> - -<?php -//send the top of the document without sending the bottom portion -echo str_repeat(" ", 1024 * 8), "\n"; -ob_flush(); -?> - -<h2>Sleeping for 1 seconds (simulating server side process)</h2> - -<?php -//sleep for a bit, simulating a server side process -sleep(1); -?> - -<div id="container">ready</h2> -</body> -</html>
\ No newline at end of file diff --git a/test/data/event/syncReadyLongLoad.html b/test/data/event/syncReadyLongLoad.html deleted file mode 100644 index 83f2859ed..000000000 --- a/test/data/event/syncReadyLongLoad.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="content-type" content="text/html; charset=utf-8"> -<title>Test case for jQuery ticket #10067</title> -<script type="text/javascript" src="../../../dist/jquery.js"></script> -</head> -<body> - -<script type="text/javascript"> -jQuery( document ).ready(function () { - window.parent.iframeCallback( jQuery('#container').length === 1 ); -}); -</script> - -<!-- external resources that come before elements trick - oldIE into thinking the dom is ready, but it's not... - leaving this check here for future trailblazers to attempt - fixing this...--> -<script type="text/javascript" src="longLoadScript.php?sleep=1"></script> -<div id="container" style="height: 300px"></div> - -<!-- long loading iframe --> -<iframe src="longLoad.php?sleep=10&return=false" style="width: 1px; height: 1px"></iframe> -</body> -</html> |