aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/basic.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-12-01 12:46:17 +0100
committerGitHub <noreply@github.com>2021-12-01 12:46:17 +0100
commit19ced963c63372eae5aca9e1a4baec80b78a2b8e (patch)
tree99d3140ac619844373bc0609de0f68447933abc0 /test/unit/basic.js
parente23190e63cb121da79b92e6641a81a44dcea9252 (diff)
downloadjquery-19ced963c63372eae5aca9e1a4baec80b78a2b8e.tar.gz
jquery-19ced963c63372eae5aca9e1a4baec80b78a2b8e.zip
Tests: Allow statusText to be "success" in AJAX tests
In HTTP/2, status message is not supported and whatever is reported as statusText differs between browsers. In Chrome & Safari it's "success", in Firefox & IE it's "OK". So far "success" wasn't allowed. This made the tests pass locally if you're running an HTTP/1.1 server but on TestSwarm which is now proxied via an HTTP/2-equipped Cloudflare, the relevant test started failing in Chrome & Safari. Allow "success" to resolve the issue. Closes gh-4973
Diffstat (limited to 'test/unit/basic.js')
0 files changed, 0 insertions, 0 deletions