idlharness.window.js (345B)
1 // META: script=/resources/WebIDLParser.js 2 // META: script=/resources/idlharness.js 3 // META: timeout=long 4 5 // https://w3c.github.io/gamepad/ 6 7 'use strict'; 8 9 idl_test( 10 ['gamepad'], 11 ['html', 'dom'], 12 idl_array => { 13 idl_array.add_objects({ 14 GamepadEvent: ['new GamepadEvent("gamepad")'], 15 Navigator: ['navigator'] 16 }); 17 } 18 );