Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1710] Android: XHR "onsendstream" event not implemented

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:56:56.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M06
ComponentsAndroid
Labelsandroid, defect, onsendstream, release-1.6.0, xhr
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-04-15T03:00:10.000+0000
Updated2011-04-17T01:56:56.000+0000

Description

There seems to be some commented code where the implementation should be

Attachments

FileDateSize
ticket1710.zip2011-04-15T03:00:11.000+00004294875

Comments

  1. Opie Cyrus 2011-04-15

    (from [1ad18bdf87aa9a13b4a8995a2f1f27c0c63c4b7e]) [#1710 state:fixed-in-qa] Add in onsendstream event for POST messages

    added in onsendstream progress listener and event for POST messages
    https://github.com/appcelerator/titanium_mobile/commit/1ad18bdf87aa9a13b4a8995a2f1f27c0c63c4b7e"> https://github.com/appcelerator/titanium_mobile/commit/1ad18bdf87aa...

  2. Opie Cyrus 2011-04-15

    Please use the attached test app to verify. You should see a large number of onsendstream events fired to log after you click on "Send POST message with image"

  3. Marshall Culpepper 2011-04-15

    (from [93abce5b0d5e60ddba19607b6a10e9301d8534dc]) don't spawn a thread for every progress update, but we can fire each event asynchronously on it's Kroll thread [#1710]
    https://github.com/appcelerator/titanium_mobile/commit/93abce5b0d5e60ddba19607b6a10e9301d8534dc"> https://github.com/appcelerator/titanium_mobile/commit/93abce5b0d5e...

  4. Opie Cyrus 2011-04-15

    Verified the ticket after Marshall's change.

JSON Source