On Jul 10, 2013 2:22 PM, <[email protected]> wrote: > > To test Firefox OS capabilities, I’m writing a privileged app that can have access to various APIs on the device, but I got stuck in the development. I hope you can help me, I cannot find any useful documentation... > I’d like to have access to Google Maps APIs from my app, but this requires a script to be loaded outside of app package ( Something like <script type="text/javascript" src=" http://maps.googleapis.com/maps/api/js?....."></script> ). > Because of CSP restrictions in privileged apps, this works just with the simulator, but on my device I cannot load these APIs. > Is there any way to disable CSP restrictions (for test purposes only) or any walk around for this problem? I tried > > <iframe src="frame.html" sandbox="allow-same-origin allow-scripts"></iframe>, > > But neither frame.html is able to load these scripts...
Using an iframe should work. Please file a bug if that doesn't work. / Jonas _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
