Size of an installed application? Re: Some comments in Execution and Security Model spec

On Wednesday, April 17, 2013 at 1:03 PM, Min, Hongbo wrote:  
> So do we have a field to store the size of application itself after installation? It may be useful for an application manager to display such an information to end-user.

This is true. From time to time I check which apps are gobbling up most space on my phone (specially if there are apps I've not used in a while, I often uninstall them to make room for new apps). As such, I think there is a strong use case for this from the end-user's perspective… but I don't know if it's important on the system side of things or for the local app to know these things.  

Thus. what is the use case for this information to be revealed to the developer in JavaScript (as opposed to through developer tools)? Is it expected that applications will be able to uninstall themselves? Or will apps only be uninstallable through some kind application management interface provided by the system?  
> If a user may prefer to uninstall the less unused application that takes up a huge space.

I guess browser vendors can weigh in here about what this actually means. Does it mean the sum of everything in the cache + appCache + localStorage + IndexDB + cookies + Alarm data + ???? ?  
  
--  
Marcos Caceres

Received on Wednesday, 17 April 2013 13:59:19 UTC