incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Mocny (JIRA)" <>
Subject [jira] [Commented] (CB-1406) HTTP-Get via XHR in Web Workers always return status 0 under iOS 6 (Beta 4)
Date Wed, 26 Sep 2012 13:23:08 GMT


Michal Mocny commented on CB-1406:

Jochen, the opposite.  After you pointed out the same origin policy issue I was actually running
into, I verified that the example works fine outside of cordova apps.  Truth be told I haven't
been looking into this at all since I was just trying to verify and I'm not sure how widespread
the issue is.  If I have some spare cycles I'll take another look but if you or anyone would
like to do some digging, by all means!
> HTTP-Get via XHR in Web Workers always return status 0 under iOS 6 (Beta 4)
> ---------------------------------------------------------------------------
>                 Key: CB-1406
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: all iOS devices and simulators
>            Reporter: Jochen Magnus
>            Assignee: Michal Mocny
>              Labels: HTTP, WebWorker, XHR
>             Fix For: 2.2.0
>         Attachments: testworker.js, workertest.html
> HTTPRequests in the Web Workers ending always with http.readyState==4  (that's the ready
state) but with http.status==0, which is an undefined status (normal is 200 for "o.k."). The
file is requested from and fully deliverd by the webserver. 
> This happens under iOS 6 Beta 4 but not under iOS 5.x where the same app with the same
Cordova version works well.
> The problem did not occur with XHR in the native programs main thread nor in non-native
HTML5-apps (WebApps without the use of Cordova). 
> A Xcode test project is available. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message