Re: [w3c/payment-request] Add hasEnrolledInstrument() again (for 1.1) (#931)

@dcrousso, I wonder if this is already covered by the [constructor](https://www.w3.org/TR/payment-request/#constructor)'s step 4.3.6.2. As the notes states, "This step assures that any IDL type conversion errors are caught as early as possible."

When doing the conversion there, it would throw if the required `unsigned long version` is missing. 

However, we could clarify in in the constructor that custom validation could also be performed there. 




-- 
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-request/pull/931#issuecomment-968386738

Received on Sunday, 14 November 2021 23:34:29 UTC