Le mercredi 23 janvier 2013 02:14:15 UTC+1, ptheriault a écrit : > Meh, disregard, I misread the original email. You said you are NOT using the > systemXHR permission to do a cross-origin request. So are you saying that you > have CORS headers set correctly to allow cross-origin XHR, but the request is > not being received? > > > > > > On Jan 23, 2013, at 11:57 AM, ptheriault wrote: > > > > > TLDR: Have you set your app type to privileged in your manifest? (i.e. > > "type": "privileged") > > > > > > This API is only available to privileged apps, so your app needs to request > > that in its manifest. That means the app also needs to be a signed packaged > > app for production. I'm not across the exact methodology for setting up app > > signing in a developer environment, but someone on this list probably is. > > > > > > In the meantime, if you enable 'developer mode' you can install any app as > > a privileged app. (under Settings apps -> device information -> more > > information -> developer) > > > > > > For the list of which privileges are available to which app type, see: > > https://docs.google.com/spreadsheet/ccc?key=0Akyz_Bqjgf5pdENVekxYRjBTX0dCXzItMnRyUU1RQ0E#gid=0 > > > > > > > > > > > > > > > On Jan 23, 2013, at 11:42 AM, Matt Basta wrote: > > > > > >> This response is incorrect. Apps allow cross-domain XHR if the appropriate > >> permission is listed in the manifest.webapp file under the permissions > >> field (as the OP has purportedly done). > > >> > > >> This sounds like a bug and should be filed on bugzilla > > > > > > _______________________________________________ > > > dev-webapps mailing list > > > [email protected] > > > https://lists.mozilla.org/listinfo/dev-webapps
No i have set systemXHR permission and privileged type in app manifest since i went from 1.0 emulator to 1.1(and firefox 18). And I can do XHR request for retrieving my tiles (works well) and doing search. The only request which has issues is the routing one (the request is made but it seems that the emulator does not understand the multiple packets response, but that's just a guess). Here is a pcap file of the request : https://www.box.com/s/ub6o7urq9c220pzrgntz Thanks ! _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
