Revision c597cee7678a37f623dace0cd03d652b992daa36 authored by Robert Ma on 23 July 2018, 20:28:35 UTC, committed by Robert Ma on 23 July 2018, 20:46:03 UTC
This reverts commit c8f456094ec0b31d11e1601082d2f76268e75ce4.
1 parent c8f4560
Raw File
idlharness.window.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

// https://w3c.github.io/touch-events/

'use strict';

idl_test(
  ['touch-events'],
  ['uievents', 'dom', 'html'],
  idl_array => {
    idl_array.add_objects({
      Document: ['document'],
      GlobalEventHandlers: ['window', 'document', 'document.body'],
      Touch: ['new Touch({identifier: 1, target: document})'],
      TouchEvent: ['new TouchEvent("name")'],
    });
  },
  'Test IDL implementation of touch-events API'
);
back to top