I don't think the Content Security Policy for standalone Firefox OS apps allows that. I think it is all or nothing; you are either a packaged and self-contained 'privileged' app, or you are a web app that is loaded from the web.
"permissions": { "systemXHR": {} }
https://developer.mozilla.org/en-US/docs/Apps/App_permission... Some info