aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2013-01-06 01:34:24 +0100
committerDave Methvin <dave.methvin@gmail.com>2013-01-07 10:34:14 -0500
commit62acda819f9b6fba9263d0b613e15285807b23a7 (patch)
treebfacb6fdeadd98eb2a6ff99c852a663132f1753c /test/data
parentf6df0301c81fca4b52eb2667f33a1469f2cac41d (diff)
downloadjquery-62acda819f9b6fba9263d0b613e15285807b23a7.tar.gz
jquery-62acda819f9b6fba9263d0b613e15285807b23a7.zip
Adds the abort on unload trick back in since IE9 still exhibits the bug
Diffstat (limited to 'test/data')
-rw-r--r--test/data/ajax/unreleasedXHR.html25
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>