RE: Sysapp Runtime: Hosted App

We filed issue 108 on the repo (https://github.com/sysapps/runtime/issues/108) to make sure the obviously under-specified part #2 is addressed.
Regards,
--
Olivier

From: SUWIRYA Darmawan [mailto:Darmawan.SUWIRYA@gemalto.com]
Sent: Wednesday, July 03, 2013 6:23 PM
To: public-sysapps@w3.org
Subject: Sysapp Runtime: Hosted App

Hi,

We would like to request for clarification regarding Hosted App type.

Use case example.

Part #1 :

1. My-App is a hosted app, hosted at www.my-app.com<http://www.my-app.com>.
2. It hosts the manifest.webapp under www.my-app.com/manifest.webapp<http://www.my-app.com/manifest..webapp>.
3. In its manifest, it asks for permission to access Contact API.
4. User opens Firefox BROWSER, go to www.my-app.com<http://www.my-app.com> for the very first time.
5. What should happen here ?
    A. Will it parse and check the manifest.webapp - and :
         A.1. offer user choice to install ?
         A.2. or, offer user choice to grant a ONE TIME permission to access Contact API ( valid for this session only ) - without install ?
         A.3. or, offer user both choices above ?
         A.4. or, will it force to automatically trigger install ?
    B. Or will it ignore existence of manifest.webapp there, and will just run it as traditional web app - and :
         B.1. simply failed on the page where the Contact API is used ?
         B.2. or will it popup for permission request on the page where the Contact API is used ?


Part #2 :

1. This time, let's say that user has already had My-App installed.
2. User opens Firefox BROWSER, go to www.my-app.com<http://www.my-app.com>.
3. What should happen now ?
     A. Will it launch the already installed My-App out-of-browser as standalone app ?
     B. Will it continue running www.my-app.com<http://www.my-app.com> in the browser ?
          B.1. and automatically inherit the permission to access Contact API that's already granted for the previously installed My-App ?


We think it would be best if we could expect to have A.3 and B.1. mentioned above as the behavior.

Can we expect to have this kind of clarification to be explicitly mentioned somewhere in the runtime spec as well ?

Thanks,
Darmawan.

Received on Tuesday, 23 July 2013 16:19:31 UTC