- From: Adrian Hope-Bailie <notifications@github.com>
- Date: Thu, 22 Jun 2017 00:28:18 -0700
- To: w3c/payment-handler <payment-handler@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 22 June 2017 07:29:17 UTC
adrianhopebailie requested changes on this pull request. > + <li>Let <var>permission</var> be the result of running + <a data-cite="!permissions#dfn-retrieve-the-permission-state"> + retrieve the permission state algorithm</a> of the permission + associated with <a>payment handler</a>'s <a>origin</a>. + </li> + <li>If <var>permission</var> is "prompt", ask the user whether + allowing adding new payment instruments for the <a data-cite= + "!HTML#current-settings-object">current settings object</a>'s + origin is acceptable. If it is, set <var>permission</var> to + "granted", and "denied" otherwise. + </li> + <li>Resolve <var>p</var> with <var>permission</var>. + </li> + </ol> + </li> + <li>Return <var>p</var> Shouldn't we return the promise before we resolve it? -- 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/payment-handler/pull/180#pullrequestreview-45639046
Received on Thursday, 22 June 2017 07:29:17 UTC