Commit c5712a24 authored by jaubourg's avatar jaubourg

Prevents firefox from hanging on the test (could it be that firefox passes the delay to start?).

parent d30859eb
...@@ -1287,7 +1287,9 @@ test("jQuery.getScript(String, Function) - with callback", function() { ...@@ -1287,7 +1287,9 @@ test("jQuery.getScript(String, Function) - with callback", function() {
jQuery.getScript(url("data/test.js"), function( data, _, jqXHR ) { jQuery.getScript(url("data/test.js"), function( data, _, jqXHR ) {
equal( foobar, "bar", "Check if script was evaluated" ); equal( foobar, "bar", "Check if script was evaluated" );
strictEqual( data, jqXHR.responseText, "Same-domain script requests returns the source of the script (#8082)" ); strictEqual( data, jqXHR.responseText, "Same-domain script requests returns the source of the script (#8082)" );
setTimeout(start, 1000); setTimeout(function() {
start();
}, 1000 );
}); });
}); });
......
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