Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7492] MobileWeb: HttpClient fires onerror twice

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-02-01T13:38:07.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sSprint 2012-03, Release 2.0.0, Release 1.8.2
ComponentsMobileWeb
Labelsstage
ReporterChris Barber
AssigneeChris Barber
Created2012-01-31T20:18:18.000+0000
Updated2017-03-04T00:11:34.000+0000

Description

The onerror callback gets fired twice when an error occurs, once when the error on the XHR object fires and once when that same error throws an exception. The try/catch simply must squeltch any errors, not call onerror.

Comments

  1. Lee Morris 2017-03-04

    Closing ticket due to MobileWeb no longer being supported.

JSON Source