diff options
author | Scott González <scott.gonzalez@gmail.com> | 2013-11-14 10:32:09 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2013-11-14 10:32:09 -0500 |
commit | ce5539f3681f60b997b53785c84ff66b5a61f08f (patch) | |
tree | 9830b394150cbdab4ab9fc407f780e5574bc8eb2 /tests/unit/dialog/dialog_methods.js | |
parent | 144268a2eb88184c34ee82a7ee422d9db8aa12a9 (diff) | |
download | jquery-ui-ce5539f3681f60b997b53785c84ff66b5a61f08f.tar.gz jquery-ui-ce5539f3681f60b997b53785c84ff66b5a61f08f.zip |
Dialog tests: Work around focus issue in IE8.
Diffstat (limited to 'tests/unit/dialog/dialog_methods.js')
-rw-r--r-- | tests/unit/dialog/dialog_methods.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/dialog/dialog_methods.js b/tests/unit/dialog/dialog_methods.js index 8918e8d36..d315e5fc3 100644 --- a/tests/unit/dialog/dialog_methods.js +++ b/tests/unit/dialog/dialog_methods.js @@ -220,6 +220,11 @@ asyncTest( "#8958: dialog can be opened while opening", function() { } }); + // Support: IE8 + // For some reason the #favorite-color input doesn't get focus if we don't + // focus the body first, causing the test to hang. + $( "body" ).focus(); + $( "#favorite-animal" ) // We focus the input to start the test. Once it receives focus, the // dialog will open. Opening the dialog, will cause an element inside |