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

Issue 2387293008: bluetooth: Require context is connected for getCharacteristic(s) (Closed)

Created:
4 years, 2 months ago by ortuno
Modified:
4 years, 2 months ago
Reviewers:
Jeffrey Yasskin
CC:
blink-reviews, chromium-reviews, haraken, ortuno+watch_chromium.org, scheib+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Require context is connected for getCharacteristic(s) Promises reject if the frame is not connected or if the frame disconnected during the getCharacteristic(s) operation. BUG=608538 Committed: https://crrev.com/3aecaf01516c28df06c0b29881678a4548cbdfcf Cr-Commit-Position: refs/heads/master@{#424113}

Patch Set 1 #

Patch Set 2 : Use right parent #

Patch Set 3 : Fix line length #

Total comments: 4

Patch Set 4 : Address jyasskin's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+427 lines, -14 lines) Patch
A third_party/WebKit/LayoutTests/bluetooth/getCharacteristic/device-disconnects-before.html View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/getCharacteristic/device-disconnects-during.html View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/getCharacteristic/disconnect-called-before.html View 1 2 1 chunk +10 lines, -6 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/getCharacteristic/disconnect-called-during.html View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/getCharacteristic/reconnect-during.html View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/device-disconnects-before.html View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/device-disconnects-before-with-uuid.html View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/device-disconnects-during.html View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/device-disconnects-during-with-uuid.html View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/disconnect-called-before.html View 1 2 1 chunk +10 lines, -6 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/disconnect-called-before-with-uuid.html View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/disconnect-called-during.html View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/disconnect-called-during-with-uuid.html View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/reconnect-during.html View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/getCharacteristics/reconnect-during-with-uuid.html View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.cpp View 1 2 3 5 chunks +41 lines, -2 lines 0 comments Download

Messages

Total messages: 28 (20 generated)
ortuno
jyasskin: PTAL
4 years, 2 months ago (2016-10-06 07:01:10 UTC) #10
ortuno
Also here is the previous patch in case you want to compare: https://codereview.chromium.org/2183903002 You might ...
4 years, 2 months ago (2016-10-06 07:11:51 UTC) #13
Jeffrey Yasskin
LGTM with the two changes. Having a cross product of tests makes me nervous, either ...
4 years, 2 months ago (2016-10-06 17:50:32 UTC) #16
ortuno
We are testing the same code path 3x times because we use the same path ...
4 years, 2 months ago (2016-10-07 04:46:00 UTC) #19
Jeffrey Yasskin
On 2016/10/07 04:46:00, ortuno wrote: > We are testing the same code path 3x times ...
4 years, 2 months ago (2016-10-07 18:50:49 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2387293008/60001
4 years, 2 months ago (2016-10-09 23:25:45 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-10 03:03:44 UTC) #26
commit-bot: I haz the power
4 years, 2 months ago (2016-10-10 03:05:53 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3aecaf01516c28df06c0b29881678a4548cbdfcf
Cr-Commit-Position: refs/heads/master@{#424113}

Powered by Google App Engine
This is Rietveld 408576698