Re: [w3c/payment-request] Add hasEnrolledInstrument() (#833)

ianbjacobs commented on this pull request.



> +          <li>If <var>request</var>.<a>[[\state]]</a> is not "<a>created</a>",
+          then return <a>a promise rejected with</a> an
+          "<a>InvalidStateError</a>" <a>DOMException</a>.
+          </li>
+          <li>Let <var>hasHandlerPromise</var> be <a>a new promise</a>.
+          </li>
+          <li>Return <var>hasHandlerPromise</var>, and perform the remaining
+          steps <a>in parallel</a>.
+          </li>
+          <li>For each <var>paymentMethod</var> tuple in
+          <var>request</var>.<a>[[\serializedMethodData]]</a>:
+            <ol>
+              <li>Let <var>identifier</var> be the first element in the
+              <var>paymentMethod</var> tuple.
+              </li>
+              <li>If the user agent has a <a>payment handler</a> that support

```suggestion
              <li>If the user agent has a <a>payment handler</a> that supports
```

-- 
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-request/pull/833#pullrequestreview-201717361

Received on Friday, 8 February 2019 18:15:18 UTC