diff options
Diffstat (limited to 'test/data/ajax')
-rw-r--r-- | test/data/ajax/unreleasedXHR.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/data/ajax/unreleasedXHR.html b/test/data/ajax/unreleasedXHR.html new file mode 100644 index 000000000..d516a0c52 --- /dev/null +++ b/test/data/ajax/unreleasedXHR.html @@ -0,0 +1,25 @@ +<!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 type="text/javascript" src="../../../dist/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=600"); + } +}); +</script> +</head> +<body> +<!-- empty body --> +</body> +</html> |