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

https://heycam.github.io/webidl/#dfn-optional-argument says,

> If the type of an argument is a dictionary type ..., and that dictionary type and its ancestors have no required members, and the argument is either the final argument or ..., then the argument must be specified as optional.

So, even though the argument isn't actually optional, the WebIDL compiler won't let us omit that keyword.

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

Received on Wednesday, 2 January 2019 18:33:00 UTC