1
0

unreleasedXHR.html 608 B

12345678910111213141516171819202122232425
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  5. <title>Attempt to block tests because of dangling XHR requests (IE)</title>
  6. <script src="../../jquery.js"></script>
  7. <script type="text/javascript">
  8. window.onunload = function() {};
  9. jQuery(function() {
  10. setTimeout(function() {
  11. var parent = window.parent;
  12. document.write("");
  13. parent.iframeCallback();
  14. }, 200 );
  15. var number = 50;
  16. while( number-- ) {
  17. jQuery.ajax("../name.php?wait=600");
  18. }
  19. });
  20. </script>
  21. </head>
  22. <body>
  23. <!-- empty body -->
  24. </body>
  25. </html>