aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2014-05-29 21:54:45 +0400
committerOleg Gaidarenko <markelog@gmail.com>2014-05-29 21:54:45 +0400
commit3b9057a18de31b838bd0dd25ea466993b62f9dd9 (patch)
tree34798539a19fc008f5e490f37683c4204a39a5cb /test
parentefc4f8d7814a8c44bd5b4d924d237a04263e1a85 (diff)
downloadjquery-3b9057a18de31b838bd0dd25ea466993b62f9dd9.tar.gz
jquery-3b9057a18de31b838bd0dd25ea466993b62f9dd9.zip
Selector: Use jQuery reference not Sizzle
Diffstat (limited to 'test')
-rw-r--r--test/unit/selector.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/unit/selector.js b/test/unit/selector.js
index eeba98413..beba6be07 100644
--- a/test/unit/selector.js
+++ b/test/unit/selector.js
@@ -486,13 +486,17 @@ asyncTest( "Iframe dispatch should not affect jQuery (#13936)", 1, function() {
try {
iframeDoc = this.contentDocument || this.contentWindow.document;
- form = Sizzle( "#navigate", iframeDoc )[ 0 ];
+ form = jQuery( "#navigate", iframeDoc )[ 0 ];
} catch ( e ) {
thrown = e;
}
if ( loaded ) {
- strictEqual( thrown, false, "No error thrown from post-reload Sizzle call" );
+ strictEqual( thrown, false, "No error thrown from post-reload jQuery call" );
+
+ // clean up
+ jQuery( iframe ).off();
+
start();
} else {
loaded = true;