[TIMOB-5249] Kitchensink: Platform>XHR>XML properties, both responseText and responseXML are undefined
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-11-01T15:03:27.000+0000 |
Affected Version/s | Release 1.8.0 |
Fix Version/s | Sprint 2011-43, Release 1.8.0 |
Components | iOS |
Labels | kitchensink, regression |
Reporter | Eric Merriman |
Assignee | Sabil Rahim |
Created | 2011-09-09T17:21:48.000+0000 |
Updated | 2014-06-19T12:46:21.000+0000 |
Description
Description:
While testing KitchenSink, Platform>XHR>XML properties, I noted that the results for both responseText and responseXML were undefined despite the call being successful (200).
As far as I understand, a recent change to change some "null" returns to "undefined" may be the cause of this change. The "response text" for this call should be "null" if no error, or "text" if there was an error.
Steps to reproduce:
1) Install KS 1.8.0 on device
2) Navigate to Platform>XHR>XML properties
3) Launch the test
4) Examine the ouput
Result:
both responseText and responseXML are undefined
Expected:
Both should be "null"
Notes:
Does not occur in 1.7.2
pull pending 611
Tested with SDK: 1.8.0.1.v20111203093857 iPhone 4s 5.0.1 iPad 2 4.3.5 iPod 3rd gen 4.0.2