- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 24 Oct 2016 05:36:49 -0700
- To: w3c/manifest <manifest@noreply.github.com>
Received on Monday, 24 October 2016 12:37:20 UTC
marcoscaceres commented on this pull request.
> + }
+
+ if (internalSlots.get(this).didPrompt) {
+ const msg = ".prompt() can only be successfully called once.";
+ throw new DOMException(msg, "InvalidStateError");
+ }
+ requestInstallPrompt(this);
+ }
+
+ get userChoice() {
+ return internalSlots.get(this).userChoice;
+ }
+ }
+
+ async function notifyBeforeInstallPrompt(element) {
+ if (document.readyState === "complete") {
woops!
--
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
Received on Monday, 24 October 2016 12:37:20 UTC