If I may.

Cross domain requests have been possible a few years ago until the W3C
implemented new standards.

The new word is same origin policy (domain)
http://w3.org/Security/wiki/Same_Origin_Policy which mean you will not
be able, in any future web implementations to use cross domain
(scripting) requests.

I hope that helps.

William A. King, Jr.
e-Portfolio: http://www.billaking.com
"Character is proven under the demands of great stress."
Phone: 360-970-6013
Sent from my iPad

On Jan 22, 2013, at 11:45 AM, "[email protected]" <[email protected]> wrote:

> Hi,
>
> I'm developping a map app for firefoxOS. I got it working with 1.0 simulator 
> but it does not seems to take permission into account, i have been able to do 
> cross domain request without setting permission in manifest.webapp.
>
> So i switched to 1.1pre3 which works with permission. I can do XHR request, 
> but one of my request (which works perfectly fine on firefox desktop), does 
> not in the emulator.
>
> After laucnching wireshark, i can see that the request is made and the server 
> respond, but i never seems to be able to retrieve the response (again the 
> same code works perfectly well in firefox desktop). I guess there is 
> something special about it (it's a fairly big response, cutted in a lot of 
> packets).
>
> If you would like to try (i can give the api key in pm) here is a test 
> request :
>
> http://routes.cloudmade.com/API_KEY/api/0.3/45.194,5.73201,48.85693,2.3412/car.js?lang=fr&units=km
>
> Thanks !
> _______________________________________________
> dev-webapps mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-webapps
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to