DescriptionEmpty list of payment methods should throw TypeError.
This patch ensures that an empty list of payment methods should throw a
TypeError. Before this patch, any type of error would pass the test. The
code under test:
new PaymentRequest([], buildDetails());
BUG=587995
Committed: https://crrev.com/e98a33075ec069bad2924c2bfb6f610e13a67aa9
Cr-Commit-Position: refs/heads/master@{#397004}
Patch Set 1 #
Total comments: 2
Patch Set 2 : New TypeError #Messages
Total messages: 13 (4 generated)
|