suggestion for ajax: call out cross-domain failure more clearly
|Reported by:||michaeladamkatz@…||Owned by:|
See the comments below the problem description.
Summary: I had my browser pointed to a file://C:/... URL, and jquery was considering my ajax call to http://localhost/... to be "cross domain", and it was failing pretty silently. My suggestion is for jquery to modify the error string (textStatus) in this case to complain about cross domain or cross protocol to give a clue as to what happened.
Change History (4)
comment:1 Changed 6 years ago by timmywil
- Cc jaubourg added
- Component changed from unfiled to ajax
- Priority changed from undecided to low
comment:2 follow-up: ↓ 3 Changed 6 years ago by jaubourg
- Resolution set to wontfix
- Status changed from new to closed