https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 3c59b280a828fa52ee3848a31803bf6c7a886568 authored by Marcos Cáceres on 28 November 2018, 06:20:37 UTC
Match spec + clean up
Tip revision: 3c59b28
idlharness.window.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

'use strict';

idl_test(
  ['uievents'],
  ['dom'],
  idl_array => {
    idl_array.add_objects({
      FocusEvent: ['new FocusEvent("event")'],
      MouseEvent: ['new MouseEvent("event")'],
      WheelEvent: ['new WheelEvent("event")'],
      KeyboardEvent: ['new KeyboardEvent("event")'],
      CompositionEvent: ['new CompositionEvent("event")'],
      UIEvent: ['new UIEvent("event")'],
      InputEvent: ['new InputEvent("event")'],
    });
  }
);
back to top