W3C home > Mailing lists > Public > public-device-apis-log@w3.org > September 2018

Re: [sensors] Introduce WebDriver extension API

From: Raphael Kubo da Costa via GitHub <sysbot+gh@w3.org>
Date: Mon, 10 Sep 2018 15:15:41 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-419950172-1536592538-sysbot+gh@w3.org>
I've got more questions than review comments at this stage -- I'm essentially trying to figure out how this is supposed to work with WPT and Chromium's testing infrastructure.

Right now we follow the Web Bluetooth and Web USB approach and mock the sensor infrastructure with mojo in the tests. How does this WebDriver protocol extension change what we're doing? Is the idea to, instead of initializing the mojo mock stuff before running the tests, use WebDriver to signal that we want some sensor types to be mocks when we do e.g. `new Accelerometer`?

-- 
GitHub Notification of comment by rakuco
Please view or discuss this issue at https://github.com/w3c/sensors/pull/369#issuecomment-419950172 using your GitHub account
Received on Monday, 10 September 2018 15:15:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 10 September 2018 15:15:43 UTC