aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/ajax.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/ajax.js')
-rw-r--r--test/unit/ajax.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js
index 297f051d9..1082ce88e 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -28,7 +28,7 @@ QUnit.module( "ajax", {
//----------- jQuery.ajax()
- testIframeWithCallback(
+ testIframe(
"XMLHttpRequest - Attempt to block tests because of dangling XHR requests (IE)",
"ajax/unreleasedXHR.html",
function( assert ) {
@@ -1826,10 +1826,10 @@ if ( typeof window.ArrayBuffer === "undefined" || typeof new XMLHttpRequest().re
};
} );
- testIframeWithCallback(
+ testIframe(
"#14379 - jQuery.ajax() on unload",
"ajax/onunload.html",
- function( status, assert ) {
+ function( assert, jQuery, window, document, status ) {
assert.expect( 1 );
assert.strictEqual( status, "success", "Request completed" );
}