w3c / contact-picker

Contact Picker API
https://www.w3.org/TR/contact-picker/
Other
74 stars 8 forks source link

ContactInfo can be a dictionary #8

Closed annevk closed 5 years ago

annevk commented 5 years ago

I don't see a need for a class here with properties that return frozen arrays. Let's just make it a plain object with normal arrays (sequence in IDL).

annevk commented 5 years ago

USVString seems nice to guarantee by the way. Seems unlikely we'd need to allow lone surrogates here.

beverloo commented 5 years ago

Agreed, thanks for the feedback. Domenic commented on the interface -> dictionary too in #5.