PaymentRequest: Fix a bug that retry errors are not consistently shown
This patch includes the following things: - Add retry error labels for dropdown fields - Move the reset logic from afterTextChanged() to onTextChanged() because the afterTextChanged() event happens when setText() is called from formatters (e.g. phone number formatter) - Re-enable testRetryWithShippingAddressErrors() test Render Tests: PaymentRequestRetryTest#testRetryWithShippingAddressErrors PaymentRequestRetryTest#testRetryWithPayerErrors Manual Tests: wpt/payment-request/PaymentValidationErrors/retry-shows-shippingAddress-member-manual.https.html wpt/payment-request/PaymentValidationErrors/retry-shows-payer-member-manual.https.html Bug: 861704, 926252, 942216 Change-Id: I1917e5c6cea05bcb49221c4eee21afa676f50885 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1610258Reviewed-by:David Trainor <dtrainor@chromium.org> Reviewed-by:
Rouslan Solomakhin <rouslan@chromium.org> Commit-Queue: Jinho Bang <jinho.bang@samsung.com> Cr-Commit-Position: refs/heads/master@{#660733}
Showing
57.2 KB