Re: [payment-request-tests] Add PaymentRequest constructor tests (#3441)

@halindrome See the related https://github.com/w3c/browser-payment-api/issues/235 that I just filed.

For the `currency` tests, since [the spec states, “any string is considered valid”](https://w3c.github.io/browser-payment-api/#dfn-currency), it seems to me we need to change the test expectation to be that the UA does *not* throw—that is, the opposite of the current test expectation. (Which incidentally also means that Chrome will fail the test since it doesn’t conform to that spec requirement.)

But please let me know if I’m misunderstanding something.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/3441#issuecomment-239085454

Received on Thursday, 11 August 2016 06:49:10 UTC