idlharness.window.js (468B)
1 // META: script=/resources/WebIDLParser.js 2 // META: script=/resources/idlharness.js 3 4 // https://w3c.github.io/touch-events/ 5 6 'use strict'; 7 8 idl_test( 9 ['touch-events'], 10 ['uievents', 'html', 'dom'], 11 idl_array => { 12 idl_array.add_objects({ 13 Document: ['document'], 14 GlobalEventHandlers: ['window', 'document', 'document.body'], 15 Touch: ['new Touch({identifier: 1, target: document})'], 16 TouchEvent: ['new TouchEvent("name")'], 17 }); 18 } 19 );