]> source.dussan.org Git - jquery.git/commitdiff
Revert "Chrome fails in ajax.js tests because TestSwarm/Ngnix won't give HEAD request...
authorDave Methvin <dave.methvin@gmail.com>
Mon, 1 Oct 2012 02:23:02 +0000 (22:23 -0400)
committerDave Methvin <dave.methvin@gmail.com>
Mon, 1 Oct 2012 02:23:02 +0000 (22:23 -0400)
This reverts commit 9c5089a60d479a959b290a5b4ab8ef38c985e963.

These were not the droids we were looking for. Actually caused by a BrowserStack issue.

test/unit/ajax.js

index b5eec309bc4ed9b9d858f7685679f051c2fe4a4a..1345eae3a73b51f15bf312791c4659d2a870b199 100644 (file)
@@ -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);