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

I meant that `prompt` can only be called once successfully. Calling `prompt` with an error should not set the didPrompt flag, IMHO.

If you do want to make it so calling it in error prevents you from calling it again (I won't strongly object), then I still think my second example above holds: if you call `prompt` in error, but then don't call `preventDefault`, you will still get a prompt, so `userChoice` can still resolve. Ergo, calling `prompt` in error should not reject `userChoice`.

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

Received on Thursday, 20 October 2016 05:19:56 UTC