mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Revert "Chrome fails in ajax.js tests because TestSwarm/Ngnix won't give HEAD requests any respect. Skip them rather than hear Swarmy call FAILURE on each run."
This reverts commit 9c5089a60d.
These were not the droids we were looking for. Actually caused by a BrowserStack issue.
This commit is contained in:
@@ -814,16 +814,6 @@ test("jQuery.ajax - xml: non-namespace elements inside namespaced elements (over
|
||||
});
|
||||
});
|
||||
|
||||
// Skip HEAD tests in TestSwarm/Ngnix with Chrome because they consistently hang
|
||||
if ( location.search.indexOf("swarmURL=") >= 0 && navigator.userAgent.indexOf("Chrome/") >= 0 ) {
|
||||
|
||||
test("jQuery.ajax - HEAD requests (SKIPPED)", function() {
|
||||
expect(1);
|
||||
ok( true, "Skipping HEAD request tests for Chrome in TestSwarm" );
|
||||
});
|
||||
|
||||
} else {
|
||||
|
||||
test("jQuery.ajax - HEAD requests", function() {
|
||||
expect(2);
|
||||
|
||||
@@ -847,9 +837,8 @@ test("jQuery.ajax - HEAD requests", function() {
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
test("jQuery.ajax - beforeSend", function() {
|
||||
expect(1);
|
||||
|
||||
Reference in New Issue
Block a user