mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision a3a4442b04c37155f81c4ad4ae9c06339f76ce14
This commit is contained in:
parent
7b653cad7b
commit
ba0f5f096a
204 changed files with 4645 additions and 1001 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue