mirror of
https://github.com/jquery/jquery.git
synced 2026-02-02 03:05:08 -05:00
Core: Add test for jQuery.ready.promise fallback load
Fix #13655
Close gh-1209
Ref 32b066d380
This commit is contained in:
@@ -1486,6 +1486,11 @@ testIframeWithCallback( "Conditional compilation compatibility (#13274)", "core/
|
||||
ok( $(), "jQuery executes" );
|
||||
});
|
||||
|
||||
testIframeWithCallback( "document ready when jQuery loaded asynchronously (#13655)", "core/dynamic_ready.html", function( ready ) {
|
||||
expect( 1 );
|
||||
equal( true, ready, "document ready correctly fired when jQuery is loaded after DOMContentLoaded" );
|
||||
});
|
||||
|
||||
testIframeWithCallback( "Tolerating alias-masked DOM properties (#14074)", "core/aliased.html",
|
||||
function( errors ) {
|
||||
expect( 1 );
|
||||
|
||||
Reference in New Issue
Block a user