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

Issue 2445633002: bluetooth: Require frame to be connected for writValue to succeed. (Closed)

Created:
4 years, 2 months ago by ortuno
Modified:
4 years, 1 month ago
Reviewers:
scheib
CC:
blink-reviews, chromium-reviews, darin-cc_chromium.org, einbinder+watch-test-runner_chromium.org, haraken, jam, jochen+watch_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, ortuno+watch_chromium.org, Peter Beverloo, scheib+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Require frame to be connected for writValue to succeed. If frame is not connected or disconnects during a writeValue request we reject the writeValue promise with NetworkError. BUG=608538 Committed: https://crrev.com/d7ea1be86b592dbbfa1fe83bfcc5709a1b526b42 Cr-Commit-Position: refs/heads/master@{#428637}

Patch Set 1 #

Patch Set 2 : Fix documentation #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -40 lines) Patch
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc View 4 chunks +30 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/readValue/gen-gatt-op-device-reconnects-during-error.html View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/readValue/gen-gatt-op-device-reconnects-during-success.html View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/readValue/gen-gatt-op-reconnect-during-error.html View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/readValue/gen-gatt-op-reconnect-during-success.html View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-disconnects-before.js View 1 chunk +1 line, -1 line 2 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-disconnects-during-error.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-disconnects-during-success.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-reconnects-during-error.js View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-reconnects-during-success.js View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-disconnect-called-before.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-disconnect-called-during-error.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-disconnect-called-during-success.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-reconnect-during-error.js View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-reconnect-during-success.js View 2 chunks +2 lines, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-device-disconnects-before.html View 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-device-disconnects-during-error.html View 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-device-disconnects-during-success.html View 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-device-reconnects-during-error.html View 2 chunks +3 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-device-reconnects-during-success.html View 2 chunks +3 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-disconnect-called-before.html View 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-disconnect-called-during-error.html View 2 chunks +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-disconnect-called-during-success.html View 2 chunks +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-reconnect-during-error.html View 2 chunks +3 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-reconnect-during-success.html View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/resources/bluetooth/bluetooth-helpers.js View 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp View 2 chunks +30 lines, -4 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 17 (8 generated)
ortuno
jyasskin: PTAL
4 years, 2 months ago (2016-10-24 04:12:04 UTC) #6
ortuno
scheib: PTAL
4 years, 2 months ago (2016-10-24 05:30:54 UTC) #8
scheib
Sorry, still in progress, some previous code feedback. https://codereview.chromium.org/2445633002/diff/20001/third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-disconnects-before.js File third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-disconnects-before.js (right): https://codereview.chromium.org/2445633002/diff/20001/third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-disconnects-before.js#newcode1 third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-disconnects-before.js:1: 'use ...
4 years, 1 month ago (2016-10-24 23:58:14 UTC) #9
ortuno
https://codereview.chromium.org/2445633002/diff/20001/third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-disconnects-before.js File third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-disconnects-before.js (right): https://codereview.chromium.org/2445633002/diff/20001/third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-disconnects-before.js#newcode1 third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-disconnects-before.js:1: 'use strict'; On 2016/10/24 at 23:58:14, scheib wrote: > ...
4 years, 1 month ago (2016-10-25 01:56:06 UTC) #10
ortuno
ping?
4 years, 1 month ago (2016-10-26 22:45:42 UTC) #11
scheib
LGTM
4 years, 1 month ago (2016-10-28 21:18:24 UTC) #12
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/2445633002/20001
4 years, 1 month ago (2016-10-30 21:47:25 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-31 00:42:33 UTC) #15
commit-bot: I haz the power
4 years, 1 month ago (2016-10-31 00:44:38 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d7ea1be86b592dbbfa1fe83bfcc5709a1b526b42
Cr-Commit-Position: refs/heads/master@{#428637}

Powered by Google App Engine
This is Rietveld 408576698