Le 16/08/2013 09:04, LASKE, Lionel (C2S) a écrit : > > Hi all, > > I'm trying to port a mobile web site as a Firefox OS Application. > I've got an issue with all AJAX requests due to cross domain call. > When the Firefox application attempt to do an AJAX request to the server, > everything seems to be okay from the emulator (HTTP/1.1 200 as response in > the console) but the XMLHttpRequest status return 0 and no data could be > found in the response. > > I've tried to look for specific permissions in the manifest > (https://developer.mozilla.org/en-US/docs/Web/Apps/App_permissions) but don't > found one related to cross domain call for web activities. "systemXHR" seems > to don't work in this case.
systemXHR should work (I'm using it), but your application needs to have the permission for it and be at least a privileged app :) > > Any advice would be appreciated. > > Best regards from France. > > Lionel. > > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g > _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
