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

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

'use strict';

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