| commit | e98a33075ec069bad2924c2bfb6f610e13a67aa9 | [log] [tgz] |
|---|---|---|
| author | rouslan <rouslan@chromium.org> | Wed Jun 01 00:58:35 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Wed Jun 01 00:59:59 2016 |
| tree | d59d004cd9c180f07df963903eda4084ef0dbdee | |
| parent | 851bbadbc2348dcf79851c9be1b766e4ce00a2ab [diff] |
Empty 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 Review-Url: https://codereview.chromium.org/2022283004 Cr-Commit-Position: refs/heads/master@{#397004}