https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 571391302e8d9c3aa67bbea268e1b3cdb47248f3 authored by James Graham on 11 December 2018, 15:25:47 UTC
Fix use of wpt settings in firefox Browser
Tip revision: 5713913
idlharness.https.window.js
// 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');
  }
);
back to top