diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2014-03-03 22:04:23 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2014-03-04 21:00:04 -0500 |
commit | 2df1aad6a1c9376c2a477eba26ee992113ed1c23 (patch) | |
tree | ada1fba6f6f69fbc63d41aff9a32f343e8b9f006 /test/unit/core.js | |
parent | f4b37d89820535d6c7503925aa8872645681a865 (diff) | |
download | jquery-2df1aad6a1c9376c2a477eba26ee992113ed1c23.tar.gz jquery-2df1aad6a1c9376c2a477eba26ee992113ed1c23.zip |
Core: Do not run window.onready when ready
Fixes #14802
Diffstat (limited to 'test/unit/core.js')
-rw-r--r-- | test/unit/core.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/unit/core.js b/test/unit/core.js index 6801c7c0d..d1b221ce8 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1516,3 +1516,10 @@ testIframeWithCallback( "Tolerating alias-masked DOM properties (#14074)", "core deepEqual( errors, [], "jQuery loaded" ); } ); + +testIframeWithCallback( "Don't call window.onready (#14802)", "core/onready.html", + function( error ) { + expect( 1 ); + equal( error, false, "no call to user-defined onready" ); + } +); |