- From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
- Date: Tue, 02 Feb 2016 00:42:06 +0000
- To: public-web-bluetooth-log@w3.org
jyasskin has just submitted a new pull request for https://github.com/WebBluetoothCG/web-bluetooth: == Enforce that the current realm is connected while running GATT procedures. == This change makes it so that a disconnect() call takes effect immediately and prevents any subsequent changes to member variables from a returning GATT procedure, even if the GATT procedure started before the disconnection. It also forces all active requests to fail with a NetworkError so that no remnants of the connection keep running after it's terminated. This reverses the readValue() promise and event order from #175, in order to avoid needing to perform a microtask checkpoint inside the algorithm. Fixes #114 and #171. Preview at https://rawgit.com/jyasskin/web-bluetooth-1/enforce-connectedness/index.html. See https://github.com/WebBluetoothCG/web-bluetooth/pull/209
Received on Tuesday, 2 February 2016 00:42:11 UTC