Re: [web-bluetooth] Allow filtering by device name and name prefix in requestDevice().

I like that a solution for names is being worked on. But:
- Why support a substring match only for prefix? If a substring match 
is supported why not for any portion of the string? I agree that most 
devices seem to use a prefix, but it's hard to be exhaustive. "Red 
Fish", "Blue Fish" seem reasonable names too. 
- The substring can be as short as a single character. This starts to 
have fairly diminishing returns as a filter for security purposes. It 
makes me wonder why not support an empty filter too.

-- 
GitHub Notif of comment by scheib
See 
https://github.com/WebBluetoothCG/web-bluetooth/pull/174#issuecomment-150104516

Received on Thursday, 22 October 2015 04:39:01 UTC