You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "John McLear (JIRA)" <ji...@apache.org> on 2014/05/11 00:05:37 UTC

[jira] [Comment Edited] (CB-5731) Windows Phone 8 fails to access remote urls

    [ https://issues.apache.org/jira/browse/CB-5731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13994273#comment-13994273 ] 

John McLear edited comment on CB-5731 at 5/10/14 6:40 PM:
----------------------------------------------------------

{code}
$.get("http://time.jsontest.com", function(){alert("yay")}); 
{code}
Still fails to alert("yay") in Cordova 3.4.1-0.1.0
{code}
<access origin="*" />
{code}
Tested on 820 which is WP and I'm locally bringing in jquery-1.9.1.min.js, $ returns an object so jquery is loaded and I can do other jQuery events no problem at all...


was (Author: johnyma22):
$.get("http://time.jsontest.com", function(){alert("yay")}); 

Still fails to alert("yay");

Cordova 3.4.1-0.1.0

<access origin="*" />

Tested on 820 which is WP8

jquery-1.9.1.min.js

$.get returns an object so jquery is loaded..



> Windows Phone 8 fails to access remote urls
> -------------------------------------------
>
>                 Key: CB-5731
>                 URL: https://issues.apache.org/jira/browse/CB-5731
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: 3.3.0
>            Reporter: John McLear
>            Assignee: Sergey Grebnov
>         Attachments: BrokenXDKXHRDemo.zip
>
>
> Doing a very simple:  
> {code:javascript}
> $.get("http://google.com", function(){alert("yay")});
> {code}
> Fails on Windows Phone 8.
> Basically Cross domain requests don't work, this includes when an explicit and/or wildcard exclusion is set in config.xml allowed domains



--
This message was sent by Atlassian JIRA
(v6.2#6252)