Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: timeout=long
'use strict';
idl_test(
['orientation-event'],
['html', 'dom'],
idl_array => {
idl_array.add_objects({
Window: ['window'],
DeviceOrientationEvent: ['new DeviceOrientationEvent("foo")'],
DeviceMotionEvent: ['new DeviceMotionEvent("foo")'],
});
}
);