Hi Nicolai,

Our QA tested it should not be related with xwalk_hosts which make cross-origin 
requests using XMLHttprequest.

For webgl, we have a good example: 
https://github.com/crosswalk-project/crosswalk-samples/tree/master/webgl

This sample work well without xwalk_hosts setting in Android. I notice that 
there have cross origin setting for load image.
https://github.com/mrdoob/three.js/blob/r60/build/three.js

Line 10081:    crossOrigin: 'anonymous',

Line 10202:    image.crossOrigin = _this.crossOrigin;
Line 10203:    image.src = url;

Tried to add image.crossOrigin = "Anonymous" when load image, no SecurityError 
thrown again. Please try it.

BR
Belem

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of 
Nicolai Sonne
Sent: Tuesday, January 5, 2016 9:19 PM
To: [email protected]
Subject: [Crosswalk-help] Android: Disable CORS using a ContentProvider in 
Crosswalk

Hello,

I have a question regarding CORS settings:
I have described my question at stackoverflow:

http://stackoverflow.com/q/34612652/5726648

Help would be much appreciated.

Venlig hilsen / Best regards

Nicolai Sonne
Mobile: (+45) 28 43 24 76
[email protected]<mailto:[email protected]>


entrepriseportalen

Pernexus Systems

Herlufsholmvej 37

DK-2720 Vanløse

www.pernexus.com<http://www.pernexus.com>


[LinkedIn follow]<https://www.linkedin.com/company/pernexus-systems>




_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to