Re: [w3c/manifest] Add installation prompt control flow (#417)

@mgiuca, @dominickng, do you have an opinion on the following situation:

```JS
window.addeventlistener("beforeinstallprompt", (ev) => {
  // Calling without .preventDefault throws.
  // But is it still possible to call .prompt() after?
  try {
    ev.prompt();
  }catch(err){}
  ev.preventDefault();
  ev.prompt(); // Should this succeed?
  // this will now fail
  ev.prompt();
});
```

That is, should we prevent calling .prompt() twice only after 1 successful call?  

-- 
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-254726542

Received on Wednesday, 19 October 2016 06:50:51 UTC