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

Issue 2080553002: bluetooth: Enable Web Bluetooth in Origin Trials (Closed)

Created:
4 years, 6 months ago by ortuno
Modified:
4 years, 5 months ago
CC:
blink-reviews, chromium-reviews, haraken, kinuko+watch, ortuno+watch_chromium.org, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@my-origin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Enable Web Bluetooth in Origin Trials This enables Web Bluetooth through experimental frameworks in supported platforms. Intent to Experiment: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/coyvHj1u2Z8 TEST=Manual testing required: Launch chrome and perform the following tests: On Chrome OS, Android and macOS devices: 1. Visit: https://g-ortuno.github.io/web-bluetooth-sandbox/allowed.html 2. Press the "Run Test" button. 3. "Web Bluetooth bindings" should be "Present" 4. "Use Web Bluetooth" should be "Bluetooth Works". 1. Visit: https://g-ortuno.github.io/web-bluetooth-sandbox/not-allowed.html 2. Press the "Run Test" button. 3. "Web Bluetooth bindings" should be "Not Present" 4. "Use Web Bluetooth" should be "Bluetooth Unavailable". On Linux and Windows devices: 1. Visit: https://g-ortuno.github.io/web-bluetooth-sandbox/allowed.html 2. Press the "Run Test" button. 3. "Web Bluetooth bindings" should be "Present" 4. "Use Web Bluetooth" should be "Bluetooth blocked". 1. Visit: https://g-ortuno.github.io/web-bluetooth-sandbox/not-allowed.html 2. Press the "Run Test" button. 3. "Web Bluetooth bindings" should be "Not Present" 4. "Use Web Bluetooth" should be "Bluetooth Unavailable". Launch Chrome with the following command line flags: --enable-web-bluetooth On Chrome OS, Android, Linux, OSX, and Windows devices: 1. Visit: https://g-ortuno.github.io/web-bluetooth-sandbox/allowed.html 2. Press the "Run Test" button. 3. "Web Bluetooth bindings" should be "Present" 4. "Use Web Bluetooth" should be "Bluetooth Works". On Chrome OS, Android, Linux, OSX, and Windows devices: 1. Visit: https://g-ortuno.github.io/web-bluetooth-sandbox/not-allowed.html 2. Press the "Run Test" button. 3. "Web Bluetooth bindings" should be "Present" 4. "Use Web Bluetooth" should be "Bluetooth Works". BUG=584113 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/1b1ccbb74c918f7c3b52a9b41db67873788136d2 Cr-Commit-Position: refs/heads/master@{#402575}

Patch Set 1 #

Patch Set 2 : Fix tests #

Patch Set 3 : Fix V8BindingForModules #

Patch Set 4 : Enable on macOS #

Patch Set 5 : Fix window interfaces #

Patch Set 6 : Fix test #

Total comments: 6

Patch Set 7 : Fix comment #

Patch Set 8 : Add back comment #

Patch Set 9 : Rebase and fix bindings #

Total comments: 4

Patch Set 10 : Change to MacOS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -17 lines) Patch
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/Bluetooth.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothCharacteristicProperties.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothUUID.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.idl View 1 2 3 4 5 6 7 1 chunk +2 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 45 (20 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/2080553002/100001
4 years, 6 months ago (2016-06-23 21:38:25 UTC) #6
ortuno
scheib: PTAL
4 years, 6 months ago (2016-06-23 22:45:50 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/251657)
4 years, 6 months ago (2016-06-24 00:28:34 UTC) #10
haraken
bindings/ LGTM. It would be great if we could auto-generate the installation code but that ...
4 years, 6 months ago (2016-06-24 00:57:49 UTC) #12
iclelland
LGTM, just a couple of comment nits. Thanks! haraken -- totally agree that this needs ...
4 years, 6 months ago (2016-06-24 03:37:23 UTC) #13
ortuno
https://codereview.chromium.org/2080553002/diff/100001/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp File third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp (right): https://codereview.chromium.org/2080553002/diff/100001/third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp#newcode579 third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp:579: originTrialContext->setFeatureBindingsInstalled("WebBluetooth"); On 2016/06/24 at 03:37:23, iclelland wrote: > Just ...
4 years, 6 months ago (2016-06-24 16:01:31 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2080553002/120001
4 years, 6 months ago (2016-06-24 16:02:40 UTC) #16
ortuno
haraken, iclelland: I rebased and updated the bindings code, PTAL.
4 years, 6 months ago (2016-06-24 18:30:47 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2080553002/160001
4 years, 6 months ago (2016-06-24 18:32:02 UTC) #19
iclelland
LGTM, thanks! https://codereview.chromium.org/2080553002/diff/160001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp File third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp (right): https://codereview.chromium.org/2080553002/diff/160001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp#newcode136 third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp:136: // origin trial token. Since we only ...
4 years, 6 months ago (2016-06-24 18:36:32 UTC) #20
ortuno
https://codereview.chromium.org/2080553002/diff/160001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp File third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp (right): https://codereview.chromium.org/2080553002/diff/160001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp#newcode136 third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp:136: // origin trial token. Since we only support Chrome ...
4 years, 6 months ago (2016-06-24 19:16:33 UTC) #21
iclelland
https://codereview.chromium.org/2080553002/diff/160001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp File third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp (right): https://codereview.chromium.org/2080553002/diff/160001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp#newcode136 third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp:136: // origin trial token. Since we only support Chrome ...
4 years, 6 months ago (2016-06-24 19:46:36 UTC) #22
ortuno
Oops. Seems like I forgot to send drafts :) Thanks! https://codereview.chromium.org/2080553002/diff/160001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp File third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp (right): https://codereview.chromium.org/2080553002/diff/160001/third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp#newcode136 ...
4 years, 5 months ago (2016-06-27 20:22:42 UTC) #23
scheib
LGTM
4 years, 5 months ago (2016-06-28 19:47:42 UTC) #25
ortuno
Thanks!
4 years, 5 months ago (2016-06-28 19:48:36 UTC) #27
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/2080553002/180001
4 years, 5 months ago (2016-06-28 19:49:36 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/88710) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 5 months ago (2016-06-28 19:56:27 UTC) #31
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/2080553002/180001
4 years, 5 months ago (2016-06-28 20:54:00 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/208848)
4 years, 5 months ago (2016-06-28 21:10:04 UTC) #35
ortuno
alexmos: PTAL at content/b/f/render_frame_host_impl.cc
4 years, 5 months ago (2016-06-28 21:21:06 UTC) #37
alexmos
render_frame_host_impl.cc LGTM
4 years, 5 months ago (2016-06-28 21:25:41 UTC) #38
ortuno
wow that was fast! Thanks!
4 years, 5 months ago (2016-06-28 21:33:00 UTC) #40
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/2080553002/180001
4 years, 5 months ago (2016-06-28 21:34:39 UTC) #41
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 5 months ago (2016-06-28 22:39:11 UTC) #43
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 22:41:40 UTC) #45
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/1b1ccbb74c918f7c3b52a9b41db67873788136d2
Cr-Commit-Position: refs/heads/master@{#402575}

Powered by Google App Engine
This is Rietveld 408576698