equal( panels.eq( 2 ).attr( "aria-expanded" ), "false", "third panel has aria-expanded=false" );
equal( panels.eq( 2 ).attr( "aria-hidden" ), "true", "third panel has aria-hidden=true" );
- setTimeout( start, 1 );
+ // support: Firefox 12
+ // Firefox <13 passes arguments so we can't use setTimeout( start, 1 )
+ setTimeout(function() {
+ start();
+ }, 1 );
}
setTimeout( step1, 1 );
equal( panels.eq( 0 ).attr( "aria-expanded" ), "false", "first panel has aria-expanded=false" );
equal( panels.eq( 0 ).attr( "aria-hidden" ), "true", "first panel has aria-hidden=true" );
- setTimeout( start, 1 );
+ // support: Firefox 12
+ // Firefox <13 passes arguments so we can't use setTimeout( start, 1 )
+ setTimeout(function() {
+ start();
+ }, 1 );
}
setTimeout( step1, 1 );
panels.eq( 1 ).simulate( "keydown", { keyCode: keyCode.UP, ctrlKey: true } );
strictEqual( document.activeElement, tabs[ 1 ], "second tab is activeElement" );
- setTimeout( start, 1 );
+ // support: Firefox 12
+ // Firefox <13 passes arguments so we can't use setTimeout( start, 1 )
+ setTimeout(function() {
+ start();
+ }, 1 );
}
setTimeout( step1, 1 );