summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/orientation-sensor/idlharness.https.window.js
blob: 86f277487a6e8166d04803b6d4769e0a29320c84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

// https://w3c.github.io/orientation-sensor/">

'use strict';

idl_test(
  ['orientation-sensor'],
  ['generic-sensor', 'dom'],
  idl_array => {
    idl_array.add_objects({
      AbsoluteOrientationSensor: ['new AbsoluteOrientationSensor();'],
      RelativeOrientationSensor: ['new RelativeOrientationSensor();']
    });
    idl_array.prevent_multiple_testing('OrientationSensor');
  }
);