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.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js
index 8be1947fb..d9c4c33e7 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -2467,6 +2467,14 @@ test( "jQuery.domManip - no side effect because of ajaxSetup or global events (#
});
});
+test( "jQuery.domManip - script in comments are properly evaluated (#11402)", function() {
+ expect( 2 );
+ stop();
+ jQuery( "#qunit-fixture" ).load( "data/cleanScript.html", function() {
+ start();
+ });
+});
+
test("jQuery.ajax - active counter", function() {
ok( jQuery.active == 0, "ajax active counter should be zero: " + jQuery.active );
});