You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ismael Olusola Jimoh (JIRA)" <ji...@apache.org> on 2013/02/13 11:02:12 UTC
[jira] [Created] (CB-2428) Javascript stops working on windows
phone 8 when getting a 401 response from ajax
Ismael Olusola Jimoh created CB-2428:
----------------------------------------
Summary: 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.4.0, 2.3.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