blob: ab4a200fd0d4413a5b3b50f1bf101c286d9a0e77 [file] [log] [blame]
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.