idlharness.https.window.js (475B)
1 // META: script=/resources/WebIDLParser.js 2 // META: script=/resources/idlharness.js 3 4 // https://w3c.github.io/orientation-sensor/"> 5 6 'use strict'; 7 8 idl_test( 9 ['orientation-sensor'], 10 ['generic-sensor', 'dom'], 11 idl_array => { 12 idl_array.add_objects({ 13 AbsoluteOrientationSensor: ['new AbsoluteOrientationSensor();'], 14 RelativeOrientationSensor: ['new RelativeOrientationSensor();'] 15 }); 16 idl_array.prevent_multiple_testing('OrientationSensor'); 17 } 18 );