Add FakeXRDevice::simulateInputSourceConnection()

This commit is contained in:
Manish Goregaokar 2020-01-08 16:38:20 +05:30
parent 7046f543a1
commit 506a0afca3
2 changed files with 76 additions and 3 deletions

View file

@ -21,8 +21,7 @@ interface FakeXRDevice {
// void setBoundsGeometry(sequence<FakeXRBoundsPoint> boundsCoodinates);
// Promise<FakeXRInputController>
// simulateInputSourceConnection(FakeXRInputSourceInit);
[Throws] FakeXRInputController simulateInputSourceConnection(FakeXRInputSourceInit init);
// behaves as if device was disconnected
Promise<void> disconnect();