- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 09 Nov 2016 15:07:29 -0800
- To: w3c/manifest <manifest@noreply.github.com>
Received on Wednesday, 9 November 2016 23:08:05 UTC
I'm a bit unclear why the promise fulfills with an object which is just a wrapper around userChoice, instead of with userChoice directly. Maybe it's future extensibility. All the internal slots have an extra slash in them in the rendered output. The constructor is a bit troublesome, since events all share the same constructor logic in most implementations, namely https://dom.spec.whatwg.org/#constructing-events. Maybe that logic needs to move to the prompt method? That seems like it will change things a decent bit. "request to present an install prompt" isn't cross-linking correctly. When referring to internal slots, it seems better to use obj.[[slotName]] notation. Currently obj is missing, which is a bit confusing since it differs: in prompt() it should be `this`, whereas in "request to present an install prompt" it should be _event_, I think. -- 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/520#issuecomment-259553065
Received on Wednesday, 9 November 2016 23:08:05 UTC