Spinner Tests: Fix IE test failures by removing timing dependencies from focus/blur tests.(cherry picked from commit 5217b975f3)

This commit is contained in:
Mike Sherov 2013-04-01 08:59:52 -04:00 committed by Scott González
parent 17472ace8c
commit 83e0b4c6c8

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() {