Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix #12282. IE has premature .readyState == "interactive". Close gh-901.
- Loading branch information
1 parent
f3ea073
commit 0f553ed0ca0c50c5f66377e9f2c6314f822e8f25
Showing
5 changed files
with
62 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters