W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > December 2018

Re: [web-bluetooth] Modify BluetoothLEScanOptions default values (#423)

From: Reilly Grant via GitHub <sysbot+gh@w3.org>
Date: Fri, 28 Dec 2018 21:46:48 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-450432525-1546033607-sysbot+gh@w3.org>
There is an error thrown if neither `filters` nor `acceptAllDevices` is set so it doesn't particularly matter if the IDL allows `options` to be omitted because the steps will fail later. I think it's mostly a question of documentation: since the parameter is effectively required then it doesn't make sense for it to be marked optional.

GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/pull/423#issuecomment-450432525 using your GitHub account
Received on Friday, 28 December 2018 21:46:50 UTC

This archive was generated by hypermail 2.3.1 : Friday, 28 December 2018 21:46:50 UTC