On 06/07/2012 08:54 AM, Anant Narayanan wrote:
The proposed solution (changing getInstalled()) is not enough to cover
all uses cases. For instance, launch() will likely not work correctly
anymore. I really think this is an implementation issue, and that the
API is correct. Also, since we are pushing for standardization of this
API, leaking implementation details will likely not help.
How does this affect launch()?
If I do a getAll(), end up with apps that are only in the registry but
not on the host OS, what wil app.launch() do? Re-install it natively and
launch it? fail?
I disagree that we are leaking any implementation details. If there are
a significant number of platforms that, while implementing the spec
correctly, lead to a broken user experience, then the spec needs to be
fixed. I believe this is currently the case (i.e. we cannot implement a
good user experience on Android and Desktop without this feature).
The point is that they are not implementing the spec correctly.
Fabrice
--
Fabrice Desré
b2g Team
Mozilla Corporation
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps