Re: [w3c/payment-method-basic-card] WIP: Last wins (#71)

danyao commented on this pull request.



> +              <li>If <var>id</var> is not "<a>basic-card</a>", continue.
+              </li>
+              <li>Let <var>object</var> be result of <a data-cite=
+              "ecma-262#sec-json.parse">JSON-parsing</a> <var>data</var>.
+              </li>
+              <li>If <var>object</var> is <code>null</code>, continue.
+              </li>
+              <li>Let <var>bcRequest</var> be the result of converting
+              <var>object</var> to <a>BasicCardRequest</a>.
+              </li>
+              <li>If <var>bcRequest</var>'s <a>supportedNetworks</a> is zero
+              length, or <a>supportedNetworks</a> includes
+              <var>networkIdentifier</var>:
+                <ol>
+                  <li>Let <var>modifier</var> be the PaymentMethodModifier from
+                  <var>request</var>.[[\details].modifiers at <var>index</var>.

Hmm elsewhere I see `request.[[serializedMethodData]]` being used to reference the `[[serializedMethodData]]` internal slot of `request`. Perhaps I'm missing something.

-- 
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-method-basic-card/pull/71#discussion_r266968422

Received on Tuesday, 19 March 2019 16:03:58 UTC