- From: Philip Jägenstedt via GitHub <sysbot+gh@w3.org>
- Date: Mon, 27 Aug 2018 12:59:33 +0000
- To: public-device-apis-log@w3.org
Since [`Sensor`](https://w3c.github.io/sensors/#the-sensor-interface) doesn't have a constructor it won't be possible to perfectly mock the API for a web developer, but I believe it will be possible to mock out sensors well enough to run any tests that are verifying the behavior of a web app as opposed to the browser itself. Whenever possible I think it'd be good to serve the testing needs of web developers with WebDriver as well, but this is a case where doing so would add significant complexity. So, my inclination would be to not tackle that unless requests from real web developers attempting to use the existing API come in. -- GitHub Notification of comment by foolip Please view or discuss this issue at https://github.com/w3c/sensors/issues/371#issuecomment-416218119 using your GitHub account
Received on Monday, 27 August 2018 12:59:35 UTC