Re: Notification of availability of update. Re: Some comments in Execution and Security Model spec

On Wednesday, April 17, 2013 at 3:27 PM, Min, Hongbo wrote:

> Sorry...See below
>  
> > -----Original Message-----
> > From: Marcos Caceres [mailto:w3c@marcosc.com]
> > Sent: Wednesday, April 17, 2013 10:06 PM
> > To: Min, Hongbo
> > Cc: public-sysapps@w3.org (mailto:public-sysapps@w3.org)
> > Subject: Notification of availability of update. Re: Some comments in Execution
> > and Security Model spec
> >  
> > Hi Hongbo,
> >  
> > On Wednesday, April 17, 2013 at 1:03 PM, Min, Hongbo wrote:
> >  
> > > > >  
> > > > > 9. Does it make sense to add ‘onupdate’ event in Application
> > > > > interface to let
> > > >  
> > > >  
> > > > Application itself be aware of update?
> > > >  
> > > > Could be. What use case did you have in mind? I guess it's similar
> > > > to when a new version of AppCache is available.
> > >  
> >  
>  
>  
>  
> In fact, the use case in my mind is, if application knows when it should be updated, it could send user a notification to prompt user to restart the app or not when it is running.
There is some precedence for this. For example, Chrome on iOS displays an information bar when an update is available in the App Store. I don't know if it's iOS notifying the application if an update is available or not, or if Chrome is doing its own checking somehow.

Kind regards,
Marcos  
--  
Marcos Caceres

Received on Wednesday, 17 April 2013 15:22:47 UTC