- Notifications
You must be signed in to change notification settings - Fork20.6k
Commit19ced96
authored
Tests: Allow statusText to be "success" in AJAX tests
In HTTP/2, status message is not supported and whatever is reported asstatusText differs between browsers. In Chrome & Safari it's "success", inFirefox & IE it's "OK". So far "success" wasn't allowed. This made the testspass locally if you're running an HTTP/1.1 server but on TestSwarm which isnow proxied via an HTTP/2-equipped Cloudflare, the relevant test started failingin Chrome & Safari.Allow "success" to resolve the issue.Closesgh-49731 parente23190e commit19ced96
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1704 | 1704 |
| |
1705 | 1705 |
| |
1706 | 1706 |
| |
1707 |
| - | |
| 1707 | + | |
| 1708 | + | |
1708 | 1709 |
| |
1709 | 1710 |
| |
1710 | 1711 |
| |
|
0 commit comments
Comments
(0)