Re: [web-nfc] NFCReadingEvent has an attribute with a type of dictionary? (#232)

Super late to the discussion here (sorry @zolkis!), but please avoid "object" and "any" for security reasons... I see you already are, but making a general statement (@kenchris, something you should add to the TAG API design guidelines). If you need something "map-like" use a maplike IDL declaration. Otherwise, if the thing looks like a dictionary (where the members are all known), then please use a dictionary.... similarly to what the V8 Folks said, Gecko also prefers well defined Dictionaries and/or Interfaces over object.   


-- 
GitHub Notification of comment by marcoscaceres
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/232#issuecomment-506198841 using your GitHub account

Received on Thursday, 27 June 2019 05:42:43 UTC