Update web-platform-tests to revision a3a4442b04c37155f81c4ad4ae9c06339f76ce14

This commit is contained in:
WPT Sync Bot 2019-09-19 10:23:35 +00:00
parent 7b653cad7b
commit ba0f5f096a
204 changed files with 4645 additions and 1001 deletions

View file

@ -5,9 +5,25 @@
<link rel="help" href="https://wicg.github.io/geolocation-sensor/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/generic-sensor/resources/generic-sensor-helpers.js"></script>
<script src="/generic-sensor/generic-sensor-tests.js"></script>
<script>
runGenericSensorTests('GeolocationSensor');
'use strict';
const kReadings = {
readings: [
[1.12345, 2.12345, 3.12345, 0.95, 0.96, 4.12345, 5.123]
],
expectedReadings: [
[1.12345, 2.12345, 3.12345, 0.95, 0.96, 4.12345, 5.123]
]
};
runGenericSensorTests(
'GeolocationSensor',
kReadings,
verifyXyzSensorReading,
['geolocation']);
</script>