Automatic update from web-platform-testsUpdate references to w3c/web-platform-tests (#11180) Part of https://bit.ly/wpt-transition. Command used: ``` git grep -l w3c/web-platform-tests | \ xargs sed -i 's#w3c/web-platform-tests#web-platform-tests/wpt#g' ``` -- wpt-commits: a9498d169682da2df1b10b45e28df114483ccb12 wpt-pr: 11180
The generic-sensor-tests.js tests require an implementation of
the GenericSensorTest interface, which should emulate platform
sensor backends. The GenericSensorTest interface is defined as:
class GenericSensorTest {
async initialize(); // Sets up the testing enviroment.
async reset(); // Frees the resources.
};
The Chromium implementation of the GenericSensorTest interface is located in
generic_sensor_mocks.js.
Other browser vendors should provide their own implementations of
the GenericSensorTest interface.
Known issue: a WebDriver extension is a better approach for the Generic Sensor tests automation.