[Web Payment] Stop "canmakepayment" firing for short string methods.
Before this patch, a service worker on Android that declared support for "interledger", "basic-card", and one URL-based payment method would receive a "canmakepayment" event from a Payment Request for "interledger". This patch skips sending "canmakepayment" to the service worker on Android if the Payment Request is only for standardized payment methods. After this patch, "canmakepayment" events are sent only for URL-based payment methods (that have been explicitly verified). Bug: 1040994 Change-Id: I3d908e6b6e628b3ca7290adfed394a7be6041f6a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1994305Reviewed-by:Sahel Sharify <sahel@chromium.org> Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#732859}
Showing
Please register or sign in to comment