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}
1 file changed