[
https://issues.apache.org/jira/browse/CB-2428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648219#comment-13648219
]
Shazron Abdullah commented on CB-2428:
--------------------------------------
iOS CB-2415 and Android CB-2962 (see related issues section) have this same
problem. Mailing list discussion here:
http://markmail.org/thread/sbj5oczow2mbfwmr
> Javascript stops working on windows phone 8 when getting a 401 response from
> ajax
> ---------------------------------------------------------------------------------
>
> Key: CB-2428
> URL: https://issues.apache.org/jira/browse/CB-2428
> Project: Apache Cordova
> Issue Type: Bug
> Components: WP8
> Affects Versions: 2.3.0, 2.4.0
> Reporter: Ismael Olusola Jimoh
> Assignee: Jesse MacFadyen
>
> I am using ajax to authenticate with a username and password. This works as
> expected on iOS, Android and on desktop browsers. However when recieveing a
> 401 in phonegap for WP8, the app stops responding. Anything else looks ok
> (200, 404, 500).
> This issue is not seen in IE on the phone, only in phonegap.
> I have found out that if the server does not put "WWW-Authenticate:" in the
> response header, ajax will exit as expected and other javascript code will
> run fine.
> Has anyone seen this kind of issue, and a possible solution that does not
> involve changing things server side?
--
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: http://www.atlassian.com/software/jira