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/data/core | |
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/data/core')
-rw-r--r-- | test/data/core/onready.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/data/core/onready.html b/test/data/core/onready.html new file mode 100644 index 000000000..1e8f127e7 --- /dev/null +++ b/test/data/core/onready.html @@ -0,0 +1,24 @@ +<!doctype html> +<html> +<head> + <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> + <title>alias-masked DOM properties (#14074)</title> + <script> + var error = false; + window.onready = function() { error = "Called window.onready"; }; + </script> + <script src="../../jquery.js"></script> +</head> +<body> + <form> + <input type="text" id="nodeName"/> + </form> + <script> + jQuery(function() { + setTimeout( function() { + window.parent.iframeCallback( error ); + }); + }); + </script> +</body> +</html>
\ No newline at end of file |