[web-bluetooth] Pull Request: Start a specification for test-only APIs used in the Web Bluetooth tests.

jyasskin has just submitted a new pull request for 
https://github.com/WebBluetoothCG/web-bluetooth:

== Start a specification for test-only APIs used in the Web Bluetooth 
tests. ==
This matches the current Chromium test APIs (eventSender.keyDown and
testRunner.setBluetoothMockDataSet()) except:
* FailingConnectionsAdapter is omitted because the BT standard doesn't
 include
  any portable error codes.
* FailingGATTOperationsAdapter returns an ATT Error Response 
corresponding to
  its UUID, instead of the Chromium-specific error code used in the 
current
  Chromium tests.

@scheib @g-ortuno, can you double-check that I've matched the Chromium
 test APIs? This PR doesn't include the new interfaces I'm adding in 
https://codereview.chromium.org/1325953002/.

@yrliou @shuangMoz, we'd like your implementation to be able to share 
as many of our tests as possible. Please let us know what of this we 
need to change for it to work for you.

Rendered spec at 
https://rawgit.com/jyasskin/web-bluetooth-1/test-apis/tests/index.html.

See https://github.com/WebBluetoothCG/web-bluetooth/pull/157

Received on Thursday, 3 September 2015 00:53:25 UTC