[Web Payment] Requested method data filter.
This patch adds a utility function (and corresponding unit test) for filtering the requested payment method data according to the payment method names supported by an app. This prevents a payment app from receiving method-specific information about methods that it does not support. Bug: 1061503 Change-Id: I901a2fd6166ddc031f8910816a0e3f8fdc5a7b93 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300344 Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Reviewed-by:Danyao Wang <danyao@chromium.org> Cr-Commit-Position: refs/heads/master@{#798465}
Showing
Please register or sign in to comment