Commit 52816619 authored by Dave Methvin's avatar Dave Methvin

Firefox stalls without longer delays.

Not really happy with this, but perhaps Jenkins will be.
parent dec2804c
...@@ -145,7 +145,7 @@ test("delay() can be stopped", function() { ...@@ -145,7 +145,7 @@ test("delay() can be stopped", function() {
ok( true, "This first function was dequeued" ); ok( true, "This first function was dequeued" );
next(); next();
}) })
.delay( 100, "alternate" ) .delay( 1000, "alternate" )
.queue( "alternate", function() { .queue( "alternate", function() {
run++; run++;
ok( true, "The function was dequeued immediately, the delay was stopped" ); ok( true, "The function was dequeued immediately, the delay was stopped" );
...@@ -156,7 +156,7 @@ test("delay() can be stopped", function() { ...@@ -156,7 +156,7 @@ test("delay() can be stopped", function() {
.stop( "alternate", false, false ) .stop( "alternate", false, false )
// this test // this test
.delay( 100 ) .delay( 1000 )
.queue(function() { .queue(function() {
run++; run++;
ok( false, "This queue should never run" ); ok( false, "This queue should never run" );
...@@ -167,7 +167,7 @@ test("delay() can be stopped", function() { ...@@ -167,7 +167,7 @@ test("delay() can be stopped", function() {
equal( run, 2, "Queue ran the proper functions" ); equal( run, 2, "Queue ran the proper functions" );
setTimeout( start, 200 ); setTimeout( start, 2000 );
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment