[w3c/payment-method-id] w3c.github.io/payment-method-id/ is not in parity with the tests (#46)

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