idlharness.https.window.js (463B)
1 // META: script=/resources/WebIDLParser.js 2 // META: script=/resources/idlharness.js 3 // META: timeout=long 4 5 // https://w3c.github.io/deviceorientation/spec-source-orientation.html 6 7 'use strict'; 8 9 idl_test( 10 ['orientation-event'], 11 ['html', 'dom'], 12 idl_array => { 13 idl_array.add_objects({ 14 Window: ['window'], 15 DeviceOrientationEvent: ['new DeviceOrientationEvent("foo")'], 16 DeviceMotionEvent: ['new DeviceMotionEvent("foo")'], 17 }); 18 } 19 );