Descriptionbluetooth: 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 #Messages
Total messages: 45 (20 generated)
|