Skip to content

Commit

Permalink
Prevents firefox from hanging on the test (could it be that firefox p…
Browse files Browse the repository at this point in the history
…asses the delay to start?).
  • Loading branch information
jaubourg committed Mar 7, 2012
1 parent d30859e commit c5712a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/unit/ajax.js
Expand Up @@ -1287,7 +1287,9 @@ test("jQuery.getScript(String, Function) - with callback", function() {
jQuery.getScript(url("data/test.js"), function( data, _, jqXHR ) {
equal( foobar, "bar", "Check if script was evaluated" );
strictEqual( data, jqXHR.responseText, "Same-domain script requests returns the source of the script (#8082)" );
setTimeout(start, 1000);
setTimeout(function() {
start();
}, 1000 );
});
});

Expand Down

0 comments on commit c5712a2

Please sign in to comment.