On 8/5/13 9:49 AM, Harald Kirschner wrote:
you need the origin for 2 purposes:
Cross Origin Resource Sharing (CORS - http://enable-cors.org/) gives a server the
authority to accept and reject requests by origin. When you open a server up because you
don't know the origins of your clients, you basically allow requests from the whole web.
You can restrict your server to a list of known origins when your clients have known
origins, like apps with "origin".
Thanks Harald! So are you saying that CORS is required if you want to
make use of your app://my-app.com URL?
Also, how can we say that "app://my-app.com" an origin when "app:" is
not a standard protocol (yet)? I don't get any site or anything when I
type app://my-app.com in a browser.
Mark
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps