Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editorial: destructure tuple (closes #498) #530

Merged
merged 1 commit into from
May 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 11 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -678,15 +678,20 @@ <h2>
<li>Return <var>acceptPromise</var> and perform the remaining steps
<a>in parallel</a>.
</li>
<li>For each <var>paymentMethod</var> in
<li>For each <var>paymentMethod</var> tuple in
<var>request</var>.<a>[[\serializedMethodData]]</a>:
<ol>
<li>Let <var>identifiers</var> be the first element in the <var>
paymentMethod</var> tuple.
</li>
<li>Let <var>data</var> be the second element in
<var>paymentMethod</var> tuple.
</li>
<li>Determine which <a>payment handlers</a> support any of the
<a>payment method identifiers</a> given by the first element of
the <var>paymentMethod</var> tuple. For each resulting payment
handler, if payment method specific capabilities supplied by the
payment handler match those provided by the second element of the
tuple, the payment handler matches.
<a>payment method identifiers</a> given <var>identifiers</var>.
For each resulting payment handler, if payment method specific
capabilities supplied by the payment handler match those provided
by <var>data</var>, the payment handler matches.
</li>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this language sufficient to capture the case where no filters are provided in the data and so all payment handlers match?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll check and file a new bug if it doesn't.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logged #532

</ol>
</li>
Expand Down