New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 638721 link

Starred by 5 users

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome
Pri: 3
Type: Feature

Blocking:
issue 589228
issue 657938


Participants' hotlists:
USB


Sign in to add a comment

Support USB and Bluetooth in the Permissions API

Project Member Reported by reillyg@chromium.org, Aug 17 2016

Issue description

Tracking bug for refactoring and implementation work necessary to implement support for the chooser-style permissions used for WebUSB and Web Bluetooth in the Permissions API.

 
Cc: benwells@chromium.org raymes@chromium.org
Project Member

Comment 2 by bugdroid1@chromium.org, Oct 4 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8

commit dc5d9051abbe865c3d97f75f6e64c0f04a7492a8
Author: reillyg <reillyg@chromium.org>
Date: Tue Oct 04 10:43:31 2016

Add PermissionDescriptor to the permissions Mojo interface.

A permission descriptor is a structure describing a permission that an
origin may request. Most permissions are only identified by their names
but some have additional parameters. For example, a Bluetooth device
permission may include the MAC address of the device (or other unique
identifier) so that the permission applies to only the device selected
by the user through some sort of chooser interface.

BUG=638721

Review-Url: https://codereview.chromium.org/2255933002
Cr-Commit-Position: refs/heads/master@{#422744}

[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/content/browser/permissions/permission_service_impl.cc
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/content/browser/permissions/permission_service_impl.h
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/content/renderer/media/media_permission_dispatcher.cc
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/geolocation-mock.js
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/geolocation/DEPS
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/geolocation/Geolocation.cpp
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/notifications/NotificationManager.cpp
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/permissions/BUILD.gn
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/permissions/PermissionStatus.cpp
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/permissions/PermissionStatus.h
[add] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/permissions/PermissionUtils.cpp
[add] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/permissions/PermissionUtils.h
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/permissions/Permissions.cpp
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/permissions/Permissions.h
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/quota/StorageManager.cpp
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/webmidi/DEPS
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/webmidi/MIDIAccessInitializer.cpp
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/Source/modules/webmidi/MIDIAccessInitializer.h
[modify] https://crrev.com/dc5d9051abbe865c3d97f75f6e64c0f04a7492a8/third_party/WebKit/public/platform/modules/permissions/permission.mojom

Comment 3 by scheib@chromium.org, Oct 17 2016

Labels: Type-Feature

Comment 4 by scheib@chromium.org, Oct 20 2016

Blocking: 657938

Comment 5 by scheib@chromium.org, Oct 20 2016

Blocking: 589228
I was looking on making a web app that connects to multiple bluetooth heart rate monitors. Currently it is not possible to make it connect automatically (am I wrong?). With the function specified here: https://webbluetoothcg.github.io/web-bluetooth/#bluetoothdevice it should be possible but it is not yet implemented in chrome. I would like to know if it will be available any time soon.

Sign in to add a comment