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

Issue 1917313002: bluetooth: Move Web Bluetooth from OriginTrialEnabled to RuntimeEnabled. (Closed)

Created:
4 years, 8 months ago by scheib
Modified:
4 years, 7 months ago
Reviewers:
ortuno, dglazkov
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@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Move Web Bluetooth from OriginTrialEnabled to RuntimeEnabled. BUG=605326, 584113 TEST=To verify: Check the following with chrome launched with command line flag: --enable-blink-features=ExperimentalFramework On a Chrome OS device and an Android device: 1. Visit: https://g-ortuno.github.io/web-bluetooth-sandbox/allowed.html 2. Press the "Run Test" button. Expect: Web Bluetooth bindings Not Present Use Web Bluetooth Bluetooth Unavailable 1. Visit: https://g-ortuno.github.io/web-bluetooth-sandbox/not-allowed.html 2. Press the "Run Test" button. Expect: Web Bluetooth bindings Not Present Use Web Bluetooth Bluetooth Unavailable On a Linux, OSX and Windows devices: 1. Visit: https://g-ortuno.github.io/web-bluetooth-sandbox/allowed.html 2. Press the "Run Test" button. Expect: Web Bluetooth bindings Not Present Use Web Bluetooth Bluetooth Unavailable 1. Visit: https://g-ortuno.github.io/web-bluetooth-sandbox/not-allowed.html 2. Press the "Run Test" button. Expect: Web Bluetooth bindings Not Present Use Web Bluetooth Bluetooth Unavailable Check the following with chrome launched with command line flags: --enable-blink-features=ExperimentalFramework --enable-web-bluetooth On a 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. Expect: Web Bluetooth bindings Present Use Web Bluetooth Bluetooth Works On a 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. Expect: Web Bluetooth bindings Present Use Web Bluetooth Bluetooth Works Committed: https://crrev.com/865f2de76200b7bf8362d4bd6ee9b7de2de3058e Cr-Commit-Position: refs/heads/master@{#390198}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix up NavigatorBluetooth.idl #

Total comments: 2

Patch Set 3 : Remove commented out code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -38 lines) Patch
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt View 3 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/Bluetooth.cpp View 1 2 1 chunk +0 lines, -11 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/BluetoothAdvertisingData.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 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 1 chunk +1 line, -7 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
scheib
4 years, 8 months ago (2016-04-26 23:15:31 UTC) #3
ortuno
lgtm with one question. https://codereview.chromium.org/1917313002/diff/1/third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.idl File third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.idl (right): https://codereview.chromium.org/1917313002/diff/1/third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.idl#newcode15 third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.idl:15: // RuntimeEnabled=WebBluetooth This should be ...
4 years, 8 months ago (2016-04-26 23:36:44 UTC) #4
scheib
Thanks. dglazkov, OWNERS: LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt Source/platform/RuntimeEnabledFeatures.in Source/web/WebLocalFrameImpl.cpp https://codereview.chromium.org/1917313002/diff/1/third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.idl File third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.idl (right): https://codereview.chromium.org/1917313002/diff/1/third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.idl#newcode15 third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.idl:15: // RuntimeEnabled=WebBluetooth On ...
4 years, 8 months ago (2016-04-27 00:43:55 UTC) #6
dglazkov
lgtm https://codereview.chromium.org/1917313002/diff/20001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/1917313002/diff/20001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1482 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1482: // enableWebBluetooth = true; Could we remove the ...
4 years, 8 months ago (2016-04-27 03:59:08 UTC) #7
scheib
Thanks
4 years, 8 months ago (2016-04-27 04:13:07 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1917313002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1917313002/40001
4 years, 8 months ago (2016-04-27 04:13:17 UTC) #12
scheib
https://codereview.chromium.org/1917313002/diff/20001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/1917313002/diff/20001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1482 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1482: // enableWebBluetooth = true; On 2016/04/27 03:59:08, dglazkov wrote: ...
4 years, 8 months ago (2016-04-27 04:13:34 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/128428) chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 8 months ago (2016-04-27 04:22:33 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1917313002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1917313002/40001
4 years, 8 months ago (2016-04-27 04:33:26 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/128375)
4 years, 8 months ago (2016-04-27 04:51:59 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1917313002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1917313002/40001
4 years, 7 months ago (2016-04-27 20:28:49 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-27 21:39:50 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:13:28 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/865f2de76200b7bf8362d4bd6ee9b7de2de3058e
Cr-Commit-Position: refs/heads/master@{#390198}

Powered by Google App Engine
This is Rietveld 408576698