incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-1101) Origin policy is broken on Android 4.1
Date Thu, 19 Jul 2012 18:57:33 GMT

     [ https://issues.apache.org/jira/browse/CB-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joe Bowser updated CB-1101:
---------------------------

    Description: 
At startup of an app on Android 4.1:
07-19 10:14:43.341: E/Web Console(935): XMLHttpRequest cannot load http://127.0.0.1:37440/f97c255c-2ede-4165-9fb8-f2d613736c14.
Origin null is not allowed by Access-Control-Allow-Origin. at null:1

Every request with XMLHttpRequest gets the same error. It doesent matter what origin is set
in cordova.xml.
On older android versions all works fine.
Tested with Cordova 1.8.1 and 2.0.0rc1
Tested with emulator and Galaxy Nexus with Jelly Bean.

A similar problem is described here:
http://stackoverflow.com/questions/11318703/access-control-allow-origin-error-at-android-4-1

-- Posted from Bugbox for Android

  was:
At startup of an app on Android 4.1:
07-19 10:14:43.341: E/Web Console(935): XMLHttpRequest cannot load http://127.0.0.1:37440/f97c255c-2ede-4165-9fb8-f2d613736c14.
Origin null is not allowed by Access-Control-Allow-Origin. at null:1

Every request with XMLHttpRequest gets the same error. It doesent matter what origin is set
in cordova.xml.
On older android versions all works fine.
Tested with Cordova 1.8.1 and 2.0.0rc1
Tested with emulator and Galaxy Nexus with Jelly Bean.

A similar problem is described here:
http://stackoverflow.com/questions/11318703/access-control-allow-origin-error-at-android-4-1

    
> Origin policy is broken on Android 4.1
> --------------------------------------
>
>                 Key: CB-1101
>                 URL: https://issues.apache.org/jira/browse/CB-1101
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>         Environment: Android 4.1
>            Reporter: Horst Klier
>            Assignee: Joe Bowser
>            Priority: Blocker
>
> At startup of an app on Android 4.1:
> 07-19 10:14:43.341: E/Web Console(935): XMLHttpRequest cannot load http://127.0.0.1:37440/f97c255c-2ede-4165-9fb8-f2d613736c14.
Origin null is not allowed by Access-Control-Allow-Origin. at null:1
> Every request with XMLHttpRequest gets the same error. It doesent matter what origin
is set in cordova.xml.
> On older android versions all works fine.
> Tested with Cordova 1.8.1 and 2.0.0rc1
> Tested with emulator and Galaxy Nexus with Jelly Bean.
> A similar problem is described here:
> http://stackoverflow.com/questions/11318703/access-control-allow-origin-error-at-android-4-1
> -- Posted from Bugbox for Android

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message