On Tue, May 28, 2013 at 2:39 AM, <[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...
The iframe should load the scripts. Please file a bug with a small testcase if that's not the case. / Jonas _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
