Spinner Tests: Fix IE test failures by accounting for the async nature of focus/blur.

This commit is contained in:
Mike Sherov 2013-03-31 12:55:57 -04:00
parent 70717273a8
commit efe8da8e6e

View File

@ -94,6 +94,9 @@ asyncTest( "blur input while spinning with UP", function() {
function step2() { function step2() {
value = element.val(); value = element.val();
ok( value > 11, "repeating while key is down" ); ok( value > 11, "repeating while key is down" );
setTimeout( function() {
value = element.val();
});
element[0].blur(); element[0].blur();
setTimeout( step3, 250 ); setTimeout( step3, 250 );
} }