W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > January 2017

[web-bluetooth] Use the canonicalizing algorithm when querying the bluetooth permission

From: Zakor Gyula via GitHub <sysbot+gh@w3.org>
Date: Mon, 16 Jan 2017 12:46:17 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issues.opened-201010573-1484570775-sysbot+gh@w3.org>
zakorgy has just created a new issue for 
https://github.com/WebBluetoothCG/web-bluetooth:

== Use the canonicalizing algorithm when querying the bluetooth 
permission ==
In the [query the "bluetooth" permission 
algorithm](https://webbluetoothcg.github.io/web-bluetooth/#query-the-bluetooth-permission)
 before `Step 6.2`. I think there should be a check with calling the 
[canonicalization](https://webbluetoothcg.github.io/web-bluetooth/#bluetoothlescanfilterinit-canonicalizing)
 on each filter in `desc.filters`, to prevent using not valid filters 
or passing blocklisted services. If any of these calls return with an 
error, propagate that error and abort the steps. Otherwise use the 
results of the canonicalization to match a filter in `Step 6.2`.


Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/347 using your 
GitHub account
Received on Monday, 16 January 2017 12:46:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 16 January 2017 12:46:26 UTC