Hi,
I'm trying to port my phonegap application to FirefoxOS.
I have below code:
$.ajax({
            url: 'myurl.com',
            dataType: 'jsonp',
            data: ({ }),
            success: function (data) {}
            error: function (jqXHR, textStatus, errorThrown) {}
});

this code is working ok in all platforms, 
but when trying to run it via FirefoxOS emulator i got this error:
[JavaScript Warning: "CSP WARN:  Directive script-src 
app://myapp44.gaiamobile.org violated by 
http://myurl.com?callback=jQuery1820787043830736376_1358956321820&_=1358956321935
"]

What should I do to enable AJAX calls?
Avi.
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to