- From: Kenneth Rohde Christiansen <notifications@github.com>
- Date: Mon, 24 Oct 2016 04:25:22 -0700
- To: w3c/manifest <manifest@noreply.github.com>
Received on Monday, 24 October 2016 11:25:58 UTC
kenchris commented on this pull request. > + + async function notifyBeforeInstallPrompt(element) { + if (document.readyState === "complete") { + await trackReadyState(); + } + if (installProcesses.length) { + return; + } + const event = new BeforeInstallPromptEvent("beforeinstallprompt"); + window.dispatchEvent(event); + if (!event.defaultPrevented) { + await requestInstallPrompt(event, element); + } + } + + function trackReadyState() { I don't find the name obvious. waitUntilReadyStateComplete() -- 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/pull/506#pullrequestreview-5429024
Received on Monday, 24 October 2016 11:25:58 UTC