https://github.com/web-platform-tests/wpt
Raw File
Tip revision: c952312a927eb56c33bf72d2062c6986cac96ff0 authored by Darwin Huang on 26 December 2018, 21:55:09 UTC
Async Clipboard Refactor: Update tests to use arrow functions
Tip revision: c952312
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