forked from mirrors/gecko-dev
Automatic update from web-platform-tests Fix failing touch-event tests. The idl tests were failing because the definition order was wrong. Change-Id: Iac210d6c0b211c49a78749c8dfd2a94be76c9a45 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2110078 Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org> Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/master@{#751779} -- wpt-commits: d154c9ec965214293d679640834e70ec2fd915dc wpt-pr: 22337
19 lines
468 B
JavaScript
19 lines
468 B
JavaScript
// 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")'],
|
|
});
|
|
}
|
|
);
|