Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Issue 1697873002: bluetooth: Test Web Bluetooth getCharacteristic calls against blacklist. (Closed)

Created:
4 years, 10 months ago by scheib
Modified:
4 years, 10 months ago
Reviewers:
ortuno, Ilya Sherman
CC:
chromium-reviews, darin-cc_chromium.org, jam, ortuno+watch_chromium.org, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@bt-blacklist-integration-
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Add Web Bluetooth blacklist checks to getCharacteristic. Disallow access to blacklisted characteristic UUIDs, as per Web Bluetooth specification: https://webbluetoothcg.github.io/web-bluetooth/#the-gatt-blacklist Test data specification will be updated to match this change. Issue https://github.com/WebBluetoothCG/web-bluetooth/issues/214 has been updated with changes in this patch. BUG=584398 Committed: https://crrev.com/c14fbe2c02a55350c75927383c28e9afb660b391 Cr-Commit-Position: refs/heads/master@{#377478}

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : addressed ortuno's comments #

Total comments: 8

Patch Set 4 : addressed ortuno #

Patch Set 5 : move glucose UUID in code as well #

Messages

Total messages: 21 (11 generated)
scheib
4 years, 10 months ago (2016-02-23 22:04:10 UTC) #4
ortuno
BTW I'm ok with this patch being only about access characteristics and read/writting is done ...
4 years, 10 months ago (2016-02-23 22:37:59 UTC) #5
scheib
isherman, PTAL at histograms.xml Thanks ortuno, see below: https://codereview.chromium.org/1697873002/diff/20001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1697873002/diff/20001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode796 content/browser/bluetooth/bluetooth_dispatcher_host.cc:796: if ...
4 years, 10 months ago (2016-02-24 19:51:30 UTC) #7
Ilya Sherman
histograms.xml lgtm
4 years, 10 months ago (2016-02-24 22:31:15 UTC) #8
ortuno
lgtm https://codereview.chromium.org/1697873002/diff/40001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/1697873002/diff/40001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode723 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:723: EXPECT_CALL(*serial_number_string, ReadRemoteCharacteristic(_, _)).Times(0); I think you should just ...
4 years, 10 months ago (2016-02-24 23:08:17 UTC) #9
scheib
Thanks https://codereview.chromium.org/1697873002/diff/40001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/1697873002/diff/40001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode723 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:723: EXPECT_CALL(*serial_number_string, ReadRemoteCharacteristic(_, _)).Times(0); On 2016/02/24 23:08:17, ortuno wrote: ...
4 years, 10 months ago (2016-02-24 23:38:52 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1697873002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1697873002/60001
4 years, 10 months ago (2016-02-24 23:41:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1697873002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1697873002/80001
4 years, 10 months ago (2016-02-24 23:45:15 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-25 02:57:51 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-02-25 02:59:21 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c14fbe2c02a55350c75927383c28e9afb660b391
Cr-Commit-Position: refs/heads/master@{#377478}

Powered by Google App Engine
This is Rietveld 408576698