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

Issue 1859463002: bluetooth: Remove disconnect when page hidden (Closed)

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

Description

bluetooth: Remove disconnect when page hidden Also removes the permission check when disconnecting. This stops the renderer crashing when the renderer tries to disconnect a device after a test has finished and the browser state has been cleared. BUG=554240, 600014, 579746 Committed: https://crrev.com/47e15c538f5c24300e6a02bd71016ba70ae5a0a3 Cr-Commit-Position: refs/heads/master@{#384989}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address jyasskin's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -169 lines) Patch
M content/browser/bluetooth/bluetooth_dispatcher_host.cc View 1 1 chunk +5 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/connect.html View 1 chunk +0 lines, -28 lines 0 comments Download
D third_party/WebKit/LayoutTests/bluetooth/disconnect-when-hidden-or-closed.html View 1 chunk +0 lines, -79 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/resources/bluetooth-helpers.js View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h View 4 chunks +1 line, -12 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp View 4 chunks +1 line, -13 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp View 4 chunks +1 line, -25 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1859463002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1859463002/1
4 years, 8 months ago (2016-04-04 14:34:45 UTC) #2
ortuno
jyasskin: PTAL
4 years, 8 months ago (2016-04-04 15:12:08 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-04 16:30:19 UTC) #6
Jeffrey Yasskin
lgtm https://codereview.chromium.org/1859463002/diff/1/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (left): https://codereview.chromium.org/1859463002/diff/1/content/browser/bluetooth/bluetooth_dispatcher_host.cc#oldcode704 content/browser/bluetooth/bluetooth_dispatcher_host.cc:704: // Make sure the origin is allowed to ...
4 years, 8 months ago (2016-04-04 17:06:39 UTC) #8
ortuno
Thanks! https://codereview.chromium.org/1859463002/diff/1/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (left): https://codereview.chromium.org/1859463002/diff/1/content/browser/bluetooth/bluetooth_dispatcher_host.cc#oldcode704 content/browser/bluetooth/bluetooth_dispatcher_host.cc:704: // Make sure the origin is allowed to ...
4 years, 8 months ago (2016-04-04 18:04:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1859463002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1859463002/20001
4 years, 8 months ago (2016-04-04 18:04:50 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-04 20:18:30 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/47e15c538f5c24300e6a02bd71016ba70ae5a0a3 Cr-Commit-Position: refs/heads/master@{#384989}
4 years, 8 months ago (2016-04-04 20:19:56 UTC) #16
haraken
4 years, 8 months ago (2016-04-05 00:01:31 UTC) #17
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698