Re: [sensors] Introduce WebDriver extension API

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