| This is a testharness.js-based test. |
| PASS Smoke test |
| FAIL An invalid enum value for PaymentDetailsInit.total's type throws TypeError assert_throws: function "() => { |
| new PaymentRequest(validMethods, invalidDetails); |
| }" did not throw |
| FAIL Invalid enum value for PaymentItem.type member throws a TypeError assert_throws: function "() => { |
| new PaymentRequest(validMethods, invalidDetails); |
| }" did not throw |
| PASS Valid enum values for PaymentItem.type member does not throw |
| Harness: the test ran to completion. |
| |