commit | a49836d0f1f94dc869ea8005fea24f8916d58869 | [log] [tgz] |
---|---|---|
author | ortuno <ortuno@chromium.org> | Thu Apr 07 18:26:45 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Apr 07 18:28:16 2016 |
tree | 786f7249614ab35de8feca7fd5fbc25576a1a312 | |
parent | 020724648afbe96209a16e81e208b4114ef0303a [diff] |
bluetooth: Enable Web Bluetooth on experimental framework 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 Adds the OriginTrialEnabled extended binding so that the bindings are visible to domains that have valid EF tokens. Also adds WebBluetooth to frames and BluetoothDispatcherHost to processes' filters for supported platforms. TEST=Manual testing required: Launch chrome and perform the following tests: 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. 3. "Web Bluetooth bindings" should be "Present" and "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 "Present" and "Use Web Bluetooth" should be "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. 3. "Web Bluetooth bindings" should be "Present" and "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 "Present" and "Use Web Bluetooth" should be "Bluetooth Unavailable". Launch Chrome with the following command line flag: --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. 3. "Web Bluetooth bindings" should be "Present" and "Use Web Bluetooth" should be "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. 3. "Web Bluetooth bindings" should be "Present" and "Use Web Bluetooth" should be "Bluetooth Works". BUG=584113 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Review URL: https://codereview.chromium.org/1858293002 Cr-Commit-Position: refs/heads/master@{#385814}