- From: Marcos Cáceres <notifications@github.com>
- Date: Wed, 19 Oct 2016 22:15:01 -0700
- To: w3c/manifest <manifest@noreply.github.com>
Received on Thursday, 20 October 2016 05:15:32 UTC
@mgiuca, d'oh, I think then we had a miscommunication back in https://github.com/w3c/manifest/issues/417#issuecomment-254726542 I thought we had agreed that .prompt() can only be called once. If prompt() can be called more than once, then I agree that the userChoice promise cannot be resolved. So, should we agree that this is ok: ```JS window.addEventListener('beforeinstallprompt', () => { try { e.prompt(); // Error: preventDefault not called } catch (e) {} e.preventDefault(); e.prompt(); // This is fine. }); ``` -- 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-255011030
Received on Thursday, 20 October 2016 05:15:32 UTC