blob: 55cfed9276b480d7f70c616fa8d815f6ec925d66 [file] [edit]
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// https://w3c.github.io/deviceorientation/spec-source-orientation.html
'use strict';
idl_test(
['orientation-event'],
['html', 'dom'],
idl_array => {
idl_array.add_objects({
Window: ['window'],
DeviceOrientationEvent: ['new DeviceOrientationEvent("foo")'],
DeviceMotionEvent: ['new DeviceMotionEvent("foo")'],
});
}
);