diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-07-06 10:12:20 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-07-06 10:12:20 -0400 |
commit | f5fd41252e3ae48a655c5da4a0b2910bb897b6ed (patch) | |
tree | 2128bb89a2e85ca05e79cdaf8772df5f3e20b7e7 /test/data/event/syncReadyLongLoad.html | |
parent | aaf134bb7092efe7b450fc08ca5cc3c53cb00d76 (diff) | |
download | jquery-f5fd41252e3ae48a655c5da4a0b2910bb897b6ed.tar.gz jquery-f5fd41252e3ae48a655c5da4a0b2910bb897b6ed.zip |
Fix #12018, readyState "interactive" in oldIE lies! Closes gh-848.
Diffstat (limited to 'test/data/event/syncReadyLongLoad.html')
-rw-r--r-- | test/data/event/syncReadyLongLoad.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/data/event/syncReadyLongLoad.html b/test/data/event/syncReadyLongLoad.html new file mode 100644 index 000000000..83f2859ed --- /dev/null +++ b/test/data/event/syncReadyLongLoad.html @@ -0,0 +1,26 @@ +<!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> |