Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#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 8 years ago by ben hockey

Resolution: fixed
Status: newclosed

fixed in r25475

comment:2 Changed 8 years ago by bill

Milestone: tbd1.7
Note: See TracTickets for help on using tickets.