Hi all,

Im implementing a webapp for FirefoxOS and now im trying to test it in r2d2b2g 
but im having some troubles:

My app ask for Ajax jsonp request to a external server to get data, i.e:

$.ajax({
dataType: "jsonp",
url: "http://externalurl.com";
...
});

I tried to allow them through the manifest file, using:

"csp":"default-src *;script-src externalurl.com; options eval-script 
inline-script;"

and lot of combinations of csp configuration but no one works, it seems like a 
problem between the schemes app and http.

Which is the best way to allow this kind of request in a FireFox OS App?

Thank you very much.

Pedro
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to