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