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

danyao commented on this pull request.



> +                with true and terminate this algorithm.
+              </li>
+              <li>If <var>checkForInstruments</var> is true:
+                <ol>
+                  <li>Let <var>data</var> be the result of <a data-cite=
+                  "ECMASCRIPT#sec-json.parse">JSON-parsing</a> the second element
+                  in the <var>paymentMethod</var> tuple.
+                  </li>
+                  <li>If required by the specification that defines the
+                  <var>identifier</var>, then <a data-cite=
+                  "WEBIDL#dfn-convert-ecmascript-to-idl-value">convert</a>
+                  <var>data</var> to an IDL value. Otherwise, <a data-cite=
+                  "WEBIDL#dfn-convert-ecmascript-to-idl-value">convert</a> to
+                  <a data-cite="WEBIDL#idl-object">object</a>.
+                  </li>
+                  <li>If conversion results in an <a data-cite=

Done.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/pull/833#discussion_r257415445

Received on Friday, 15 February 2019 22:45:03 UTC