servo/tests/wpt/web-platform-tests/gamepad/idlharness.window.js

17 lines
323 B
JavaScript

// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// https://w3c.github.io/gamepad/
'use strict';
idl_test(
['gamepad'],
['dom', 'html'],
idl_array => {
idl_array.add_objects({
GamepadEvent: ['new GamepadEvent("gamepad")'],
Navigator: ['navigator']
});
}
);