Spinner Tests: Fix IE test failures by removing timing dependencies from focus/blur tests.

This commit is contained in:
Mike Sherov 2013-04-01 08:59:52 -04:00
parent efe8da8e6e
commit 5217b975f3

View File

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