- From: Rouslan Solomakhin <notifications@github.com>
- Date: Wed, 21 Jun 2017 07:10:31 -0700
- To: w3c/payment-handler <payment-handler@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 21 June 2017 14:11:29 UTC
rsolomakhin commented on this pull request.
> @@ -697,6 +716,14 @@
When called, this method executes the following steps:
</p>
<ol>
+ <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>.
+ </li>
+ <li>If <var>permission</var> is not "granted", then return a
+ <a>Promise</a> rejected with a <a>SecurityError</a>.
`NotAllowedError` might be better, IMHO.
--
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-45444518
Received on Wednesday, 21 June 2017 14:11:29 UTC