#13209 closed defect (fixed)
"native-xhr" has test for XMLHttpRequestexistence breaks
Reported by: | ben hockey | Owned by: | ben hockey |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | General | Version: | 1.7.0b1 |
Keywords: | Cc: | Rawld Gill | |
Blocked By: | Blocking: |
Description
the current test is
return !!XMLHttpRequest;
this breaks when XMLHttpRequest does not exist. better test is
return typeof XMLHttpRequest !=== 'undefined';
Change History (2)
comment:1 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Milestone: | tbd → 1.7 |
---|
Note: See
TracTickets for help on using
tickets.
fixed in r25475