Hi Santosh, Thank you for using Crosswalk!
I’ve confirmed that the xwalk_hosts works by sending requests via XMLHttpRequest object on Stable 13.42.319.11 but with one known issue: https://crosswalk-project.org/jira/browse/XWALK-2745 , you need to add ‘/’ at the end of the domain in manifest file. https://crosswalk-project.org/documentation/manifest/xwalk_hosts.html For the iframe scenario, do you have any sample codes for reproducing this issue? Did you use ‘allow-same-origin’ attribute in your <iframe> ? BR Belem From: Crosswalk-help [mailto:[email protected]] On Behalf Of Santosh Kumar Sent: Sunday, June 21, 2015 2:30 PM To: [email protected] Subject: [Crosswalk-help] xwalk_hosts not working I am trying to implement google play game services using javascript. In the android app, When the google play service loads up it is loading a URI from google in an iframe. This fails because of SAMEORIGIN problem. I tried the xwalk_hosts solution but i am still getting the same problem. My question is: is the xwalk_hosts option enabled in crosswalk on the latest release (13.42.319.11)? I am raising this question because I tried a grep on the sourcecode of crosswalk and this option is not referenced anywhere in the code. Note: I am not using cordova. It's purely javascript with crosswalk. -- Santosh Kumar S
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
