On 6/18/12 4:37 PM, Anant Narayanan wrote:
On 6/18/12 3:22 PM, Fabrice Desré wrote:
I still don't see why we should do that. With your proposal, a Store
needs to ask to be privileged to see the "correct" list of apps, but the
call will not fail otherwise. So if the user doesn't grant the
permission, it will end up with a potentially incorrect response?

A store always gets the list of installed apps, whether or not they are
privileged - I don't think that incorrect. A store already knows whether
or not you've "acquired" the app. So what's the incorrect response here?

Oh, I apologize, I noticed an error in my original email. This line:

> - getInstalled retains its current behaviour when called from an origin
> that is not privileged (e.g. an app store).

should instead read:

- getInstalled will return the list of "natively" installed apps for an origin that is not privileged, but will retain the current behavior in the sense that only apps installed from that origin will be reported.

-Anant
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to