- Notifications
You must be signed in to change notification settings - Fork20.6k
Commita1e619b
authored
Ajax: Execute JSONP error script responses
Issuegh-4379 was meant to be a bug fix but the JSONP case is a bit special:under the hood it's a script but it simulates JSON responses in an environmentwithout a CORS setup and sending JSON payloads on error responses is quitetypical there.This commit makes JSONP error responses still execute the payload. The regularscript error responses continue to be skipped.Fixesgh-4771Closesgh-47731 parent07a8e4a commita1e619b
2 files changed
+17
-2
lines changedLines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
746 | 746 |
| |
747 | 747 |
| |
748 | 748 |
| |
749 |
| - | |
750 |
| - | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
751 | 753 |
| |
752 | 754 |
| |
753 | 755 |
| |
|
Lines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
810 | 810 |
| |
811 | 811 |
| |
812 | 812 |
| |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
813 | 826 |
| |
814 | 827 |
| |
815 | 828 |
| |
|
0 commit comments
Comments
(0)