- Notifications
You must be signed in to change notification settings - Fork20.6k
Commit7439e22
committed
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-4973(cherry picked from commit19ced96)1 parentb39cfa1 commit7439e22
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1627 | 1627 |
| |
1628 | 1628 |
| |
1629 | 1629 |
| |
1630 |
| - | |
| 1630 | + | |
| 1631 | + | |
1631 | 1632 |
| |
1632 | 1633 |
| |
1633 | 1634 |
| |
|
0 commit comments
Comments
(0)