Re: [w3c/manifest] Add install and beforeinstallprompt events (#417)

I'm having trouble deciding what to do if the installation process fails: That is, once the user makes a choice to proceed with installation, it can fail because: out of space, security error, etc. It doesn't seem right to me to make `.prompt()`'s promise handle this case, as was [previously suggested](https://github.com/slightlyoff/AppInstallImprovements/blob/master/explainer.md#controlling-installation) by @slightlyoff. 

If we are going to handle it at all, I feel there should be an `window.oninstallerror` event handler instead. 

Thoughts @mounirlamouri, @kenchris, @anssiko ? 

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/417#issuecomment-211243693

Received on Monday, 18 April 2016 07:34:08 UTC