- From: Moe Ahmadi <notifications@github.com>
- Date: Wed, 23 Aug 2017 07:10:08 -0700
- To: w3c/payment-method-id <payment-method-id@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 23 August 2017 14:10:50 UTC
https://w3c.github.io/payment-method-id/ mentions the following invalid method identifiers are all ignored by the user agent. Some user agents might inform developers that identifiers are invalid to help them fix issues.
const invalid = [
{
// ❌ Contains Unicode character outside the valid ranges.
supportedMethods: "basic-💳",
},
{
// ❌ Contains uppercase characters.
supportedMethods: "Basic-Card",
},
{
// ❌ Contains Unicode characters outside the valid ranges.
supportedMethods: "¡basic-*-card!",
},
];
However the following test expects a RangeError to be thrown when such PMIs are encountered.
https://w3c-test.org/payment-request/payment-request-ctor-pmi-handling.https.html
@marcoscaceres, which one is to be trusted?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-method-id/issues/46
Received on Wednesday, 23 August 2017 14:10:50 UTC