Re: The app: URI scheme

On Friday, 22 February 2013 at 11:24, John Lyle wrote:

> Hi Marcos, all,
>  
> This is a great proposal, thanks for sharing it. I have one observation -
>  
> In the app: URI scheme, each instance of an application has a unique authority and therefore a unique origin. For packaged applications this can isolate and differentiate between two instances of the same application. For hosted applications, the app: scheme doesn’t apply (at least, that's what I'm assuming). In this case, if you have multiple instances of the same application, each instance will have the same origin. This might imply the sharing of data between instances.
>  
> This makes an instance of a packaged and hosted application quite different. I'm not sure whether this is a problem - there are many differences between a hosted and packaged application - but it might cause some confusion, so I think it would be worth documenting the intention in the system applications execution model in that deliverable. But this also depends on how instances are dealt with in Firefox OS and Tizen - can you have multiple instances of the same application running? Is it the same for packaged and hosted apps? In webinos we support multiple instances.
>  

I'm wondering the same thing (and tend to agree that it might be a bit confusing). Once we get consensus in the runtime spec, it's easy to update the URI spec to make this restriction (i.e., an app can only have one running  instance - but that instance can have multiple windows/tabs, etc.).   

--  
Marcos Caceres
http://datadriven.com.au

Received on Friday, 22 February 2013 12:54:20 UTC