Kaj-Sören Mossdorf created CB-5211:
--------------------------------------

             Summary: Windows Phone 8 crashes if ajax-request with basic 
authentication is send with wrong credentials
                 Key: CB-5211
                 URL: https://issues.apache.org/jira/browse/CB-5211
             Project: Apache Cordova
          Issue Type: Bug
          Components: WP8
    Affects Versions: 3.1.0
         Environment: Cordova 3.1
Microsoft Visual Studio 2012 Express
Created on Windows 8.1
Tested on Samsung Ativ S
VLC 2.1 HTTP-Interface with basic authentication
            Reporter: Kaj-Sören Mossdorf
            Assignee: Jesse MacFadyen


Hey,
I am currently writing an app for the VLC-Mediaplayer. Since version 2.1 they 
request a password to be set to access their webinterface. I am connecting to 
and controlling the webinterface via ajax-calls. To connect to the server I 
need to send a authorization-header with the credentials. As long as the 
credentials are correct, even if the username-part is empty, the app works like 
charm.
As soon as the request is send with the wrong credentials the app is crashing 
on Windows Phone 8 (Samsung Ativ S). It won't reopen until it is manually 
killed from VS.
First I thought, ok, that might be a jquery-problem. Today I tried the same 
thing with a standard javascript-xmlHttpRequest. The same problem occurs.
On Android and in Chrome (using ripple), the timeout is correctly called, e.g. 
handled.

You'll find my ajax-calls here: http://pastebin.com/9kDansAC. Let me now if you 
need any further informations.

Cheers,
stiller-leser

P.S. Labels newbie and noob - Seriously?



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to