Re: [web-bluetooth] Update scanning.bs : BluetoothLEScanFilter(init) specification issue (#520)

https://github.com/WebBluetoothCG/web-bluetooth/pull/520#discussion_r495373656
> Use the language from step 2.5 of request Bluetooth devices to map BluetoothUUID.getService() over this list.

Actually I agree with you. I just copied the syntax I saw previously at `requestLEScan()` definition but didn't see the note at the bottom and I don't think any implementer will.

The user can define `init.service.map()` to anything so better stick to `Array.prototype.map.call(init.service, ...)`.

`options.filters.map()` should be rewritten `Array.prototype.map.call(options.filters, ...)` everywhere as well.

Want me to sumbit another PR on this?

-- 
GitHub Notification of comment by motla
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/pull/520#issuecomment-699457567 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 26 September 2020 08:19:56 UTC