[TIMOB-5250] Kitchensink: Platform>XHR>File download, unexpected console output, file download progress: "infinity"
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-11-17T13:35:04.000+0000 |
| Affected Version/s | Release 1.8.0 |
| Fix Version/s | Release 1.8.0 |
| Components | iOS |
| Labels | kitchensink, regression |
| Reporter | Eric Merriman |
| Assignee | Sabil Rahim |
| Created | 2011-09-09T17:33:57.000+0000 |
| Updated | 2014-06-19T12:46:16.000+0000 |
Description
Description:
While testing KitchenSink, Platform>XHR>File download, I noted console output that I did not see in 1.7.2 after tapping "Set Webview (data)"
Thu Sep 8 13:53:34 unknown UIKitApplication:com.appcelerator.titanium[0x407c][90] : [DEBUG] loading: /var/mobile/Applications/60C6C352-43F4-4E2B-B11E-F3D53B3D7B45/KitchenSink.app/examples/xhr_filedownload.js, resource: examples/xhr_filedownload_js
Thu Sep 8 13:53:38 unknown UIKitApplication:com.appcelerator.titanium[0x407c][90] : [INFO] ONDATASTREAM1 - PROGRESS: Infinity
Thu Sep 8 13:53:38 unknown UIKitApplication:com.appcelerator.titanium[0x407c][90] : [INFO] IN ONLOAD
Thu Sep 8 13:53:38 unknown UIKitApplication:com.appcelerator.titanium[0x407c][90] : [DEBUG] loading: /var/mobile/Applications/60C6C352-43F4-4E2B-B11E-F3D53B3D7B45/Documents/test.pdf, resource: var/mobile/Applications/60C6C352-43F4-4E2B-B11E-F3D53B3D7B45/Documents/test_pdf
Thu Sep 8 13:53:38 unknown UIKitApplication:com.appcelerator.titanium[0x407c][90] : [WARN] couldn't load URL: app://com.appcelerator.titanium/var/mobile/Applications/60C6C352-43F4-4E2B-B11E-F3D53B3D7B45/Documents/test.pdf
Steps to reproduce:
1) Install KS 1.8.0 on device
2) Navigate to Platform>XHR>File download
3) Tap "Set webview (data)"
4) Examine the console output
Result:
Progress is "infinity"
Expected:
1.7.2 simply lists the progress, but does not include "Infinity"
Notes:
Does not occur in 1.7.2
pull pending... #607