Selector: Use jQuery reference not Sizzle

(Cherry-picked from 3b9057a18d)
This commit is contained in:
Oleg Gaidarenko 2014-05-29 21:54:45 +04:00
parent 9e5f49fde3
commit 369add5f1d

View File

@ -485,13 +485,17 @@ asyncTest( "Iframe dispatch should not affect jQuery (#13936)", 1, function() {
try { try {
iframeDoc = this.contentDocument || this.contentWindow.document; iframeDoc = this.contentDocument || this.contentWindow.document;
form = Sizzle( "#navigate", iframeDoc )[ 0 ]; form = jQuery( "#navigate", iframeDoc )[ 0 ];
} catch ( e ) { } catch ( e ) {
thrown = e; thrown = e;
} }
if ( loaded ) { 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(); start();
} else { } else {
loaded = true; loaded = true;