Hey Sorry for the false positive It was filesystem permissions issues with my android emulator with specific files
Thanks for you check! Bnaya. On Wed, Jul 1, 2015 at 10:08 AM, Lin, Wanming <[email protected]> wrote: > Hi, Bnaya Peretz > > > > Thanks for using Crosswalk! > > > > I just tried to reproduce this issue with below steps: > > 1. Create a sample app with Cordova CLI 5.0.2: $ corodva create > svgsample com.example.svgsample svgsample > > 2. Add android platform: $ cd svgsample & cordova platform add > android > > 3. Add Crosswalk webview plugin: $ cordova plugin add > cordova-plugin-crosswalk-webview > > 4. Put your svg content(http://pastebin.com/JmAJwfAz) into > sample.svg file > > 5. Reference <img src=”sample.svg”></img> in www/index.html > > 6. Build and run app: $ cordova run android > > > > I both tried Crosswalk beta 13 and 14 on Nexus 5(Android 5.0), but no > error occur and I can see the image.(Attached the screenshot) > > Is there any difference with my steps or env? Or Could you please provide > more info? I will help to reproduce again. > > BTW, I didn’t change the csp policy, it is default. > > > > Thanks, > > Wanming > > > > *From:* Crosswalk-help [mailto: > [email protected]] *On Behalf Of *Bnaya > Peretz > *Sent:* Tuesday, June 30, 2015 8:25 PM > *To:* [email protected] > *Subject:* [Crosswalk-help] network request fails with > net::ERR_ACCESS_DENIED for svg files with css inside them > > > > I have a cordova project > > I'm displaying svg file using simple img tag. > > > > when i''m running the app on the system webview (android 5.1, latest > webview version) its shown ok. > > when i'm running the same project with the crosswalk plugin, svg files > with <style> tag in them, the network request to the file itself fails with > the error "net::ERR_ACCESS_DENIED" > > i've tried crosswalk 13 and 14 > > > > My csp policy allows inline css "style-src 'unsafe-inline' 'self';" > > > > one of the files i'm having trouble with: > > http://pastebin.com/JmAJwfAz >
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
