Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement WebBluetooth in Servo #9392
Comments
|
I am not certain we should accept code for this API. |
|
@Ms2ger Please elaborate. |
|
FYI, we have a team at the University of Szeged who are planning to work on this. We've been collaborating with the Firefox Bluetooth team on which spec(s) to implement, how to hook up to the underlying bluetooth libraries, etc. |
|
Yes, we will constantly update our progress. And there will be a link to our branch soon. |
|
We will use this repository: https://github.com/szeged/servo |
|
Should this be marked as assigned then? |
|
@Jayflux Generally it's less important to mark issues that aren't in the categories with high-visibility (and/or surfaced by tools like http://servo.github.io/servo-starters/). |
|
Given that this api is full of promises, I'm somewhat confused how that's going to be dealt with. |
|
@Ms2ger This work depends on https://bugzilla.mozilla.org/show_bug.cgi?id=911216 landing and then picking up an smup. We are coordinating with the people working on that :-) |
|
A quick update: The low level bluetooth api code can be found here: https://github.com/servo/devices Currently working on the middle layer (ipc_channel) communication which will connect the two: https://github.com/szeged/servo/tree/bluetooth-ipc |
|
Note that #10081 will make this feature not web-visible by default and will require passing a commandline argument to enable it. |
|
dati91: I don't think it's necessarily a blocker. Chromium doesn't implement it yet either so we just use an array. |
|
NEWS AT 11: WAS DONE MONTHS AGO YAY |
The WebBluetooth API ( https://webbluetoothcg.github.io/web-bluetooth/ ) is currently missing,
so I started working on it. It is very experimental, but the chromium folks already working on it as well.
The current implementation status of WebBluetooth can be found here: https://github.com/WebBluetoothCG/web-bluetooth/blob/gh-pages/implementation-status.md
( Servo is not listed yet. )
The first blocker issue is #4282 (missing the Promise)