https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 7d92dbd58ac296da6fb2e24d9c9758775e873088 authored by Mike West on 06 December 2018, 10:19:53 UTC
Trusted Types: URLs should be USVString, not DOMString.
Tip revision: 7d92dbd
idlharness.window.js
// 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']
    });
  }
);
back to top