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

Reply via email to