mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
02e10082b2
The AJAX test performed in unreleasedXHR.html was scheduling PHP processes
sleeping for 10 minutes. When a lot of commits are tested in short intervals
this was causing build failures due to the drained php-fpm pool.
The 10 seconds sleep time should be enough for this test.
Refs 62acda819f
26 lines
607 B
HTML
26 lines
607 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<title>Attempt to block tests because of dangling XHR requests (IE)</title>
|
|
<script src="../../jquery.js"></script>
|
|
<script type="text/javascript">
|
|
window.onunload = function() {};
|
|
jQuery(function() {
|
|
setTimeout(function() {
|
|
var parent = window.parent;
|
|
document.write("");
|
|
parent.iframeCallback();
|
|
}, 200 );
|
|
var number = 50;
|
|
while( number-- ) {
|
|
jQuery.ajax("../name.php?wait=10");
|
|
}
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<!-- empty body -->
|
|
</body>
|
|
</html>
|