Skip to content

Commit ebf4d43

Browse files
committed
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 9c5089a. These were not the droids we were looking for. Actually caused by a BrowserStack issue.
1 parent 631fbc7 commit ebf4d43

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

test/unit/ajax.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -814,16 +814,6 @@ test("jQuery.ajax - xml: non-namespace elements inside namespaced elements (over
814814
});
815815
});
816816

817-
// Skip HEAD tests in TestSwarm/Ngnix with Chrome because they consistently hang
818-
if ( location.search.indexOf("swarmURL=") >= 0 && navigator.userAgent.indexOf("Chrome/") >= 0 ) {
819-
820-
test("jQuery.ajax - HEAD requests (SKIPPED)", function() {
821-
expect(1);
822-
ok( true, "Skipping HEAD request tests for Chrome in TestSwarm" );
823-
});
824-
825-
} else {
826-
827817
test("jQuery.ajax - HEAD requests", function() {
828818
expect(2);
829819

@@ -847,9 +837,8 @@ test("jQuery.ajax - HEAD requests", function() {
847837
});
848838
}
849839
});
850-
});
851840

852-
}
841+
});
853842

854843
test("jQuery.ajax - beforeSend", function() {
855844
expect(1);

0 commit comments

Comments
 (0)