bluetooth: Reverse the order of the readValue promise resolution and the characteristicvaluechanged event |
||
Issue descriptionhttps://github.com/WebBluetoothCG/web-bluetooth/pull/209 reversed the order of the event and promise resolution.
,
Nov 24 2016
Things to do: 1. Call function immediately instead of posting a task on browser side[1] 2. Call function immediately instead of posting a task on renderer side[2] 3. Fix layout tests[3] [1] https://cs.chromium.org/chromium/src/content/browser/bluetooth/web_bluetooth_service_impl.cc?q=f:web_bluetooth_service_impl&sq=package:chromium&dr&l=297 [2] https://cs.chromium.org/chromium/src/content/renderer/bluetooth/web_bluetooth_impl.cc?q=web_bluetooth_impl&sq=package:chromium&dr=C&l=175 [3] https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/bluetooth/readValue/event-is-fired.html?l=15
,
Apr 3 2017
This was done in http://crrev.com/2565913002 but there is currently no test for it. That is being tracked at Issue 697698 |
||
►
Sign in to add a comment |
||
Comment 1 by scheib@chromium.org
, Apr 16 2016