aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2012-09-30 22:23:02 -0400
committerDave Methvin <dave.methvin@gmail.com>2012-09-30 22:23:02 -0400
commitebf4d43011b7a6add9ded38b4322163f8b030cb6 (patch)
tree156253c291a8f695791957818323baccfd1a1dec
parent631fbc769c952381fc3f42ffd77f7b5e4e6a21cc (diff)
downloadjquery-ebf4d43011b7a6add9ded38b4322163f8b030cb6.tar.gz
jquery-ebf4d43011b7a6add9ded38b4322163f8b030cb6.zip
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 9c5089a60d479a959b290a5b4ab8ef38c985e963. These were not the droids we were looking for. Actually caused by a BrowserStack issue.
-rw-r--r--test/unit/ajax.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js
index b5eec309b..1345eae3a 100644
--- a/test/unit/ajax.js
+++ b/test/unit/ajax.js
@@ -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);