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

// https://w3c.github.io/magnetometer/

'use strict';

idl_test(
  ['magnetometer'],
  ['generic-sensor', 'dom'],
  idl_array => {
    idl_array.add_objects({
      Magnetometer: ['new Magnetometer();'],
      UncalibratedMagnetometer: ['new UncalibratedMagnetometer();']
    });
  }
);