Re: [w3c/payment-request] add redactList for PaymentAddress (Part 1) (#654)

marcoscaceres commented on this pull request.



> @@ -2855,8 +3170,13 @@ <h2>
             <a>Queue a task</a> on the <a>user interaction task source</a> to
             run the following steps:
             <ol>
+              <li>Let <var>redactList</var> be the empty list. Optionally,
+              append the following items to <var>redactList</var>: «
+              "organization", "phone", "recipient", "addressLine" ».

As the algorithm is specified, the `redactList` is always required (even if empty). Thus passing in the empty one should be ok. 

I did this because I didn't want to write "if `redactList` was passed and if includes 'xxx' ..." over and over. Hopefully that's ok 🤞

-- 
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/654#discussion_r173059842

Received on Thursday, 8 March 2018 04:11:29 UTC