[TIMOB-2167] Android: unexpected results on XHR Error callback
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2014-02-11T17:44:51.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | core |
Reporter | Thomas Huelbert |
Assignee | Sunila |
Created | 2011-04-15T03:12:32.000+0000 |
Updated | 2017-03-17T18:19:32.000+0000 |
Description
1.5.0.70ce98 g2 running 2.2, not seen on 1.6
1.Platform>xhr>Error Call back
resultsd: http://www.fre100.com">www.fre100.com
expected: the g1 returned a bunch of data. Not sure if this is a test issue on this platform, hence no regression tag.
Tested on a Samsung Galaxy S2 using TiSDK 2.2.0v20120821095711, issue reproducible and still valid.
I can't reproduce the issue, tried the following test case and the proper error is shown. var xhr = Titanium.Network.createHTTPClient(); xhr.onerror = function(e) { Ti.API.info("ERROR " + e.error); alert(e.error); }; xhr.onload = function() { Ti.API.info("SUCCESS"); }; // open the client and encode our URL xhr.open('GET',"http://www.fre100.com"); // send the data xhr.send();
Closing ticket as the issue cannot be reproduced.