summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/orientation-sensor/RelativeOrientationSensor.https.html
blob: 499e7df8ceac2408092972bcaa2f4c4b14a0bf82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<meta charset="utf-8">
<title>OrientationSensor Test</title>
<meta name="timeout" content="long">
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://w3c.github.io/orientation-sensor/">
<link rel="help" href="https://w3c.github.io/sensors/">
<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 src="/orientation-sensor/orientation-sensor-tests.js"></script>
<script>

runGenericSensorTests(
    'RelativeOrientationSensor',
    kReadings,
    verifyQuatSensorReading,
    ['accelerometer', 'gyroscope']);

runOrientationSensorTests('RelativeOrientationSensor');

</script>