mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Firefox stalls without longer delays.
Not really happy with this, but perhaps Jenkins will be.
This commit is contained in:
parent
dec2804c78
commit
52816619a9
@ -145,7 +145,7 @@ test("delay() can be stopped", function() {
|
||||
ok( true, "This first function was dequeued" );
|
||||
next();
|
||||
})
|
||||
.delay( 100, "alternate" )
|
||||
.delay( 1000, "alternate" )
|
||||
.queue( "alternate", function() {
|
||||
run++;
|
||||
ok( true, "The function was dequeued immediately, the delay was stopped" );
|
||||
@ -156,7 +156,7 @@ test("delay() can be stopped", function() {
|
||||
.stop( "alternate", false, false )
|
||||
|
||||
// this test
|
||||
.delay( 100 )
|
||||
.delay( 1000 )
|
||||
.queue(function() {
|
||||
run++;
|
||||
ok( false, "This queue should never run" );
|
||||
@ -167,7 +167,7 @@ test("delay() can be stopped", function() {
|
||||
|
||||
equal( run, 2, "Queue ran the proper functions" );
|
||||
|
||||
setTimeout( start, 200 );
|
||||
setTimeout( start, 2000 );
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user