summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/gamepad/idlharness.https.window.js
blob: b15bf1f0aef3860ed836482ff7f83dfb2dbe4053 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: timeout=long

// https://w3c.github.io/gamepad/

'use strict';

idl_test(
  ['gamepad'],
  ['html', 'dom'],
  idl_array => {
    idl_array.add_objects({
      GamepadEvent: ['new GamepadEvent("gamepad")'],
      Navigator: ['navigator']
    });
  }
);