Hi!

For your device to use System Web API like the systemXHR API, you need to
obtain permission for it. For that you need to add it into your manifest
file.
Also, your app type will change to Privileged as you are using a system API.

Regarding other APIs that you might be using, check the CSP table at
Mozilla MDN.

Permission can be included like so:
"type": "privileged",
"permissions": {
        "systemXHR": {
            "description": "Required for AJAX calls in the App"
        }
}

Hope that helps!


On Mon, May 19, 2014 at 5:25 PM, Santosh Shingare
<[email protected]>wrote:

> Dear all,
>
> I am trying to getting responses from server using ajax. it executing well
> in browser, but not for app. can any one help me.
>
> Thank you
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
>



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

Reply via email to