Skip to content

Commit

Permalink
Dialog tests: Work around focus issue in IE8.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Nov 14, 2013
1 parent 144268a commit ce5539f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit/dialog/dialog_methods.js
Expand Up @@ -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
Expand Down

0 comments on commit ce5539f

Please sign in to comment.